Implemented MOTOR_TEST mode

This commit is contained in:
2020-10-19 18:08:49 +02:00
parent 7a30b2af6d
commit c7c0b768ac
3 changed files with 50 additions and 5 deletions

View File

@@ -33,6 +33,10 @@ include_directories(
bobbycar-protocol
)
#add_definitions(-DMOTOR_TEST)
#add_definitions(-DFEATURE_IGNORE_OTHER_MOTOR)
add_definitions(-DFEATURE_BUTTON)
add_executable(firmware.elf
STM32CubeF1/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c
STM32CubeF1/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c