/* 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
* SOFTWARE.
*/
-/* XXX Not tested yet -HaaTa */
-
MEMORY
{
FLASH (rx) : ORIGIN = 8K, LENGTH = 256K-8K
{
.text :
{
- . = 0;
- KEEP(* (.vectors))
+ . = 0; KEEP(* (.vectors)) /* MUST BE AT 0 */
*(.startup*)
+ . = 0x400; KEEP(* (.flashconfig)) /* MUST BE AT 0x400 */
*(.text*)
*(.rodata*)
. = ALIGN(4);