zephyr/scripts
George White f54e1eddbe runners: bossac: Arduino bootloader reset on macOS
Fixes compatibility with the Arduino bootloader reset mechanism when
using `west flash` on Darwin hosts.

stty is used to set the serial port in the bossac runner to 1200 baud on
Arduino ATSAMD21 bootloaders. The `-F` argument to stty is a GNU
coreutils addition, and thus it is missing from Darwin's BSD stty, so
change the flag to `-f` when we're not running on Linux.

On Darwin, set DEFAULT_BOSSAC_PORT to None and ask the user to select
one from a list of IOCalloutDevices reported by ioreg, modelled on the
get_board_snr from the nrfjprog runner. This is because serial port TTYs
are generated by the device driver, and therefore there is no safe
default.

Tested with an Arduino Nano 33 IoT board.

Signed-off-by: George White <me@galexite.uk>
2021-05-13 22:05:17 -04:00
..
checkpatch kernel: add an architecture specific structs header 2021-04-21 09:03:47 -04:00
ci ci: disable identifier_length scripts for now 2021-05-06 14:45:03 -04:00
coccinelle coccinelle: check reserved symbols based on a file 2021-04-30 22:09:43 -04:00
coredump debug: coredump: remove z_ prefix for stuff used outside subsys 2021-01-21 22:08:59 -05:00
dts devicetree: add mypy-based type checking 2021-05-05 13:13:12 -05:00
footprint script: add ram and rom total size to json file 2021-04-26 14:23:13 -04:00
gitlint
kconfig kernel: remove object tracing 2021-05-07 22:10:21 -04:00
logging/dictionary logging: add support for dictionary based logging 2021-04-28 22:25:42 +02:00
net net: scripts: Make test runner script fully generic 2020-11-20 16:07:59 +02:00
pylib/twister twister: Add ICCM/DCCM to list of overflow regions 2021-05-10 13:16:05 -05:00
release twister: change all occurances of sanitycheck 2020-12-11 14:13:02 -05:00
schemas/twister sanitycheck: Add a feature which can handle pytest script. 2021-05-04 19:08:18 -04:00
support
tests twister: remove some leftover sanitycheck mentions 2020-12-14 14:13:16 -05:00
tracing
west_commands runners: bossac: Arduino bootloader reset on macOS 2021-05-13 22:05:17 -04:00
.gitignore cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
checkpatch.pl scripts: checkpatch: do not require top-level Makefile 2021-03-29 10:59:28 -04:00
checkstack.pl
coccicheck
dir_is_writeable.py
file2hex.py
gen_app_partitions.py
gen_cfb_font_header.py
gen_gcov_files.py
gen_handles.py scripts: gen_handles.py: initialize handle.device 2021-04-30 15:16:02 +02:00
gen_kobject_list.py scripts: gen_kobject_list: no need to specify linker section 2021-04-27 13:32:00 -04:00
gen_kobject_placeholders.py kernel: generate placeholders for kobj tables before final build 2021-04-27 13:32:00 -04:00
gen_offset_header.py
gen_relocate_app.py scripts: Set align size for code relocated 2021-05-04 15:46:52 +02:00
gen_syscalls.py scripts: gen_syscalls: declare syscalls with void instead of zero args 2021-03-05 12:42:36 -05:00
get_maintainer.py
list_boards.py scripts: add list_boards.py 2021-01-15 15:07:49 -05:00
mergehex.py
parse_syscalls.py
process_gperf.py
requirements-base.txt requirements-base.txt: fix pylink package name 2021-05-03 16:24:09 -05:00
requirements-build-test.txt scripts: move pip pykwalify from requirements-build-test to -base 2021-01-18 16:56:24 -05:00
requirements-compliance.txt requirements-compliance: restrict junitparser version < 2 2021-01-13 07:58:37 -05:00
requirements-doc.txt doc: use pygments devicetree language support 2021-05-04 22:42:15 -04:00
requirements-extras.txt modules: nanopb: introduce new module 2021-04-08 14:57:55 +02:00
requirements-run-test.txt requirements: Update to pyocd 0.29 for LPC55S69 support 2021-01-21 15:53:22 -05:00
requirements.txt
series-push-hook.sh scripts: series-push-hook: Fix behavior after rebase 2020-10-21 07:16:54 -05:00
spelling.txt
subfolder_list.py
tags.sh scripts: Update paths on tags.sh 2021-02-19 05:28:09 -06:00
twister twister: improve set balancing 2021-04-22 21:15:07 -04:00
uf2conv.py cmake: Add UF2 as an additional build output option. 2021-02-23 21:11:04 +01:00
user_wordsize.py
valgrind.supp
west-commands.yml west: spdx: Generate SPDX 2.2 tag-value documents 2021-05-05 11:14:06 -04:00
zephyr_module.py scripts: modules: support west group feature 2021-01-29 08:06:17 -05:00