mcci-catena / Arduino_Core_STM32

STM32 core support for Arduino
2 stars 7 forks source link

Warning: no Serial defined #134

Closed terrillmoore closed 4 years ago

terrillmoore commented 4 years ago

Compiling generates a large number of the following warnings:

In file included from C:\Users\tmm\AppData\Local\arduino15\packages\mcci\hardware\stm32\2.6.0\cores\arduino/board.h:21:0,
                 from C:\Users\tmm\AppData\Local\arduino15\packages\mcci\hardware\stm32\2.6.0\cores\arduino/wiring.h:41,
                 from C:\Users\tmm\AppData\Local\arduino15\packages\mcci\hardware\stm32\2.6.0\cores\arduino/Arduino.h:51,
                 from C:\Users\tmm\AppData\Local\arduino15\packages\mcci\hardware\stm32\2.6.0\variants\CATENA_461x\PeripheralPins.c:42:
C:\Users\tmm\AppData\Local\arduino15\packages\mcci\hardware\stm32\2.6.0\cores\arduino/stm32/uart.h:129:2: warning: #warning "No generic 'Serial' defined!" [-Wcpp]
 #warning "No generic 'Serial' defined!"
  ^~~~~~~

This warning is a false positive because the actual scripts (using Serial) work fine.