nuttx/boards
guoshichao ba63a4d234 ghs: fix the UsageFault:INVSTATE error triggered by exception_common
when we build with greenhills compiler, if the exception_common function
is put into a separate section: ".text.exception_common", then the
address of exception_common function is an even number, for example "0x16a6c",
in this case, it will trigger the UsageFaults:INVSTATE error.
The reason for this error is that in the GHS compiler, a section declared
through the ".section" directive must specify at least the "a" attribute.
Otherwise, this section will not be linked into the final file, and this
is why the address of exception_common function is invalid.
The following is the official explanation in the GHS compiler documentation:
"The reason for this error is that in the GHS compiler, a section
declared through the .section directive must specify at least the "a"
attribute. Otherwise, this section will not be linked into the final
file. The following is the official explanation in the documentation:
"Sections that are intended be part of the final linked output should
have at least the `a` attribute"
and for GHS compiler, the .text section is recommended specify the
attribute of `ax`.

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2026-01-16 09:41:13 +08:00
..
arm ghs: fix the UsageFault:INVSTATE error triggered by exception_common 2026-01-16 09:41:13 +08:00
arm64 boards/raspberrypi-4b: Add testing configurations 2026-01-06 16:00:52 +08:00
avr arch/avr/avrdx: do not copy const variables into RAM 2025-07-10 12:21:40 -03:00
dummy
hc/m9s12 boards/hc/m9s12: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
mips boards: remove reference to non-existent readme 2025-10-11 17:07:51 -04:00
misoc/lm32/misoc boards/misoc/lm32: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
or1k/mor1kx/or1k boards/defconfig: remove unused config about dd 2025-04-20 00:41:26 +08:00
renesas Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
risc-v boards/esp32c3-xiao: Fix ble configuration crash 2026-01-14 18:43:53 +01:00
sim/sim/sim posix_test: fix the ltp project link error 2026-01-15 16:19:06 -03:00
sparc sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
tricore/tc397/a2g-tc397-5v-tft arch/tricore: enable CONFIG_SYSTEM_TIME64 for TC397 2025-12-26 21:35:14 +08:00
x86/qemu/qemu-i486 qemu-i486: Simplify Make.defs by include Toolchain.defs 2025-01-27 02:28:39 +08:00
x86_64/intel64/qemu-intel64 boards/qemu-intel64/jumbo: enable more network tools 2025-12-18 11:39:54 -03:00
xtensa esp32s3: Remove redundant I2S include directive 2026-01-03 20:02:10 -03:00
z16/z16f/z16f2800100zcog boards/z16/z16f: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
z80 sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
.gitignore
Board.mk
boardctl.c boards/boardctl: Uninitialize cdcacm by instance number, not direct pointer 2025-10-11 00:47:02 +08:00
CMakeLists.txt boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
dummy.c boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00
Kconfig boards/esp32: Add initial support to heltec_wifi_lora32 2025-12-21 15:18:08 -03:00
Makefile boards: migrate to SPDX identifier 2024-11-12 22:20:59 +08:00