Remove duplicate include of math.h from wirish.h and added redefinition of Serial to Serial1 in boards.txt for Generic STM32 board
This commit is contained in:
parent
7db1b1f080
commit
5a2a1d1f31
|
@ -123,7 +123,7 @@ maple_STM32.upload.auto_reset=true
|
|||
maple_STM32.build.mcu=cortex-m3
|
||||
maple_STM32.build.f_cpu=72000000L
|
||||
maple_STM32.build.core=maple
|
||||
maple_STM32.build.extra_flags=-DMCU_STM32F103CB -mthumb -MD -DSTM32_MEDIUM_DENSITY -march=armv7-m
|
||||
maple_STM32.build.extra_flags=-DMCU_STM32F103CB -mthumb -MD -DSTM32_MEDIUM_DENSITY -march=armv7-m -DSerial=Serial1
|
||||
maple_STM32.build.ldscript=ld/jtag.ld
|
||||
maple_STM32.build.variant=maple_mini
|
||||
maple_STM32.build.variant_system_lib=libmaple.a
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
*/
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <avr/pgmspace.h>
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue