Skip to content

Commit

Permalink
First amcfoc projects: amcfoc.loader and amcfoc.CM7launcher (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoaccame authored Oct 3, 2024
1 parent 034d61e commit 2189dd3
Show file tree
Hide file tree
Showing 12 changed files with 6,387 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.placeholder
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@


LR_IROM1 0x08100000 0x00020000 { ; load region size_region
ER_IROM1 0x08100000 0x00020000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}

; RX_DESCR 0x30040000 0x00000060 {
; ethram.o(.RxDecripSection)
; }
; TX_DESCR 0x30040060 0x000001A0 {
; ethram.o(.TxDecripSection)
; }
; RX_ARRAY 0x30040200 0x00001800 {
; ethram.o(.RxArraySection)
; }

; banks sram1 and sram2 joined together
RW_IRAM1 0x10000000 0x0003FFC0 {
.ANY (+RW +ZI)
}

; RW_IRAM2 0x10020000 0x00020000 {
; .ANY (+RW +ZI)
; }


}

; RW_IRAM1 0x38000000 0x00010000 { ; RW data
; .ANY (+RW +ZI)
; }
; RW_IRAM2 0x24000000 0x00080000 {
; .ANY (+RW +ZI)
; }



Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

; this scatter file is for the eloader. it uses:
; - 1M of flash
; - ram in banks sram1 and sram2 w/ a memory hole of 64 bytes on top for ipc (shall we make make 256?)
; - the placing of the memory required by the ETH driver (commented out because eloader does not compile the driver)

LR_IROM1 0x08100000 0x00020000 { ; load region size_region

; flash
ER_IROM1 0x08100000 0x00020000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}

; eth mapping. comment it out if ethram.o is not linked
; RX_DESCR 0x30040000 0x00000060 {
; ethram.o(.RxDecripSection)
; }
; TX_DESCR 0x30040060 0x000001A0 {
; ethram.o(.TxDecripSection)
; }
; RX_ARRAY 0x30040200 0x00001800 {
; ethram.o(.RxArraySection)
; }

; banks sram1 and sram2 joined together w/ a memory hole on top
RW_IRAM1 0x10000000 0x0003FFC0 {
.ANY (+RW +ZI)
}


}

Large diffs are not rendered by default.

Loading

0 comments on commit 2189dd3

Please sign in to comment.