aboutsummaryrefslogtreecommitdiff
path: root/examples/cartrom/rom.ld
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cartrom/rom.ld')
-rw-r--r--examples/cartrom/rom.ld11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/cartrom/rom.ld b/examples/cartrom/rom.ld
new file mode 100644
index 0000000..f3f9cd3
--- /dev/null
+++ b/examples/cartrom/rom.ld
@@ -0,0 +1,11 @@
+MEMORY {
+ ROM : ORIGIN = 0x1f000000, LENGTH = 256K
+}
+
+ENTRY (entry)
+
+SECTIONS {
+ .text :{
+ *(.text)
+ } >ROM
+}