File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727#include <stdio.h>
2828#include <stdarg.h>
2929#include <string.h>
30+ #include <time.h>
3031
3132
3233/* TIME CODE */
Original file line number Diff line number Diff line change 1+ MEMORY
2+ {
3+ FLASH (wx) : ORIGIN = 0x00000000 , LENGTH = 1024K
4+ RAM (wx) : ORIGIN = 0x20000000 , LENGTH = 256K
5+ }
6+
7+ SECTIONS
8+ {
9+ __vectors_start__ = .;
10+ .vectors : { *(.vectors ) } > FLASH
11+ __vectors_end__ = __vectors_start__ + 0x400 ;
12+ .sys : { *(.sys *) } > FLASH
13+ .text : { *(.text *) } > FLASH
14+ .rodata : { *(.rodata *) } > FLASH
15+
16+ __data_load_start__ = .;
17+ __data_start__ = .;
18+ .data : { *(.data *) } > RAM
19+ __data_end__ = __data_start__ + SIZEOF (.data );
20+
21+ __bss_start__ = .;
22+ .bss : { *(.bss *) } > RAM
23+ __bss_end__ = __bss_start__ + SIZEOF (.bss );
24+
25+ __heap_start__ = .;
26+ .heap : { *(.heap *) } > RAM
27+ __heap_end__ = __heap_start__ + SIZEOF (.heap );
28+
29+ end = .;
30+ }
You can’t perform that action at this time.
0 commit comments