mirror of
https://github.com/brmlab/edubrm.git
synced 2025-08-03 15:23:36 +02:00
firmware WIP
This commit is contained in:
parent
e78c314556
commit
b46d41bd34
43 changed files with 1059 additions and 5161 deletions
71
firmware/obj/usb_buffer.ld
Normal file
71
firmware/obj/usb_buffer.ld
Normal file
|
@ -0,0 +1,71 @@
|
|||
/*
|
||||
* GENERATED FILE - DO NOT EDIT
|
||||
* (C) Code Red Technologies Ltd, 2008-9
|
||||
* Generated C linker script file for LPC1343
|
||||
* (created from nxp_lpc13_c.ld (v3.0.6 (200911181345)) on Fri Nov 20 17:14:35 PST 2009)
|
||||
*/
|
||||
|
||||
INCLUDE "obj/usb_buffer_lib.ld"
|
||||
INCLUDE "obj/usb_buffer_mem.ld"
|
||||
|
||||
ENTRY(ResetISR)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.text :
|
||||
{
|
||||
KEEP(*(.isr_vector))
|
||||
*(.text*)
|
||||
*(.rodata*)
|
||||
|
||||
} > MFlash32
|
||||
|
||||
|
||||
/* for exception handling/unwind - some Newlib functions (in common with C++ and STDC++) use this. */
|
||||
|
||||
.ARM.extab :
|
||||
{
|
||||
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
||||
} > MFlash32
|
||||
|
||||
__exidx_start = .;
|
||||
.ARM.exidx :
|
||||
{
|
||||
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
|
||||
} > MFlash32
|
||||
__exidx_end = .;
|
||||
|
||||
_etext = .;
|
||||
|
||||
.data : AT (__exidx_end)
|
||||
{
|
||||
_data = .;
|
||||
*(vtable)
|
||||
*(.data*)
|
||||
_edata = .;
|
||||
} > RamLoc8
|
||||
|
||||
/* zero initialized data */
|
||||
.bss :
|
||||
{
|
||||
_bss = .;
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
_ebss = .;
|
||||
} > RamLoc8
|
||||
|
||||
/* Where we put the heap with cr_clib */
|
||||
.cr_heap :
|
||||
{
|
||||
end = .;
|
||||
_pvHeapStart = .;
|
||||
} > RamLoc8
|
||||
|
||||
/*
|
||||
Note: (ref: M0000066)
|
||||
Moving the stack down by 16 is to work around a GDB bug.
|
||||
This space can be reclaimed for Production Builds.
|
||||
*/
|
||||
_vRamTop = __top_RamLoc8 ;
|
||||
_vStackTop = _vRamTop - 16;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue