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 AP_IOMCU: make adc interrupt driven 2023-12-11 20:46:28 +11:00
analog.h AP_IOMCU: make adc interrupt driven 2023-12-11 20:46:28 +11:00
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 AP_IOMCU: remove unnecessary tabs and whitespaces 2019-10-21 07:57:44 +11:00
rc.cpp AP_IOMCU: fixed issue with not regaining RC input 2023-05-23 12:11:04 +10:00
rc.h AP_IOMCU: fix includes 2019-03-26 10:27:54 +11:00
wscript AP_IOMCU: bdshot for iomcu 2023-12-18 19:02:52 +11:00