ld clean up

This commit is contained in:
hathach committed 2018-10-19 15:30:35 +07:00
1 parent e221ef3f15
commit 40fe0b9b1c
4 files changed
+1 -4

No files matched your search

-1
View File
@@ -6,7 +6,6 @@ GROUP(-lgcc -lc -lnosys)
MEMORY
{
FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0x6D000-0x26000
FLASH_BOND (x) : ORIGIN = 0x73000, LENGTH = 0x1000
/* SRAM required by S132 depend on
* - Attribute Table Size
-2
View File
@@ -6,8 +6,6 @@ GROUP(-lgcc -lc -lnosys)
MEMORY
{
FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0xED000 - 0x26000
FLASH_BOND (x) : ORIGIN = 0xF3000, LENGTH = 0x1000
/* SRAM required by S132 depend on
* - Attribute Table Size
-1
View File
@@ -60,7 +60,6 @@ PROVIDE(__stack = __StackTop);
/* Flash region */
__flash_arduino_start = ORIGIN(FLASH);
__flash_arduino_end = ORIGIN(FLASH) + LENGTH(FLASH);
/* __flash_bond_start = ORIGIN(FLASH_BOND); */
SECTIONS
{
@@ -21,6 +21,7 @@ bool hasKeyPressed = false;
void setup()
{
Serial.begin(115200);
while ( !Serial ) {} // for nrf52840 with native usb
Serial.println("Bluefruit52 HID Keyboard Example");
Serial.println("--------------------------------\n");