You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding CFLAGS += -DENABLE_UART2 (or UART1) will break the software as the uartInit functions are called without the baudrate specified which is required for the function call.
Seems as the uart init functions were modified at some point to support baudrate, but the calls in the ifdefs were not.
When fixed, ENABLE_UART1 and ENABLE_UART2 should be added to the .travis.yml file to avoid similar problems in the future.
I guess the default of UART1 is 9600 (available in uart1.h) and I would propose uart2 to be 115200 by default (It is the roadrunner uart -green screw plug-)
Adding
CFLAGS += -DENABLE_UART2
(or UART1) will break the software as the uartInit functions are called without the baudrate specified which is required for the function call.crazyflie-firmware/src/drivers/src/uart2.c
Line 47 in d8d92d1
crazyflie-firmware/src/modules/src/system.c
Lines 150 to 155 in 741a786
The text was updated successfully, but these errors were encountered: