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:
Roger Clark 2014-10-31 20:22:48 +11:00
parent 7db1b1f080
commit 5a2a1d1f31
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -40,7 +40,6 @@
*/
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <avr/pgmspace.h>
#include <avr/interrupt.h>