-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
034d61e
commit 2189dd3
Showing
12 changed files
with
6,387 additions
and
5 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
emBODY/eBcode/arch-arm/board/amcfoc/procs/loader/bin/.placeholder.txt
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 @@ | ||
.placeholder |
40 changes: 40 additions & 0 deletions
40
emBODY/eBcode/arch-arm/board/amcfoc/procs/loader/cfg/amc.2cm4.loader.sct
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,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) | ||
; } | ||
|
||
|
||
|
33 changes: 33 additions & 0 deletions
33
emBODY/eBcode/arch-arm/board/amcfoc/procs/loader/cfg/amcfoc.2cm4-template-loader.sct
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,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) | ||
} | ||
|
||
|
||
} |
621 changes: 621 additions & 0 deletions
621
emBODY/eBcode/arch-arm/board/amcfoc/procs/loader/cfg/stm32hal.h7.startup.amcfoc.CM4.s
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.