diff --git a/Makefile b/Makefile index 895fca62..fd620f0c 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # Compiler options here. ifeq ($(USE_OPT),) USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -std=gnu99 - USE_OPT += -DSTM32F40_41xxx + USE_OPT += -DSTM32F40_41xxx -DBOARD_OTG_NOVBUSSENS endif # C specific options here (added to USE_OPT). diff --git a/build/BLDC_4_ChibiOS.bin b/build/BLDC_4_ChibiOS.bin index 2fca1ba9..e7f4b8fe 100755 Binary files a/build/BLDC_4_ChibiOS.bin and b/build/BLDC_4_ChibiOS.bin differ diff --git a/main.c b/main.c index 360a8b35..018e005f 100644 --- a/main.c +++ b/main.c @@ -55,6 +55,9 @@ * to * otgp->GCCFG = GCCFG_NOVBUSSENS | GCCFG_PWRDWN; * + * This should be handled automatically with the latest version of + * ChibiOS since I have added an option to the makefile. + * */ // Settings