forked from spm81/MCFW_UV-K5_Open_Source_Firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finally get liveseek to work? @joaquimorg
- Loading branch information
1 parent
0d16f62
commit b21826f
Showing
3 changed files
with
82 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,8 @@ | |
|
||
|
||
#include "ceccommon.h" | ||
#include "ui/helper.h" | ||
#include "ui/ui.h" | ||
|
||
typedef struct | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
ENTRY(HandlerReset) | ||
|
||
_estack = 0x20004000; /* end of 16K RAM */ | ||
|
||
_Min_Heap_Size = 0; /* required amount of heap */ | ||
_Min_Stack_Size = 0x80; /* required amount of stack */ | ||
|
||
MEMORY | ||
{ | ||
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 60K | ||
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 16K | ||
} | ||
|
||
SECTIONS | ||
{ | ||
/* Program code */ | ||
.text : | ||
{ | ||
. = ALIGN(4); | ||
*(.text.isr) /* .text sections of code */ | ||
*(.text) /* .text sections of code */ | ||
*(.text*) /* .text* sections of code */ | ||
*(.rodata) /* .rodata sections */ | ||
*(.rodata*) /* .rodata* sections */ | ||
*(.glue_7) /* Glue arm to thumb code */ | ||
*(.glue_7t) /* Glue thumb to arm code */ | ||
*(.eh_frame) | ||
|
||
KEEP(*(.fini)) | ||
. = ALIGN(4); | ||
_etext = .; /* global symbols at end */ | ||
} >FLASH | ||
|
||
/* Used by startup code */ | ||
|
||
. = ALIGN(4); | ||
|
||
flash_data_start = .; | ||
|
||
.data : | ||
{ | ||
. = ALIGN(4); | ||
sram_data_start = .; | ||
*(.sramtext) | ||
*(.srambss) | ||
*(.data) /* .data sections */ | ||
*(.data*) /* .data* sections */ | ||
|
||
. = ALIGN(4); | ||
_edata = .; /* Global symbol at data end */ | ||
} >RAM AT> FLASH | ||
|
||
sram_data_end = .; | ||
|
||
/* Uninitialized data */ | ||
. = ALIGN(4); | ||
.bss : | ||
{ | ||
_sbss = .; /* Global symbol at bss start */ | ||
__bss_start__ = _sbss; | ||
*(.bss) | ||
*(.bss*) | ||
*(COMMON) | ||
|
||
. = ALIGN(4); | ||
_ebss = .; /* Global symbol at bss end */ | ||
__bss_end__ = _ebss; | ||
} >RAM | ||
|
||
/* Check that there is enough RAM */ | ||
._user_heap_stack : | ||
{ | ||
. = ALIGN(4); | ||
. = . + _Min_Heap_Size; | ||
. = . + _Min_Stack_Size; | ||
. = ALIGN(4); | ||
} >RAM | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters