Just did a git pull to compile fw 2.1
i observe the following symptom.
if I modified Inc/main.h to use a 3.2 board as indicated in the documentation
#define HW_VERSION_MAJOR 3
#define HW_VERSION_MINOR 2
I have the following error with make
root@MTBD00694:~/ODriveFirmware/Firmware# make Src/stm32f4xx_it.c:316:6: error: redefinition of 'EXTI2_IRQHandler' void EXTI2_IRQHandler(void) ^ In file included from Src/stm32f4xx_it.c:48:0: Src/prev_board_ver/stm32f4xx_it_V3_2.c:126:6: note: previous definition of 'EXTI2_IRQHandler' was here void EXTI2_IRQHandler(void) ^ Makefile:159: recipe for target 'build/stm32f4xx_it.o' failed make: *** [build/stm32f4xx_it.o] Error 1
whereas if i use the default inc/main.h (and then endup with a 3.3 board firmware), no error.
Before doing the git pull this morning (don’t know what previous version i was in, most likely a version in the last few weeks), I observed the same behavior yesterday.
How do I fix this ?