Skip to content

AMC-BLDC - adding test project #441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.placeholder

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions emBODY/eBcode/arch-arm/board/amcbldc/test/proj/amcbldc-test.sct
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
;#! armcc -E
; the above must be on teh first line of teh scatter file ...

; Copyright (C) 2011 Department of Robotics Brain and Cognitive Sciences - Istituto Italiano di Tecnologia
; Author: Marco Accame
; email: [email protected]
; website: www.robotcub.org
; Permission is granted to copy, distribute, and/or modify this program
; under the terms of the GNU General Public License, version 2 or any
; later version published by the Free Software Foundation.
;
; A copy of the license can be found at
; http://www.robotcub.org/icub/license/gpl.txt
;
; This program is distributed in the hope that it will be useful, but
; WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
; Public License for more details
; due to a bug in linker (in some older versions), you may need to put the whole path ... thus change it by hand
;#include "D:\#inhere\sdl\embedded\arm\embody\body\embenv\envcom\eEmemorymap.h"
;#include "..\..\cfg\eEmemorymap.h"


; flash starts from 0x08000000 and its size is 512k = 0x80000
; bootloader starts at offset 0 abd has size 124k
; 080k is: LR_IROM1 0x08000000 0x00014000 { ; load region size_region
; 076k is: LR_IROM1 0x08000000 0x00013000 { ; load region size_region
; 124K is: LR_IROM1 0x08000000 0x0001F000 { ; load region size_region
; about ram: we allow a memory hole of 0x20 at start of RAM. then we use all RAM size - 0x20
; we have 128k = 0x20000 -> 0x1FFE0
; RW_IRAM1 0x20000020 0x1FFE0 { ; RW data
LR_IROM1 0x08000000 0x0001F000 { ; load region size_region
ER_IROM1 0x08000000 0x0001F000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
RW_IRAM1 0x20000020 0x1FFE0 { ; RW data
.ANY (+RW +ZI)
}
}




Loading