ardupilot/libraries/AP_IOMCU/iofirmware
Thomas Watson d554ade7ce AP_IOMCU: match thread stack pointer types to ChibiOS
`__main_thread_stack_base__` and `__main_thread_stack_end__` are
variables whose address is defined to be the corresponding part of the
stack. These are declared as `extern stkalign_t` in ChibiOS code, and
being declared as `extern uint32_t` in ArduPilot code creates a warning
at link time when using LTO. Correct the declaration to eliminate this
warning.

Also update `__main_stack_base__` and `__main_stack_end__` which don't
currently trigger this warning but serve similar purposes and so might
in the future.

The hardware expects an alignment of `stkalign_t` (which is 8 bytes) and
the linker script defines the variable values with this alignment as
well, so this is safe.

No code size or functional change.
2024-01-16 09:24:34 +11:00
..
analog.cpp
analog.h
iofirmware.cpp AP_IOMCU: match thread stack pointer types to ChibiOS 2024-01-16 09:24:34 +11:00
iofirmware.h AP_IOMCU: constrain PWM channels to 8, telem channels to 4 and RC channels to 16 2023-12-18 19:02:52 +11:00
ioprotocol.h AP_IOMCU: fix occasional startup internal errors with mixing 2023-12-24 14:39:05 +11:00
mixer.cpp
rc.cpp
rc.h
wscript AP_IOMCU: bdshot for iomcu 2023-12-18 19:02:52 +11:00