-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
358: Add microbit_v2 layout r=jrvanwhy a=alexandruradovici The PR adds the microbit_v2 memory layout and modifies `flash.sh` to (hopefully) work with both versions of libtock. It also adds the`microbit_v2` board to the Makefile, even tough Makefile uses libtock1. Co-authored-by: Alexandru Radovici <[email protected]>
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
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
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,9 @@ | ||
/* Layout for the micro:bit v2 board, used by the examples in this repository. */ | ||
|
||
MEMORY { | ||
FLASH (X) : ORIGIN = 0x00040000, LENGTH = 256K | ||
RAM (W) : ORIGIN = 0x20004000, LENGTH = 112K | ||
} | ||
|
||
TBF_HEADER_SIZE = 0x48; | ||
INCLUDE libtock_layout.ld |
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