]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Lib/mk20dx256vlh7.ld
Merge pull request #71 from glguy/pr-cli-history
[kiibohd-controller.git] / Lib / mk20dx256vlh7.ld
index 7189194060f84ce9f7690fae101e2f1e04e30994..315baeef62fd38b0e85033d697882687af81f88d 100644 (file)
@@ -1,7 +1,7 @@
 /* Teensyduino Core Library
  * http://www.pjrc.com/teensy/
  * Copyright (c) 2013 PJRC.COM, LLC.
- * Modifications by Jacob Alexander 2014 for use with McHCK and Kiibohd-dfu
+ * Modifications by Jacob Alexander 2014-2015 for use with McHCK and Kiibohd-dfu
  *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files (the
@@ -29,8 +29,6 @@
  * SOFTWARE.
  */
 
-/* XXX Not tested yet -HaaTa */
-
 MEMORY
 {
        FLASH (rx) : ORIGIN = 8K, LENGTH = 256K-8K
@@ -42,9 +40,9 @@ SECTIONS
 {
        .text :
        {
-               . = 0;
-               KEEP(* (.vectors))
+               . = 0; KEEP(* (.vectors)) /* MUST BE AT 0 */
                *(.startup*)
+               . = 0x400; KEEP(* (.flashconfig)) /* MUST BE AT 0x400 */
                *(.text*)
                *(.rodata*)
                . = ALIGN(4);