mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
arm7/8-m:support all nuttx iamge build with pic
Need to start up a new to setup special registers use `arm_pic_setupxcp`. Note that CONFIG_BUILD_PIC compiles the entire NuttX image as position-independent(PIC), enable CONFIG_PIC to load PIC application code. Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -329,6 +329,13 @@ config BUILD_KERNEL
|
||||
|
||||
endchoice # Build configuration
|
||||
|
||||
config BUILD_PIC
|
||||
bool "NuttX PIC build"
|
||||
default n
|
||||
---help---
|
||||
Builds NuttX with position-independent code (PIC). This will allow
|
||||
load NuttX into memory at any address and run it.
|
||||
|
||||
config BUILD_2PASS
|
||||
bool "Two pass build"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user