mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-07 05:54:11 +08:00
62331f0207
fix clang build with nrf
20 lines
450 B
Plaintext
20 lines
450 B
Plaintext
/* Linker script to configure memory regions. */
|
|
|
|
SEARCH_DIR(.)
|
|
/*GROUP(-lgcc -lc -lnosys) not compatible with clang*/
|
|
|
|
MEMORY
|
|
{
|
|
FLASH (rx) : ORIGIN = 0x1000, LENGTH = 0xff000
|
|
RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 0x3fff8
|
|
}
|
|
|
|
|
|
INCLUDE "nrf_common.ld"
|
|
|
|
/* nrfx v2 linker does not define __tbss_start/end__ __sbss_start/end__*/
|
|
__tbss_start__ = __tbss_start;
|
|
__tbss_end__ = __tbss_end;
|
|
__sbss_start__ = __sbss_start;
|
|
__sbss_end__ = __sbss_end;
|