lds bug fixes, CMakeLists typo fixes.
This commit is contained in:
parent
90a50618f2
commit
495dfabfcb
|
@ -127,7 +127,7 @@ set(CMAKE_EXE_LINKER_FLAGS "-specs=nano.specs -specs=nosys.specs -Wl,--gc-sectio
|
|||
set(TARGET_LDSCRIPT_BLANK_AA "${NRF5_SDK_ROOT}/components/toolchain/gcc/nrf51_xxaa.ld") # Blank device
|
||||
set(TARGET_LDSCRIPT_BLANK_AC "${NRF5_SDK_ROOT}/components/toolchain/gcc/nrf51_xxac.ld") # Blank device with additional 16KB SRAM
|
||||
set(TARGET_LDSCRIPT_SD_AA "${CMAKE_SOURCE_DIR}/components/toolchain/gcc/nrf51_xxaa_sd.ld") # With SoftDevice
|
||||
set(TARGET_LDSCRIPT_SD_AC "${CMAKE_SOURCE_DIR}/components/toolchain/gcc/nrf51_xxaa_sd.ld") # With SoftDevice and additional 16KB SRAM
|
||||
set(TARGET_LDSCRIPT_SD_AC "${CMAKE_SOURCE_DIR}/components/toolchain/gcc/nrf51_xxac_sd.ld") # With SoftDevice and additional 16KB SRAM
|
||||
|
||||
# Add shared includes, defines and libs
|
||||
include_directories(${TARGET_C_INCLUDES})
|
||||
|
|
|
@ -6,7 +6,7 @@ GROUP(-lgcc -lc -lnosys)
|
|||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x0001B000, LENGTH = 0x25000
|
||||
RAM (rwx) : ORIGIN = 0x200013C8, LENGTH = 0x6C38
|
||||
RAM (rwx) : ORIGIN = 0x200013C8, LENGTH = 0x2C38
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ GROUP(-lgcc -lc -lnosys)
|
|||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x0001B000, LENGTH = 0x25000
|
||||
RAM (rwx) : ORIGIN = 0x200013C8, LENGTH = 0x8000
|
||||
RAM (rwx) : ORIGIN = 0x200013C8, LENGTH = 0x6C38
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue