Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ endif

# Defined Symbol (MACROS)
CFLAGS += -D__HEAP_SIZE=0
# Reset_Handler zeroes .bss and calls main directly, so newlib's crt0 is not linked in.
CFLAGS += -D__START=main -D__STARTUP_CLEAR_BSS
CFLAGS += -DCONFIG_GPIO_AS_PINRESET

# Skip defining CONFIG_NFCT_PINS_AS_GPIOS if the device uses the NFCT.
Expand Down
3 changes: 3 additions & 0 deletions linker/nrf_common.ld
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ SECTIONS
__sdata_start = .; __sdata_end = .; __sdata_load_start = .;
__tdata_start = .; __tdata_end = .; __tdata_load_start = .;
__fast_start = .; __fast_end = .; __fast_load_start = .;
/* Zero-length: the startup's clear loop also walks .tbss/.sbss. */
__tbss_start__ = .; __tbss_end__ = .;
__sbss_start__ = .; __sbss_end__ = .;

.bss :
{
Expand Down
Loading