Skip to content

Commit

Permalink
Drop support for abandoned Briki boards
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Feb 16, 2024
1 parent 8a81489 commit 66ac38d
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 447 deletions.
60 changes: 0 additions & 60 deletions boards/briki_abc_samd21.json

This file was deleted.

60 changes: 0 additions & 60 deletions boards/briki_mbcwb_samd21.json

This file was deleted.

7 changes: 1 addition & 6 deletions builder/frameworks/arduino.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,4 @@
MCU_FAMILY = board.get(
"build.system", "sam" if build_mcu.startswith("at91") else "samd")

if env.BoardConfig().get("build.core", "").lower() == "mbcwb":
env.SConscript(
os.path.join(env.PioPlatform().get_package_dir(
"framework-arduino-mbcwb"), "tools", "platformio-samd-build.py"))
else:
env.SConscript(os.path.join("arduino", "arduino-%s.py" % MCU_FAMILY))
env.SConscript(os.path.join("arduino", "arduino-%s.py" % MCU_FAMILY))
18 changes: 0 additions & 18 deletions builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,24 +261,6 @@ def _jlink_cmd_script(env, source):
env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")
]

elif upload_protocol == "mbctool":
env.Replace(
UPLOADER=join(
platform.get_package_dir("tool-mbctool") or "", "bin", "mbctool"),
UPLOADERFLAGS=[
"--device", "samd",
"--speed", "1500000",
"--port", '"$UPLOAD_PORT"',
"--upload", "$SOURCES",
],
UPLOADCMD='"$UPLOADER" $UPLOADERFLAGS'
)
upload_actions = [
env.VerboseAction(env.AutodetectUploadPort,
"Looking for upload port..."),
env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")
]

elif upload_protocol in debug_tools:
openocd_args = [
"-d%d" % (2 if int(ARGUMENTS.get("PIOVERBOSE", 0)) else 1)
Expand Down
1 change: 0 additions & 1 deletion examples/arduino-briki-internal-libs/.gitignore

This file was deleted.

27 changes: 0 additions & 27 deletions examples/arduino-briki-internal-libs/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions examples/arduino-briki-internal-libs/include/README

This file was deleted.

46 changes: 0 additions & 46 deletions examples/arduino-briki-internal-libs/lib/README

This file was deleted.

19 changes: 0 additions & 19 deletions examples/arduino-briki-internal-libs/platformio.ini

This file was deleted.

Loading

0 comments on commit 66ac38d

Please sign in to comment.