Skip to content

Commit 8e96818

Browse files
committed
Add Cortex-M glue/support code
1 parent c138a14 commit 8e96818

File tree

15 files changed

+3362
-93
lines changed

15 files changed

+3362
-93
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
a.out*
66
**/*.o
7+
**/*.elf
78
input.wasm
89
output.bc
910

@@ -13,3 +14,6 @@ code_benches/benchmarks.csv
1314

1415
silverfish.iml
1516
.idea
17+
18+
.vagrant
19+
Vagrantfile

runtime/cortex_m_glue/hello.ld

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ENTRY(_start)
2+
MEMORY
3+
{
4+
ram : ORIGIN = 0x00010000, LENGTH = 0x1000
5+
}
6+
SECTIONS
7+
{
8+
.text : { *(.text*) } > ram
9+
.rodata : { *(.rodata*) } > ram
10+
.bss : { *(.bss*) } > ram
11+
}
12+

0 commit comments

Comments
 (0)