Skip to content

Commit

Permalink
Merge branch 'release/v7.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed Jul 30, 2021
2 parents 92db3d6 + 058ae7a commit 9a08b0d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 115 deletions.
1 change: 1 addition & 0 deletions builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
else:
target_firm = env.ElfToHex(
join("$BUILD_DIR", "${PROGNAME}"), target_elf)
env.Depends(target_firm, "checkprogsize")

AlwaysBuild(env.Alias("nobuild", target_firm))
target_buildprog = env.Alias("buildprog", target_firm, target_firm)
Expand Down
114 changes: 2 additions & 112 deletions platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type": "git",
"url": "https://github.com/platformio/platform-nordicnrf51.git"
},
"version": "7.0.0",
"version": "7.1.0",
"frameworks": {
"arduino": {
"package": "framework-arduinonordicnrf5",
Expand Down Expand Up @@ -58,117 +58,7 @@
"type": "framework",
"optional": true,
"owner": "platformio",
"version": "~2.20500.0"
},
"framework-zephyr-cmsis": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.c3bd2094f9"
},
"framework-zephyr-canopennode": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.468d350028"
},
"framework-zephyr-civetweb": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.e6903b80c0"
},
"framework-zephyr-fatfs": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.1d1fcc725a"
},
"framework-zephyr-hal-nordic": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.f0d54d8449"
},
"framework-zephyr-hal-st": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.b52fdbf4b6"
},
"framework-zephyr-libmetal": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.9d4ee2c3cf"
},
"framework-zephyr-lvgl": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.31acbaa36e"
},
"framework-zephyr-mbedtls": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.24d84ecff1"
},
"framework-zephyr-mcuboot": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.3fc59410b6"
},
"framework-zephyr-mcumgr": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.43845e883f"
},
"framework-zephyr-open-amp": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.de1b85a130"
},
"framework-zephyr-loramac-node": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.3f545d76a2"
},
"framework-zephyr-openthread": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.1d668284a0"
},
"framework-zephyr-segger": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.38c79a447e"
},
"framework-zephyr-sof": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.b5b772dd61"
},
"framework-zephyr-tinycbor": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.40daca97b4"
},
"framework-zephyr-tinycrypt": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.3e9a49d267"
},
"framework-zephyr-littlefs": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.9e4498d1c7"
},
"framework-zephyr-mipi-sys-t": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.75e671550a"
},
"framework-zephyr-tfm-mcuboot": {
"optional": true,
"owner": "platformio",
"version": "1.7.0-rc1"
},
"framework-zephyr-trusted-firmware-m": {
"optional": true,
"owner": "platformio",
"version": "0.0.0-alpha+sha.96340fb6c0"
"version": "~2.20600.0"
},
"tool-sreccat": {
"owner": "platformio",
Expand Down
6 changes: 3 additions & 3 deletions platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ def configure_default_packages(self, variables, targets):
self.packages["tool-nrfjprog"]["optional"] = False
if "zephyr" in variables.get("pioframework", []):
for p in self.packages:
if p.startswith("framework-zephyr-") or p in (
"tool-cmake", "tool-dtc", "tool-ninja"):
if p in ("tool-cmake", "tool-dtc", "tool-ninja"):
self.packages[p]["optional"] = False
self.packages["toolchain-gccarmnoneeabi"]["version"] = "~1.80201.0"
if "windows" not in get_systype():
Expand Down Expand Up @@ -129,9 +128,10 @@ def _add_default_debug_tools(self, board):

def configure_debug_options(self, initial_debug_options, ide_data):
debug_options = copy.deepcopy(initial_debug_options)
server_executable = debug_options["server"]["executable"].lower()
adapter_speed = initial_debug_options.get("speed")
if adapter_speed:
server_options = debug_options.get("server") or {}
server_executable = server_options.get("executable", "").lower()
if "openocd" in server_executable:
debug_options["server"]["arguments"].extend(
["-c", "adapter speed %s" % adapter_speed]
Expand Down

0 comments on commit 9a08b0d

Please sign in to comment.