github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/targets/nrf52840-s140v7-uf2.ld (about)

     1  /*
     2    See also 
     3    https://github.com/Seeed-Studio/ArduinoCore-mbed/blob/master/variants/SEEED_XIAO_NRF52840_SENSE/linker_script.ld
     4  */
     5  MEMORY
     6  {
     7      FLASH_TEXT (rx) : ORIGIN = 0x27000, LENGTH = 0xED000 - 0x27000
     8      RAM (rwx) : ORIGIN = 0x20006000, LENGTH = 0x3A000
     9  }
    10  
    11  _stack_size = 4K + __softdevice_stack;
    12  
    13  /* This value is needed by the Nordic SoftDevice. */
    14  __app_ram_base = ORIGIN(RAM);
    15  __softdevice_stack = DEFINED(__softdevice_stack) ? __softdevice_stack : 0;
    16  
    17  INCLUDE "targets/arm.ld"