Skip to content

Commit

Permalink
ram sections
Browse files Browse the repository at this point in the history
  • Loading branch information
p3p committed Nov 3, 2019
1 parent 41297bb commit 2ac08e1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 49 deletions.
2 changes: 1 addition & 1 deletion boards/nxp_lpc1768.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"name": "NXP LPC1768",
"upload": {
"maximum_ram_size": 32568,
"maximum_ram_size": 32736,
"maximum_size": 475136,
"protocol": "mbed",
"protocols": [
Expand Down
2 changes: 1 addition & 1 deletion boards/nxp_lpc1769.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"name": "NXP LPC1769",
"upload": {
"maximum_ram_size": 32568,
"maximum_ram_size": 32736,
"maximum_size": 475136,
"protocol": "mbed",
"protocols": [
Expand Down
2 changes: 1 addition & 1 deletion builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
LIBS=["c", "gcc", "m"],

SIZEPROGREGEXP=r"^(?:\.text|\.ramcode|\.data|\.rodata|\.text.align|\.ARM.exidx)\s+(\d+).*",
SIZEDATAREGEXP=r"^(?:\.data|\.ramcode|\.bss|\.noinit)\s+(\d+).*",
SIZEDATAREGEXP=r"^(?:\.ram_isr_vector|\.ramcode|\.data|\.bss|\.noinit)\s+(\d+).*",
SIZECHECKCMD="$SIZETOOL -A -d $SOURCES",
SIZEPRINTCMD='$SIZETOOL -B -d $SOURCES',

Expand Down
45 changes: 2 additions & 43 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,8 @@
{
"framework-arduino-lpc176x": [
{
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.1.3.zip",
"version": "0.1.3"
},
{
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.1.2.zip",
"version": "0.1.2"
},
{
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.1.1.zip",
"version": "0.1.1"
},
{
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.1.0.zip",
"version": "0.1.0"
},
{
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.0.7.zip",
"version": "0.0.7"
},
{
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.0.6.zip",
"version": "0.0.6"
},
{
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.0.5.zip",
"version": "0.0.5"
},
{
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.0.4.zip",
"version": "0.0.4"
},
{
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.0.3.zip",
"version": "0.0.3"
},
{
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.0.2.zip",
"version": "0.0.2"
},
{
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.0.1.zip",
"version": "0.0.1"
"url": "https://github.com/p3p/pio-framework-arduino-lpc176x/archive/0.2.0.zip",
"version": "0.2.0"
}
]
}

6 changes: 3 additions & 3 deletions platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
},
"version": "0.1.0",
"packageRepositories": [
"https://raw.githubusercontent.com/p3p/pio-nxplpc-arduino-lpc176x/release/manifest.json",
"https://dl.bintray.com/platformio/dl-packages/manifest.json",
"http://dl.platformio.org/packages/manifest.json",
"https://raw.githubusercontent.com/p3p/pio-nxplpc-arduino-lpc176x/master/manifest.json"
"http://dl.platformio.org/packages/manifest.json"
],
"frameworks": {
"arduino": {
Expand All @@ -32,7 +32,7 @@
"framework-arduino-lpc176x": {
"type": "framework",
"optional": true,
"version": ">=0.0.2"
"version": ">=0.2.0"
},
"tool-openocd": {
"type": "debugger",
Expand Down

0 comments on commit 2ac08e1

Please sign in to comment.