Re: FYSETC S6 V2 compilation errors #S6


fred1984
 

When generating another configuration "config.h" for onstep 3x version, I will get the following errors:

Arduino: 1.8.15 (Windows 7), Placa:"3D printer boards, FYSETC_S6, STM32CubeProgrammer (DFU), Enabled (generic 'Serial'), CDC (generic 'Serial' supersede U(S)ART), Low/Full Speed, Fastest (-O3), Newlib Nano + Float Printf/Scanf"
 
 
 
In file included from C:\Users\aki\Desktop\OnStep\OnStep\src\pinmaps\Models.h:11,
 
                 from C:\Users\aki\Desktop\OnStep\OnStep\OnStep.ino:61:
 
C:\Users\aki\Desktop\OnStep\OnStep\src\pinmaps\Pins.Mega2560Alt.h:88:2: error: #error "Wrong processor for this configuration!"
 
   88 | #error "Wrong processor for this configuration!"
 
      |  ^~~~~
 
In file included from C:\Users\aki\Desktop\OnStep\OnStep\src\pinmaps\Models.h:32,
 
                 from C:\Users\aki\Desktop\OnStep\OnStep\OnStep.ino:61:
 
C:\Users\aki\Desktop\OnStep\OnStep\src\pinmaps\Pins.MaxESP.h:66:2: error: #error "Wrong processor for this configuration!"
 
   66 | #error "Wrong processor for this configuration!"
 
      |  ^~~~~
 
In file included from C:\Users\aki\Desktop\OnStep\OnStep\OnStep.ino:62:
 
C:\Users\aki\Desktop\OnStep\OnStep\src\HAL\HAL.h:67:4: error: #error "Unsupported Platform! If this is a new platform, it needs the appropriate entries in the HAL directory."
 
   67 |   #error "Unsupported Platform! If this is a new platform, it needs the appropriate entries in the HAL directory."
 
      |    ^~~~~
 
In file included from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:173,
 
                 from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/stm32/stm32_def.h:34,
 
                 from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/stm32/clock.h:43,
 
                 from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/wiring_time.h:23,
 
                 from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/wiring.h:38,
 
                 from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Arduino.h:36,
 
                 from sketch\OnStep.ino.cpp:1:
 
C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f446xx.h:1094:44: error: operator '*' has no right operand
 
 1094 | #define RTC                 ((RTC_TypeDef *) RTC_BASE)
 
      |                                            ^
 
C:\Users\aki\Desktop\OnStep\OnStep\src\pinmaps\Validate.MaxESP.h:41:5: note: in expansion of macro 'RTC'
 
   41 | #if RTC == DS3231
 
      |     ^~~
 
In file included from C:\Users\aki\Desktop\OnStep\OnStep\src\pinmaps\ValidatePins.h:45,
 
                 from C:\Users\aki\Desktop\OnStep\OnStep\Validate.h:828,
 
                 from C:\Users\aki\Desktop\OnStep\OnStep\OnStep.ino:63:
 
C:\Users\aki\Desktop\OnStep\OnStep\src\pinmaps\Validate.MaxESP.h:47:6: error: #error "Configuration (Config.h): PPS_SENSE enabled but Aux0 is already in use, choose one feature on Aux0"
 
   47 |     #error "Configuration (Config.h): PPS_SENSE enabled but Aux0 is already in use, choose one feature on Aux0"
 
      |      ^~~~~
 
In file included from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:173,
 
                 from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/stm32/stm32_def.h:34,
 
                 from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/stm32/clock.h:43,
 
                 from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/wiring_time.h:23,
 
                 from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/wiring.h:38,
 
                 from C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\cores\arduino/Arduino.h:36,
 
                 from sketch\OnStep.ino.cpp:1:
 
C:\Users\aki\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.9.0\system/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f446xx.h:1094:44: error: operator '*' has no right operand
 
 1094 | #define RTC                 ((RTC_TypeDef *) RTC_BASE)
 
      |                                            ^
 
C:\Users\aki\Desktop\OnStep\OnStep\src\pinmaps\ValidatePins.h:131:6: note: in expansion of macro 'RTC'
 
  131 | #if (RTC == DS3234S || RTC == DS3234M) && !defined(DS3234_CS_PIN)
 
      |      ^~~
 
In file included from C:\Users\aki\Desktop\OnStep\OnStep\OnStep.ino:94:
 
C:\Users\aki\Desktop\OnStep\OnStep\src\lib\TLS.h:16:4: error: #error "Configuration (Config.h): Setting TLS GPS, requires adding a line to identify the serial port '#define SerialGPS Serial6' for example."
 
   16 |   #error "Configuration (Config.h): Setting TLS GPS, requires adding a line to identify the serial port '#define SerialGPS Serial6' for example."
 
      |    ^~~~~
 
exit status 1
 
Erro compilando para a placa 3D printer boards
 
 
 

Join main@onstep.groups.io to automatically receive all group messages.