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.
bad news is that now the board no longer makes it initialization sequence when I power on from power supply (and yes i do make sure no to power the board with both the usb reflasher and main power source).
Before it would beep and then the motor would slightly and slowly move back and forth. now nothing. 0A is consumed. looks like the board is dead with
I will be able to look at it today. My suspicion is that the code assumes UART communication enabled by default but v3.2 doesn’t have the UART capable pins exposed.
problem fixed. just did a “git pull”, modified Inc/main.h to declare a 3.2 board. make and make flash. upon power on, the motors makes its initialization sequence. then USB communication seems to work again… let’s go back to the original issue…