Skip to content

Commit

Permalink
Merge branch 'release/v1.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Oct 29, 2019
2 parents fb8a515 + db11fc6 commit f89e93b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion boards/OpenIMU330.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
],
"name": "Aceinna OpenIMU 330",
"upload": {
"offset_address": "0x08010000",
"maximum_ram_size": 65536,
"maximum_size": 131072,
"protocols": [
Expand Down
7 changes: 4 additions & 3 deletions builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def _jlink_cmd_script(env, source):
"h",
"loadbin %s,%s" % (
source,
board.get("upload").get("offset_address", "")),
board.get("upload").get("offset_address", "0x8000000")),
"r",
"q"
]
Expand Down Expand Up @@ -214,8 +214,9 @@ def _jlink_cmd_script(env, source):
openocd_args.extend(
debug_tools.get(upload_protocol).get("server").get("arguments", []))
openocd_args.extend([
"-c", "program {$SOURCE} %s verify reset; shutdown;" %
board.get("upload.offset_address", "")
"-c", "program %s %s verify reset; shutdown;" % (
env.subst(upload_source)[0].replace("\\", "/"), board.get(
"upload.offset_address", "0x8000000"))
])
openocd_args = [
f.replace("$PACKAGE_DIR",
Expand Down
1 change: 0 additions & 1 deletion examples/OpenIMU330BI/VG/board/OpenIMU330.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
],
"name": "Aceinna OpenIMU 330",
"upload": {
"flash_start": "0x08010000",
"maximum_ram_size": 65536,
"maximum_size": 131072,
"protocols": [
Expand Down
2 changes: 1 addition & 1 deletion platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"type": "git",
"url": "https://github.com/aceinna/platform-aceinna_imu.git"
},
"version": "1.2.0",
"version": "1.2.1",
"packageRepositories": [
"https://dl.bintray.com/platformio/dl-packages/manifest.json",
"http://dl.platformio.org/packages/manifest.json"
Expand Down

0 comments on commit f89e93b

Please sign in to comment.