mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 07:40:27 +00:00
libs/libc/machine/arm: Include nuttx/config.h in arch_mcount.S.
arch_mcount.S selects the ARMv6-M code with CONFIG_ARCH_CORTEXM0 and CONFIG_ARCH_CORTEXM23, but it did not include nuttx/config.h. So it always assembled the Thumb-2 code, and CONFIG_PROFILE_MINI did not build on Cortex-M0, M0+ and M23: arch_mcount.S:48: Error: cannot honor width suffix -- `bic r1,r1,#1' Include nuttx/config.h. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
This commit is contained in:
parent
5b383ae5ba
commit
2db8a4d77a
1 changed files with 6 additions and 0 deletions
|
|
@ -18,6 +18,12 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue