aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpatrickmt <40182064+patrickmt@users.noreply.github.com>2018-09-28 21:32:15 -0400
committerJack Humbert <jack.humb@gmail.com>2018-09-28 21:32:15 -0400
commit239f02408e219567be060be7e65e92e888304ed0 (patch)
treea5461db9b599dfb0fb7e3e6faccc064353cdfe78 /lib
parente2dee054d0649cb7b5b051a04a9bd82d14a0fdcd (diff)
downloadqmk_firmware-239f02408e219567be060be7e65e92e888304ed0.tar.gz
qmk_firmware-239f02408e219567be060be7e65e92e888304ed0.zip
Massdrop keyboard updates for SEND_STRING, syscalls, stdio, debug prints, Auto Shift (#3973)
* Update for SEND_STRING usage Update for SEND_STRING usage. Sending keyboard reports (kbd, nkro) now obey the minimum polling time. While attempting to send a keyboard report and waiting for a USB poll, other functions of the keyboard, including LED effects and power management, will continue to operate at their intended intervals. * Updates for send string, syscalls, stdio, debug prints, auto shift Now properly waiting for previous keys sent over USB to complete before sending new. Added heap to linker and now compiling with syscalls support. Removed custom string functions and now using stdio. dprintf now works as intended through virtser device. * CTRL and ALT keymap updates CTRL mac keymap updated ALT default and mac keymap updated ALT rules.mk added Auto Shift with default no * Code cleanup as per discussion with vomindoraan Code cleanup as per discussion with vomindoraan
Diffstat (limited to 'lib')
-rw-r--r--lib/arm_atsam/packs/atmel/SAMD51_DFP/1.0.70/gcc/gcc/samd51j18a_flash.ld16
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/arm_atsam/packs/atmel/SAMD51_DFP/1.0.70/gcc/gcc/samd51j18a_flash.ld b/lib/arm_atsam/packs/atmel/SAMD51_DFP/1.0.70/gcc/gcc/samd51j18a_flash.ld
index 3d114f5b7..35db61971 100644
--- a/lib/arm_atsam/packs/atmel/SAMD51_DFP/1.0.70/gcc/gcc/samd51j18a_flash.ld
+++ b/lib/arm_atsam/packs/atmel/SAMD51_DFP/1.0.70/gcc/gcc/samd51j18a_flash.ld
@@ -35,7 +35,7 @@ SEARCH_DIR(.)
35/* Memory Spaces Definitions */ 35/* Memory Spaces Definitions */
36MEMORY 36MEMORY
37{ 37{
38 //rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00040000 38/*rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00040000*/
39 rom (rx) : ORIGIN = 0x00004000, LENGTH = 0x0003C000 39 rom (rx) : ORIGIN = 0x00004000, LENGTH = 0x0003C000
40 ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00020000 40 ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00020000
41 bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000 41 bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000
@@ -45,6 +45,9 @@ MEMORY
45/* The stack size used by the application. NOTE: you need to adjust according to your application. */ 45/* The stack size used by the application. NOTE: you need to adjust according to your application. */
46STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : DEFINED(__stack_size__) ? __stack_size__ : 0x8000; 46STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : DEFINED(__stack_size__) ? __stack_size__ : 0x8000;
47 47
48/* The heap size used by the application. */
49HEAP_SIZE = DEFINED(HEAP_SIZE) ? HEAP_SIZE : DEFINED(__heap_size__) ? __heap_size__ : 0x800;
50
48_srom = ORIGIN(rom); 51_srom = ORIGIN(rom);
49_lrom = LENGTH(rom); 52_lrom = LENGTH(rom);
50_erom = ORIGIN(rom) + LENGTH(rom); 53_erom = ORIGIN(rom) + LENGTH(rom);
@@ -153,6 +156,17 @@ SECTIONS
153 _ezero = .; 156 _ezero = .;
154 } > ram 157 } > ram
155 158
159 /* .heap section for syscalls */
160 .heap (NOLOAD) :
161 {
162 . = ALIGN(4);
163 _end = .;
164 end = .;
165 _heap_start = .;
166 . = . + HEAP_SIZE;
167 _heap_end = .;
168 } > ram
169
156 /* stack section */ 170 /* stack section */
157 .stack (NOLOAD): 171 .stack (NOLOAD):
158 { 172 {