Skip to content

Commit b989afa

Browse files
author
Cruz Monrreal
authored
Merge pull request #6178 from andrewleech/nrf51_16k_s130_linker
Add target definition: nrf51 16k on MCU_NRF51_UNIFIED platform
2 parents 3d61cb5 + 78d31cf commit b989afa

File tree

2 files changed

+15
-2
lines changed
  • targets
    • TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF51/TARGET_MCU_NRF51822_UNIFIED/device/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S130

2 files changed

+15
-2
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF51/TARGET_MCU_NRF51822_UNIFIED/device/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S130/NRF51822.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
MEMORY
44
{
5-
FLASH (rx) : ORIGIN = 0x0001C000, LENGTH = 0x24000
6-
RAM (rwx) : ORIGIN = 0x20002800, LENGTH = 0x1800
5+
FLASH (rx) : ORIGIN = 0x0001B000, LENGTH = 0x25000
6+
RAM (rwx) : ORIGIN = 0x20002ef8, LENGTH = 0x1108
77
}
88

99
OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")

targets/targets.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3579,6 +3579,19 @@
35793579
},
35803580
"device_has": ["ANALOGIN", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE"]
35813581
},
3582+
"MCU_NRF51_16K_UNIFIED_S130": {
3583+
"inherits": ["MCU_NRF51_UNIFIED"],
3584+
"extra_labels_add": ["MCU_NORDIC_16K", "MCU_NRF51_16K_S130", "MCU_NRF51_16K"],
3585+
"macros_add": ["TARGET_MCU_NORDIC_16K", "TARGET_MCU_NRF51_16K_S130", "TARGET_MCU_NRF51_16K"],
3586+
"public": false
3587+
},
3588+
"Raytac_MDBT40": {
3589+
"inherits": ["MCU_NRF51_16K_UNIFIED_S130"],
3590+
"macros_add": ["TARGET_NRF_LFCLK_RC"],
3591+
"release_versions": ["2"],
3592+
"device_has": ["ANALOGIN", "I2C", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPI_ASYNCH", "SPISLAVE"],
3593+
"device_name": "nRF51822_xxAA"
3594+
},
35823595
"MCU_NRF51_32K_UNIFIED": {
35833596
"inherits": ["MCU_NRF51_UNIFIED"],
35843597
"extra_labels_add": ["MCU_NORDIC_32K", "MCU_NRF51_32K"],

0 commit comments

Comments
 (0)