mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
5f8760a55c
This allows the spektrum and sbus receiver drivers to bind directly to the usart layer using a properly exported API rather than overriding the interrupt handler. Bytes are now pushed directly from the usart layer into the com layer without any buffering. The com layer performs all of the buffering. A further benefit from this approach is that we can put all blocking/non-blocking behaviour into the COM layer and not in the underlying drivers. Misc related changes: - Remove obsolete .handler field from irq configs - Adapt all users of PIOS_COM_* functions to new API - Fixup callers of PIOS_USB_HID_Init()
39 lines
599 B
Plaintext
39 lines
599 B
Plaintext
define connect
|
|
target remote localhost:3333
|
|
monitor cortex_m3 vector_catch all
|
|
file ./build/bl_coptercontrol/bl_coptercontrol.elf
|
|
end
|
|
#monitor reset halt
|
|
|
|
define hook-step
|
|
monitor cortex_m3 maskisr on
|
|
end
|
|
define hookpost-step
|
|
monitor cortex_m3 maskisr off
|
|
end
|
|
|
|
define hook-stepi
|
|
monitor cortex_m3 maskisr on
|
|
end
|
|
|
|
define hookpost-stepi
|
|
monitor cortex_m3 maskisr off
|
|
end
|
|
|
|
define hook-next
|
|
monitor cortex_m3 maskisr on
|
|
end
|
|
|
|
define hookpost-next
|
|
monitor cortex_m3 maskisr off
|
|
end
|
|
|
|
define hook-finish
|
|
monitor cortex_m3 maskisr on
|
|
end
|
|
|
|
define hookpost-finish
|
|
monitor cortex_m3 maskisr off
|
|
end
|
|
|