ardupilot/libraries/AP_HAL_ChibiOS/hwdef/common
Thomas Watson 5f5673b58f AP_HAL_ChibiOS: 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
..
board.c HAL_ChibiOS: allow hwdef to specify a NRST_MODE override 2023-06-27 10:32:43 +10:00
board.h
bouncebuffer.c HAL_ChibiOS: added mem_is_dma_safe() function 2024-01-05 06:52:11 -08:00
bouncebuffer.h
chconf.h
chibios_board.mk HAL_ChibiOS: don't link evtimer in chibios_board.mk 2024-01-03 12:14:47 +11:00
chibios_common.mk waf: fixed dependency of ChibiOS build on compiler flags 2023-06-20 18:08:31 +10:00
common.ld
common_extf.ld AP_HAL_ChibiOS: Use DTCM for vector table for external flash targets 2023-06-06 19:19:10 +10:00
common_extf_h730.ld AP_HAL_ChibiOS: Use DTCM for vector table for external flash targets 2023-06-06 19:19:10 +10:00
common_extf_h750.ld AP_HAL_ChibiOS: Move scheduler task table to RAM for H750 2023-06-06 19:19:10 +10:00
common_mixf.ld AP_HAL_ChibiOS: add support for mixed internal and external flash 2023-04-26 18:04:00 +10:00
crashdump.c
cstdio
ffconf.h HAL_ChibiOS: support f_mkfs on all boards 2023-06-06 15:19:00 +10:00
flash.c HAL_ChibiOS: Fix stm32l4+ flash issue 2023-10-06 14:52:34 +11:00
flash.h HAL_ChibiOS: allow hwdef to specify a NRST_MODE override 2023-06-27 10:32:43 +10:00
halconf.h AP_HAL_ChibiOS: use HAL_XIP_ENABLED to denote running in external flash 2023-04-28 08:31:15 +10:00
hrt.c HAL_ChibiOS: fixed micros and millis on boards without 1MHz clock 2023-12-24 10:10:14 +11:00
hrt.h HAL_ChibiOS: fixed micros and millis on boards without 1MHz clock 2023-12-24 10:10:14 +11:00
malloc.c HAL_ChibiOS: fixed DMA on SPI on H743 2024-01-07 19:10:25 +11:00
mcuconf.h AP_HAL_ChibiOS: use HAL_XIP_ENABLED to denote running in external flash 2023-04-28 08:31:15 +10:00
poll.h
ppm.h
spi_hook.h HAL_ChibiOS: fixed sdcard lockup with SPI sdcard 2023-05-13 18:18:14 +10:00
stdio.h
stm32_util.c
stm32_util.h AP_HAL_ChibiOS: match thread stack pointer types to ChibiOS 2024-01-16 09:24:34 +11:00
stm32f1_mcuconf.h AP_HAL_ChibiOS: run STM32F103 core clock at 72Mhz on 24Mhz oscillators 2023-08-15 06:53:48 +10:00
stm32f3_mcuconf.h
stm32f47_mcuconf.h
stm32g4_mcuconf.h
stm32h7_mcuconf.h hwdef: allow for MCO pin to be configured 2023-08-25 07:37:12 +10:00
stm32h7_type2_mcuconf.h hwdef: allow for MCO pin to be configured 2023-08-25 07:37:12 +10:00
stm32l4+_mcuconf.h AP_HAL_ChibiOS: advanced timers are now determined automatically on L4+ 2023-05-03 07:39:39 +10:00
stm32l4_mcuconf.h AP_HAL_ChibiOS: support for STM32H730xx MCUs 2023-04-28 08:31:15 +10:00
stubs.c
usbcfg.c HAL_ChibiOS: revert recent USB changes 2023-06-03 16:50:30 +10:00
usbcfg.h HAL_ChibiOS: revert recent USB changes 2023-06-03 16:50:30 +10:00
usbcfg_common.c
usbcfg_dualcdc.c HAL_ChibiOS: revert recent USB changes 2023-06-03 16:50:30 +10:00
watchdog.c
watchdog.h