Carlos Pereira Atencio
7ce71f4c8d
Fix macOS locale env for adafruit-nrfutil invocations
...
Arduino IDE v2 invokes tools in an environment where `LANG=""` and `LC_ALL=`
are not set to a specific encoding, as described in:
https://github.com/arduino/arduino-ide/issues/1513#issuecomment-1293383639
The bundled adafruit-nrfutil binary is a PyInstaller-frozen app using Click,
which expects the encoding to be set to UTF-8, and throws the following error
on macOS:
Traceback (most recent call last):
File "__main__.py", line 317, in <module>
File "click/core.py", line 1134, in __call__
File "click/core.py", line 1040, in main
File "click/_unicodefun.py", line 100, in _verify_python_env
RuntimeError: Click will abort further execution because Python was
configured to use ASCII as encoding for the environment.
Consult https://click.palletsprojects.com/unicode-support/ for
mitigation steps.
This system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the following
environment variables:
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
So, prepends `env LANG=C.UTF-8 LC_ALL=C.UTF-8` to each invokation in macOS,
via a `.macosx` override, to force a valid locale.
To avoid duplication, the tool arguments have been moved into a `.args`
variable that is included in the normal call and the `.macosx` override.
2026-03-17 23:55:44 +01:00
Ha Thach
ba4ad90d7e
bump up version to 1.7.0
2025-05-30 17:02:03 +07:00
hathach
5e11e7f436
update bootloader to 0.9.1
2024-06-05 18:08:01 +07:00
hathach
03bb265434
Merge branch 'refs/heads/master' into add-feather-833
...
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.6.2_s140_6.1.1.hex
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.6.2_s140_6.1.1.zip
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.7.0_s140_6.1.1.hex
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.7.0_s140_6.1.1.zip
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.9.0_s140_6.1.1.zip
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.6.2_s140_6.1.1.hex
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.6.2_s140_6.1.1.zip
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.7.0_s140_6.1.1.hex
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.7.0_s140_6.1.1.zip
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.9.0_s140_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.6.2_s132_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.6.2_s132_6.1.1.zip
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.7.0_s132_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.7.0_s132_6.1.1.zip
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.9.0_s132_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.9.0_s132_6.1.1.zip
bootloader/feather_nrf52840_express/feather_nrf52840_express_bootloader-0.7.0_s140_6.1.1.hex
bootloader/feather_nrf52840_express/feather_nrf52840_express_bootloader-0.7.0_s140_6.1.1.zip
bootloader/feather_nrf52840_express/feather_nrf52840_express_bootloader-0.9.0_s140_6.1.1.hex
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.7.0_s140_6.1.1.hex
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.7.0_s140_6.1.1.zip
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.9.0_s140_6.1.1.hex
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.9.0_s140_6.1.1.zip
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.6.2_s140_6.1.1.hex
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.6.2_s140_6.1.1.zip
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.7.0_s140_6.1.1.hex
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.7.0_s140_6.1.1.zip
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.9.0_s140_6.1.1.hex
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.9.0_s140_6.1.1.zip
bootloader/ledglasses_nrf52840/ledglasses_nrf52840_bootloader-0.6.2_s140_6.1.1.zip
bootloader/ledglasses_nrf52840/ledglasses_nrf52840_bootloader-0.9.0_s140_6.1.1.hex
bootloader/ledglasses_nrf52840/ledglasses_nrf52840_bootloader-0.9.0_s140_6.1.1.zip
bootloader/metro_nrf52840_express/metro_nrf52840_express_bootloader-0.7.0_s140_6.1.1.hex
bootloader/metro_nrf52840_express/metro_nrf52840_express_bootloader-0.7.0_s140_6.1.1.zip
bootloader/metro_nrf52840_express/metro_nrf52840_express_bootloader-0.9.0_s140_6.1.1.zip
bootloader/particle_xenon/particle_xenon_bootloader-0.6.2_s140_6.1.1.hex
bootloader/particle_xenon/particle_xenon_bootloader-0.6.2_s140_6.1.1.zip
bootloader/particle_xenon/particle_xenon_bootloader-0.7.0_s140_6.1.1.hex
bootloader/particle_xenon/particle_xenon_bootloader-0.9.0_s140_6.1.1.hex
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.6.2_s140_6.1.1.hex
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.6.2_s140_6.1.1.zip
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.7.0_s140_6.1.1.zip
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.9.0_s140_6.1.1.hex
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.9.0_s140_6.1.1.zip
2024-06-05 16:31:16 +07:00
hathach
ea46b6bc07
bump up version to 1.6.1
2024-05-09 21:40:52 +07:00
hathach
612fc1259d
update bootloader to 0.9.0
2024-05-09 21:40:08 +07:00
hathach
c0cba5794f
update bootloader to 0.8.3 to include fix for feather sense tft slash screen
2024-01-29 17:11:03 +07:00
hathach
caf559b6ed
update bootloader to 0.8.2 which support slash screen for clue and feather sense tft
2024-01-09 16:26:15 +07:00
hathach
f29505598a
update bootloader to 0.8.1 to include feather sense tft
2024-01-04 18:44:52 +07:00
Ha Thach
24b64253b5
bump up version for release 1.6.0
2023-11-30 17:15:13 +07:00
Ha Thach
cdfed5ad0a
Merge pull request #744 from smartmeio/threadsafe_realloc-calloc
...
Implemented thread-safe realloc and calloc
2023-11-30 16:50:32 +07:00
hathach
836f31c430
update bootloader to 0.8.0
2023-10-16 11:45:32 +07:00
Ha Thach
eb5012b659
increase version for release 1.5.0
2023-06-23 16:18:34 +07:00
hathach
a6dfad8cd2
add support for IDE v2 debug with openocd + cmsis-dap probe
...
jlink over openocd cfg is also added for reference. User with jlink want
to debug can either use debug_custom.json or change the
build.openocdscript to jlink_nrf52.cfg instead
2023-06-23 12:58:20 +07:00
Ha Thach
211566bc25
bump version for release
2023-03-23 23:53:50 +07:00
Dario Gogliandolo
b4427ae100
Implemented thread-safe realloc and calloc
2022-10-04 11:40:07 +02:00
hathach
c73245a635
add initial support for feather 52833
...
- add linker and startup for 833
- add s140 7.3.0 header API
- add build.uf2_family, update platform.txt
- update makeboards.py to generate 833
- add 833 variant based on 840
2022-07-13 19:33:44 +07:00
hathach
dfcc05731c
increase version to 1.3.0 for release
2022-01-10 22:51:20 +07:00
hathach
4760493129
add -Werror=return-type for all warning options
2022-01-06 18:16:46 +07:00
hathach
562fc7990e
increase version to 1.2.0
2021-11-26 15:18:59 +07:00
hathach
c37c682621
add menu debug out option to select output meessage via Serial, Serial1 or Segger RTT
2021-11-24 14:15:32 +07:00
hathach
abcd158e99
update changelog and bump up version for release 1.1.0
2021-09-24 21:00:08 +07:00
hathach
cbdd6c39b6
update bootloader to 0.6.2 with binaries for led glasses driver
2021-09-10 19:31:17 +07:00
hathach
660ca0724d
implemnent thread-safe malloc/free using --wrap linker option
2021-08-25 11:31:14 +07:00
hathach
801d3f07c2
increase version to 1.0.0
...
update bootloader binaries to 0.6.1
2021-08-18 14:17:09 +07:00
hathach
10f8db8ff0
update tinyusb libary to 1.2
...
fix example warnings
bump release to 0.24.0
2021-06-25 19:42:17 +07:00
hathach
1f1765fec2
prepare for 0.23.0 release
...
- increase version
- update included TinyUSB lib to 1.1.0
- update included bootloader binaries to 0.6.0 (also added update-.uf2)
2021-06-22 00:30:44 +07:00
hathach
556f36de17
clean up
2021-06-21 23:16:08 +07:00
hathach
10ad828bae
advertise ok, have issue with IMU begin
2021-06-07 20:53:20 +07:00
hathach
cf004e0a1d
update cmsis from 5.4.0 to 5.7.0, enable dsp libmath
...
add initial (wip) tf4micro-motion-kit sketch
2021-06-04 16:18:55 +07:00
hathach
6f81b468b0
update bootloader to 0.5.1
...
- add script to make update bootloader easier
2021-06-04 13:20:11 +07:00
Ha Thach
6c8c8d1715
increase version for testing cmsis package
2021-06-03 23:19:21 +07:00
hathach
a4a3b4eaf7
increase version for release 0.22.1
2021-05-26 12:51:43 +07:00
hathach
9947b1e95b
use cmsis 5.4 from tool package
2021-05-26 11:49:56 +07:00
hathach
fac153c91d
update bootloader from 0.3.2 to 0.5.0
2021-05-26 11:05:53 +07:00
hathach
50300a00d1
increase version for 0.22.0 release
...
also update changelog
2021-05-19 15:56:13 +07:00
hathach
7c6bf37f5e
add libraries/Adafruit_TinyUSB_Arduino as submodule
...
include Adafruit_USBD_CDC.h from submodule
2021-05-08 00:58:38 +07:00
hathach
228a51fdef
clean up
2021-05-07 17:29:52 +07:00
hathach
6aabe01674
Merge branch 'master' into develop
2020-09-11 19:16:30 +07:00
hathach
ce81b830a1
ready for release 0.21.0
2020-08-31 16:49:09 +07:00
hathach
8577afafc9
support precompiled library with compiler.libraries.ldflags
2020-08-27 13:15:17 +07:00
Henry Gabryjelski
29843dacb0
Redefine tone() without ISR
...
Other minor changes include:
* Enable RTT option for output
(requires platform.local.txt or boards.local.txt)
* Allow setting compiler optimization
(requires platform.local.txt or boards.local.txt)
2020-08-03 01:43:25 -07:00
Ha Thach
d70e86b9af
Merge branch 'master' into develop
2020-07-27 23:51:52 +07:00
hathach
81a78d74ed
update TinyUSB core to commit 11d669b4d2a40eb2fc5e51b2a9707a6de9d42363
...
Note: due to osal_freertos changes https://github.com/hathach/tinyusb/pull/468 the Adafruit_TinyUSB_Core_init() should be near the task scheduler (or better inside loop task) to prevent calling portYIELD_FROM_ISR() when scheduler not started
2020-07-22 21:54:55 +07:00
Ha Thach
e16f80b957
Merge branch 'master' into develop
2020-07-10 19:11:14 +07:00
hathach
eb50925296
upgrade cmsis to v5 to build with TFL
2020-07-05 15:16:10 +07:00
hathach
0d33b3309b
bump version for testing update toolchain
2020-07-03 15:49:58 +07:00
hathach
26223a28d4
Update TinyUSB to commit c59fa77 due to a bug in the stack
...
increase version and update changelog
2020-04-23 23:40:25 +07:00
hathach
3f0cfb2d3b
prepare for 0.20.0 release
2020-04-21 17:52:48 +07:00
Ha Thach
110b06c8f0
Merge pull request #471 from toxynoid/patch-4
...
Macro expansion ARDUINO_BSP_VERSION from platform.txt
2020-03-24 08:25:23 +07:00