lds bug fixes, CMakeLists typo fixes.

This commit is contained in:
imi415 2021-11-25 02:54:25 +08:00
parent 90a50618f2
commit 495dfabfcb
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A
3 changed files with 3 additions and 3 deletions

View File

@ -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})

View File

@ -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
}

View File

@ -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
}