xyluo555
xyluo555
well, it seems that the reason is the linker option. below is the linker options: arm-none-eabi-ld -r -e main -T /home/cloud/nuttx-12.4.0/nuttx/binfmt/libelf/gnu-elf.ld -r -e _start -Bstatic -T/home/cloud/nuttx-12.4.0/apps/import/scripts/gnu-elf.ld -L/home/cloud/nuttx-12.4.0/apps/import/libs -L "/opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/lib/**thumb**/v7-a+simd/hard" -L...
Yes, the CONFIG_ARM_THUMB should be enabled. But I haven't figure out why ld select "/opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/thumb/v7-a+simd/hard" as the library path. actually, as is defined in apps/import/Make.def, while the command "arm-none-eabi-gcc -mcpu=cortex-a9...
sorry, the porting is on going. there seems to be a bug, as shown in issue #12618 . currently, the console is ok and kernel & apps images are build...