diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat index c6b6346a3a..1a0bfd01e1 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat @@ -66,4 +66,10 @@ undef SDMMC1 MAIN_STACK 0x2000 PROCESS_STACK 0x6000 -define HAL_CAN_DRIVER_DEFAULT 1 \ No newline at end of file +define HAL_CAN_DRIVER_DEFAULT 1 + +# listen for reboot command from uploader.py script +# undefine to disable. Use -1 to allow on all ports, otherwise serial number index defined in SERIAL_ORDER starting at 0 +define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0 + +