Skip to content

Fixes REPL not booting on heltec_esp32s3_wifi_lora_v3. #10408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 412 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
412 commits
Select commit Hold shift + click to select a range
8f2b7ba
Documentation updated.
relic-se Apr 16, 2025
14d455f
Use as basic delay when taps=None
relic-se Apr 16, 2025
55b0f15
Mark functions as NORETURN
jepler Apr 16, 2025
93e1b89
mark hardfault handler as not returning
jepler Apr 16, 2025
deb5348
make reset not return on broadcom
jepler Apr 16, 2025
26ab62b
Remove unneeded "post_boot_py"
jepler Apr 16, 2025
2693c85
Merge pull request #10257 from FoamyGuy/fix_arrayblit_args
tannewt Apr 16, 2025
9ec6c3a
Merge pull request #10261 from jepler/no-post_boot_py
tannewt Apr 16, 2025
29018ad
Merge pull request #10260 from jepler/noreturn-annotations
tannewt Apr 16, 2025
ef8501e
Merge pull request #10244 from dhalbert/remove-obsolete-task-queue-ops
tannewt Apr 16, 2025
59749b9
Set rp2pio mov_status_type (which can also be 'rxfifo' on the RP2040)…
burtyb Apr 16, 2025
3c17a1e
Fix explicit type conversion error.
relic-se Apr 16, 2025
a174de4
Fix implicit Optional error in docs.
relic-se Apr 16, 2025
973cd4b
Upgrade ESP-IDF v5.3.2 to v5.4.1.
eightycc Apr 16, 2025
94f1ec6
Get updated ESP-IDF branch circuitpython-v5.4.1.
eightycc Apr 16, 2025
45b8f76
ESP-IDF 5.4.1 update: Add esp_security component, fixup flash spi clo…
eightycc Apr 17, 2025
521fb5a
Workaround ESP-IDF issue #15035.
eightycc Apr 17, 2025
f834b77
Update ESP32 MSPI IOMUX pin names.
eightycc Apr 17, 2025
eca9304
Shrink non-FULL builds (SAMDs mostly)
tannewt Apr 17, 2025
010b8a2
Update esp-idf with cherry-picked commit 793e394 to resolve missing _…
eightycc Apr 18, 2025
c127f66
Add ESP-IDF component esp_security for BLE-only parts.
eightycc Apr 18, 2025
7cc3f10
Remove CIRCUITPY_ESPCAMERA from ESP32-S2 to free up DRAM.
eightycc Apr 18, 2025
bdbd4af
Add ESP-IDF component esp_security to ESP32-P4.
eightycc Apr 18, 2025
06d9ff4
Temporarily remove ULAB from ESP32-C6 to avoid flash overflow.
eightycc Apr 18, 2025
f011df2
Fixes for zephyr build
gamblor21 Apr 19, 2025
4b7d9c5
Add zephyr script
gamblor21 Apr 19, 2025
670d046
Merge pull request #10258 from relic-se/multi-tap-delay
gamblor21 Apr 19, 2025
87db7f9
Translated using Weblate (English (United Kingdom))
andibing Apr 18, 2025
fcc72cf
Merge remote-tracking branch 'origin/main'
weblate Apr 19, 2025
557c08a
Update translation files
weblate Apr 19, 2025
22519d8
Restore ESP_CAMERA to ESP32-S2, resolve dram overflow by specifying C…
eightycc Apr 19, 2025
fa863cf
Removing autogen files
gamblor21 Apr 19, 2025
fb34bc7
Revert "Removing autogen files"
gamblor21 Apr 19, 2025
eb53338
Revert "Fixes for zephyr build"
gamblor21 Apr 19, 2025
f6357d5
Change to how malloc is called
gamblor21 Apr 19, 2025
fa6a25e
Add user LED to pins.c
KanyonKris Apr 20, 2025
1ff3dff
add wifi.radio.power_management et al
dhalbert Apr 20, 2025
ef2a624
stub out wifi power management in zephyr
dhalbert Apr 20, 2025
ceda2f0
Merge pull request #10270 from weblate/weblate-circuitpython-main
dhalbert Apr 20, 2025
3478eea
Merge remote-tracking branch 'adafruit/main' into audioeffect-reverb
gamblor21 Apr 20, 2025
a8f29b4
Updated zephyr autogen files
gamblor21 Apr 20, 2025
b46532b
Oops old folders causing errors
gamblor21 Apr 20, 2025
ca38d29
Overwrite some autogen items incorrectly - fixed now
gamblor21 Apr 20, 2025
b1ce99a
Merge branch 'main' of https://github.com/adafruit/circuitpython into…
dhalbert Apr 21, 2025
517fd06
Don't NORETURN MP_WEAK functions
dhalbert Apr 21, 2025
8571634
Fix overridability for double typecode
tannewt Apr 21, 2025
061d3af
Merge pull request #10262 from burtyb/movStatusType1
tannewt Apr 21, 2025
5987adb
Merge pull request #10250 from dhalbert/rp2040-i2sout-swap
tannewt Apr 21, 2025
68e8136
Merge pull request #10275 from dhalbert/dont-no-return-weak-functions
tannewt Apr 21, 2025
b2c338b
Merge pull request #10196 from gamblor21/audioeffect-reverb
tannewt Apr 21, 2025
c0a52e5
Translated using Weblate (Swedish)
bergdahl Apr 21, 2025
5d58e0e
Merge remote-tracking branch 'origin/main'
weblate Apr 21, 2025
651e592
Update translation files
weblate Apr 21, 2025
657b3ba
Update pins.c
KanyonKris Apr 21, 2025
7d65991
Merge remote-tracking branch 'adafruit/main' into wifi-power-management
dhalbert Apr 21, 2025
d5865e5
Merge pull request #10276 from weblate/weblate-circuitpython-main
dhalbert Apr 21, 2025
b3ff084
Merge pull request #10269 from tannewt/shrink_samd
dhalbert Apr 21, 2025
dc325a3
Merge pull request #10273 from KanyonKris/patch-1
dhalbert Apr 21, 2025
952bea2
Run background tasks during display refresh
tannewt Apr 21, 2025
ba9e809
Revert changes in #10240 for RP2040.
relic-se Apr 21, 2025
443f829
Merge pull request #10278 from relic-se/rp2040_dma_buffer_realloc
tannewt Apr 22, 2025
3377765
Add working_directory for subsequent code file
tannewt Apr 4, 2025
7aadc84
Shrink some M4 builds by turning off I2CTarget
tannewt Apr 22, 2025
50382b2
No qstr hash on all SAMD21
tannewt Apr 22, 2025
08d964d
Merge pull request #10277 from tannewt/disable_audio_dma_channels
dhalbert Apr 22, 2025
2c179ad
Fix audio buffer realloc
tannewt Apr 22, 2025
dd81542
Merge pull request #10280 from tannewt/fix_audio_buffer_realloc
tannewt Apr 22, 2025
ba69a59
Merge pull request #10271 from dhalbert/wifi-power-management
tannewt Apr 22, 2025
28856db
Increase CFG_TUH_ENUMERATION_BUFSIZE
rianadon Apr 22, 2025
492f6e9
Merge pull request #10263 from tannewt/next_code_working_dir
tannewt Apr 22, 2025
c340596
Add selective collect to memory allocations
tannewt Apr 11, 2025
95123af
Remove duplicate `port_realloc` call on double-buffered audio dma
relic-se Apr 23, 2025
7e9c8bc
Translated using Weblate (Swedish)
bergdahl Apr 22, 2025
bcf37e0
Merge pull request #10285 from weblate/weblate-circuitpython-main
dhalbert Apr 23, 2025
c352e73
Board tweaks for size
tannewt Apr 23, 2025
53a856b
Merge pull request #10282 from relic-se/audio_dma_duplicate_realloc
tannewt Apr 23, 2025
f9ab642
Merge pull request #10281 from rianadon/enumeration-bufsize
tannewt Apr 23, 2025
ce75e5d
Add sat16 function in more locations
gamblor21 Apr 23, 2025
530ce2d
Accidently removed an int16_t
gamblor21 Apr 23, 2025
ea35839
Updated tests
gamblor21 Apr 23, 2025
aeb5bac
Remove *.rom.newlib-time.ld from link of esp32, esp32c3, and esp32s2…
eightycc Apr 24, 2025
1942d5e
Temporarily disable CIRCUITPY_CANIO for mixgo_ce_udisk board to work …
eightycc Apr 24, 2025
35ffb64
Apply suggestions from code review
tannewt Apr 24, 2025
91cf8fb
Make collect the default
tannewt Apr 24, 2025
7a360c3
Raise MICROPY_ALLOC_GC_STACK_SIZE when using PSRAM
tannewt Apr 24, 2025
8a28033
Always set current working dir
tannewt Apr 24, 2025
34a2211
Translated using Weblate (Chinese (Hanyu Pinyin))
hexthat Apr 24, 2025
e7e6399
Translated using Weblate (English (United Kingdom))
andibing Apr 24, 2025
62d16ce
Fix TLS for v5.4.1 update
dhalbert Apr 25, 2025
d5f89a1
pre-commit format fix
dhalbert Apr 25, 2025
f5aef15
Reduce USB static buffers for ESP32-S2
tannewt Apr 25, 2025
494f208
Merge branch 'shrink_host_enum_buffer' into gc_selective_collect
tannewt Apr 25, 2025
511df46
replace number with constant in Biquad
gamblor21 Apr 25, 2025
36bc41c
Merge pull request #10293 from tannewt/shrink_host_enum_buffer
tannewt Apr 25, 2025
d7655c1
Merge remote-tracking branch 'origin/main'
weblate Apr 25, 2025
3e777bb
Merge remote-tracking branch 'adafruit/main' into gc_selective_collect
tannewt Apr 25, 2025
5fcf8ae
Merge remote-tracking branch 'adafruit/main' into synthio_fixedpoint_fix
gamblor21 Apr 25, 2025
e7475ee
Fix Teensy41 CAN
tannewt Apr 25, 2025
e115623
Merge pull request #10292 from weblate/weblate-circuitpython-main
tannewt Apr 25, 2025
fa9b974
Merge pull request #10264 from tannewt/gc_selective_collect
dhalbert Apr 25, 2025
100f131
Merge remote-tracking branch 'adafruit/main' into fix_thonny_after_cw…
tannewt Apr 28, 2025
a1e2b0b
Merge pull request #10291 from tannewt/fix_thonny_after_cwd_change
dhalbert Apr 28, 2025
1e4d766
Merge pull request #10288 from gamblor21/synthio_fixedpoint_fix
gamblor21 Apr 28, 2025
a3ccaf9
Switch to Adafruit ESP-IDF repo branch circuitpython-v5.4.1.
eightycc Apr 29, 2025
f495e6d
Merge branch 'adafruit:main' into issue-10191
eightycc Apr 29, 2025
5cf7f29
Tweak audio playback on RP2
tannewt Apr 28, 2025
88f6117
Merge pull request #10299 from tannewt/fix_audio_buffer_retrigger
tannewt Apr 30, 2025
e35b1e9
Workaround Risc-V code gen problem causing Python interpreter crash.
eightycc May 1, 2025
bd551ba
boards/oxocard_science/board.c: Fix vertical offset for LCD screen
supcik May 1, 2025
b83d81c
board/oxocard_*/board.c: fix other boards as well
supcik May 1, 2025
e729849
Initial setup of phaser effect.
relic-se May 1, 2025
ba81c6b
Implement allpass filters.
relic-se May 1, 2025
e855e3e
Limit feedback range to 0.1 - 0.9
relic-se May 1, 2025
8a9d78a
use m_malloc for outter mappings pointers
FoamyGuy May 1, 2025
4215215
Convert floating point operations to fixed point and use `synthio_sat…
relic-se May 1, 2025
5c41950
Merge pull request #10306 from FoamyGuy/tilepalettemapper_fix
tannewt May 1, 2025
4742793
Merge pull request #10302 from supcik/main
tannewt May 1, 2025
7c64ac6
Merge pull request #10267 from eightycc/issue-10191
tannewt May 1, 2025
a6cd2f3
Merge pull request #10254 from BlitzCityDIY/main
tannewt May 1, 2025
0238240
Reduce data size of internal buffers.
relic-se May 2, 2025
054c0c1
Merge pull request #10304 from relic-se/phaser
tannewt May 2, 2025
dd253d0
Merge branch 'adafruit:main' into issue-10298
eightycc May 3, 2025
fba4e68
Fix finaliser in malloc helper
tannewt May 3, 2025
1f5ce96
Durable fix for RISC-V interpreter crash.
eightycc May 3, 2025
4ecc0e7
Merge pull request #10308 from tannewt/fix_finalisers
gamblor21 May 4, 2025
04b17e1
Merge pull request #10301 from eightycc/issue-10298
tannewt May 5, 2025
8c12ec2
Add end() method to MixerVoice to allow samples to finish playing bef…
rhammell May 5, 2025
2015367
Fix cp.org release PR creation
tannewt May 5, 2025
209d516
Update docstring
rhammell May 5, 2025
1c7a0cc
Update docstring
rhammell May 5, 2025
ba20540
Update shared-bindings/audiomixer/MixerVoice.c
rhammell May 6, 2025
2c80f37
Update shared-bindings/audiomixer/MixerVoice.c
rhammell May 6, 2025
bcda5a4
Update shared-bindings/audiomixer/MixerVoice.c
rhammell May 6, 2025
fa565e5
Update shared-bindings/audiomixer/MixerVoice.c
rhammell May 6, 2025
f840639
Update end() docstring
rhammell May 6, 2025
fd2500d
Update formatting
rhammell May 6, 2025
7b12bc8
Fix port_get_raw_ticks() for these ports:
eightycc May 6, 2025
fcf7df8
Improve mp_hal_delay_ms by implementing subtick resolution.
eightycc May 6, 2025
61071cb
Improve update to mp_hal_delay_ms:
eightycc May 7, 2025
b05e80e
Make supervisor_get_raw_subticks a static function _get_raw_subticks.
eightycc May 7, 2025
66093e8
Merge pull request #10312 from tannewt/sync_adabot_cp_org
eightycc May 7, 2025
5a88814
Fix imx microcontroller.pin
tannewt May 3, 2025
01da5c7
make TilePaletteMapper accept TileGrid as arg, make pixel_shader opti…
FoamyGuy May 7, 2025
f2de64c
set partial_change flag from mark_tile_dirty
FoamyGuy May 7, 2025
eb7fc97
fix docstring triple quote.
FoamyGuy May 7, 2025
9819e7a
Merge pull request #10317 from tannewt/fix_imx_pins
eightycc May 8, 2025
1b894c5
fix TileGrid type in docstring
FoamyGuy May 8, 2025
97950a5
Add missing linker fragment `esp32c3.rom.eco3_bt_funcs.ld` for ESP32-…
eightycc May 8, 2025
618e335
remove weblate badge from readme for latex docs builds
FoamyGuy May 8, 2025
4663b3f
add the prepare readme python script
FoamyGuy May 8, 2025
3da2914
For Espressif boards:
eightycc May 8, 2025
d142b54
Merge pull request #10322 from FoamyGuy/fix_latex_build
eightycc May 8, 2025
6f9b534
Merge branch 'main' into tilepalettemapper_tilegrid
FoamyGuy May 8, 2025
b00a617
Merge branch 'adafruit:main' into issue-10016
eightycc May 8, 2025
df7903d
Merge pull request #10321 from eightycc/issue-10016
tannewt May 8, 2025
07ec0c6
Merge pull request #10315 from eightycc/issue-9693
tannewt May 8, 2025
dc676f1
show 4 spaces in place of tab in Terminal
FoamyGuy May 8, 2025
5b621b0
format
FoamyGuy May 8, 2025
b044c4c
Merge pull request #10309 from rhammell/add-mixervoice-end-method
gamblor21 May 8, 2025
4fb7d44
pixel_shader back to required on TileGrid. TPM init with no tilegrid …
FoamyGuy May 8, 2025
2bec056
Factor out register saves
tannewt May 8, 2025
06a2fe1
Merge branch 'adafruit:main' into issue-9937
eightycc May 9, 2025
04b98ed
fix pixel_shader property name, add tilegrid property and set tilegri…
FoamyGuy May 9, 2025
6fcdf14
disable tilepalettemapper for overflowing boards
FoamyGuy May 9, 2025
781fb9e
Merge pull request #10328 from eightycc/issue-9937
tannewt May 9, 2025
71ba3ad
Merge pull request #10324 from FoamyGuy/tabs_in_terminal
tannewt May 9, 2025
a3506a7
Merge pull request #10318 from FoamyGuy/tilepalettemapper_tilegrid
tannewt May 9, 2025
55f0be2
Update translation files
weblate May 9, 2025
e6271b2
Shrink lolin_c3_mini
tannewt May 9, 2025
d0776d3
Merge pull request #10330 from weblate/weblate-circuitpython-main
tannewt May 9, 2025
3435f47
Remove non-standard sys.print_exception()
tannewt May 9, 2025
fc540b7
Fix terminal on rotation
tannewt May 9, 2025
5ba4f77
Merge pull request #10325 from tannewt/collect_rv32_registers
eightycc May 9, 2025
2601436
Fix vectorio in group tracking
tannewt May 9, 2025
99d4ea0
Merge pull request #10333 from tannewt/fix_terminal_rotate
eightycc May 9, 2025
a54e707
Fix duplicated error messages
bergdahl May 10, 2025
863e7a5
Fix wrong python command in Makefile
bergdahl May 10, 2025
739b242
Fix crashing bug in PR #10325 for RISC-V builds.
eightycc May 10, 2025
1cca691
Revert PR #10301, obsoleted by PR #10325.
eightycc May 10, 2025
98996d9
Translated using Weblate (Swedish)
bergdahl May 10, 2025
36d6da5
Merge pull request #10338 from weblate/weblate-circuitpython-main
tannewt May 12, 2025
0893345
Merge pull request #10337 from eightycc/pr-10325
tannewt May 12, 2025
419243a
Turn off codeop on c3 qtpy
tannewt May 12, 2025
61af6a8
Merge pull request #10334 from tannewt/vectorio_in_group
eightycc May 12, 2025
d82b91e
Remove old traceback type
tannewt May 12, 2025
e44bd14
Merge pull request #10332 from tannewt/remove_sys_print_exception
tannewt May 12, 2025
a0ec6f8
More variations of "Wifi" spelling
bergdahl May 13, 2025
6bf42f1
Merge pull request #10336 from jonnybergdahl/DupMessages
tannewt May 13, 2025
efcaa1c
Update translation files
weblate May 13, 2025
fd28576
Merge pull request #10341 from weblate/weblate-circuitpython-main
dhalbert May 13, 2025
0d1dd80
adafruit_feather_esp32s3_4mbflash_2mbpsram: remove use of OTA partiti…
dhalbert Apr 16, 2025
0f6d71a
Resolve Python Logger warnings
emmanuel-ferdman May 14, 2025
bab214b
Merge pull request #10343 from emmanuel-ferdman/main
tannewt May 14, 2025
1f4d1cf
Update tinyusb to improve direct USB host
tannewt Apr 22, 2025
86c5680
nordic: don't confuse microcontroller.reset() with deep sleep wakeup
dhalbert May 14, 2025
bbefbd6
Merge pull request #10344 from dhalbert/nordic-reset-reason-after-dee…
tannewt May 14, 2025
2dd9790
Merge pull request #10331 from tannewt/update_tinyusb_20250422
dhalbert May 14, 2025
7cd7631
Translated using Weblate (Swedish)
bergdahl May 14, 2025
b0ebbb1
Merge pull request #10347 from weblate/weblate-circuitpython-main
dhalbert May 15, 2025
87a714e
Migrate to modern datetime inteface
emmanuel-ferdman May 15, 2025
2a7b2b6
Update py/makeversionhdr.py
dhalbert May 15, 2025
1dc4628
Remove `gc_nbytes` check
relic-se May 15, 2025
3ee518e
adding adafruit sparkle motion stick
BlitzCityDIY May 15, 2025
ca2977b
Merge pull request #10352 from BlitzCityDIY/sparkle_stick
dhalbert May 15, 2025
01973e1
Merge pull request #10351 from relic-se/sdcardio-drive-fix
dhalbert May 15, 2025
5aa8404
Merge pull request #10350 from emmanuel-ferdman/main
dhalbert May 15, 2025
9072fe6
Merge pull request #10346 from dhalbert/feather-s3-4MB-no-ota
dhalbert May 15, 2025
5062057
fix dirty palette never being clean by setting dirty on shapes that d…
Neradoc Apr 6, 2025
1f3307e
Fix arm register unload area size.
eightycc May 17, 2025
3c3ae87
Merge pull request #10357 from eightycc/issue-10355
dhalbert May 17, 2025
d88fe10
Merge pull request #10356 from Neradoc/fix_dirty_palette
dhalbert May 17, 2025
0b7ab1e
enable USB host on teensy 4.0 (bottom pads)
Neradoc May 20, 2025
eb3698e
change pin to IR on sparkle motion stick
FoamyGuy May 20, 2025
2959f0a
Merge pull request #10364 from FoamyGuy/sparklemotionstick_irpin
dhalbert May 20, 2025
7d3dd30
i2ctarget: Add deinit() to I2CTargetRequest; remove close()
dhalbert May 20, 2025
8da8e31
I2CTargetRequest: do close in deinit
dhalbert May 21, 2025
c6e4d72
Merge pull request #10366 from dhalbert/i2ctargetrequest-deinit
dhalbert May 21, 2025
a0c9188
Merge remote-tracking branch 'adafruit/9.2.x' into merge-from-9.2.x-2…
dhalbert May 23, 2025
f219aad
shrink some builds
dhalbert May 23, 2025
ef9e14b
Merge pull request #10370 from dhalbert/merge-from-9.2.x-2025-05-23
eightycc May 23, 2025
af8de21
Merge pull request #10367 from Neradoc/add-USB-host-teensy-40
dhalbert May 23, 2025
953694d
Fix -Wold-style-definion errors in the raspberrypi port
jepler May 24, 2025
17bb1eb
Merge pull request #10372 from jepler/old-style-definition
eightycc May 25, 2025
837cfa0
Enable old-style-definition diagnostic on atmel-samd
jepler May 26, 2025
86fc1e1
Merge pull request #10375 from jepler/old-style-definition-samd
eightycc May 27, 2025
5cbecae
Enable -Werror=old-style-definition against more ports
jepler May 27, 2025
a4158a3
Fix old-style function definition
jepler May 27, 2025
116b29b
Merge pull request #10377 from jepler/old-style-definition-more-ports
eightycc May 27, 2025
fda497c
nordic: Fix BLE HID to work after deep sleep
dhalbert May 28, 2025
35b202f
Merge pull request #10381 from dhalbert/nrf-ble-deep-sleep-recovery
eightycc May 28, 2025
7f1beb6
improve keypad doc re RP2350 E-9 erratum
dhalbert May 28, 2025
c87ba36
Merge remote-tracking branch 'adafruit/9.2.x' into 9.2.x-merge-2025-0…
dhalbert May 28, 2025
d7dfe9c
Merge pull request #10382 from dhalbert/keypad-rp2350-doc
eightycc May 28, 2025
0028818
Merge pull request #10383 from dhalbert/9.2.x-merge-2025-05-28
eightycc May 28, 2025
7a99aff
switch to gcc 14.2Rel1
dhalbert May 29, 2025
ee7ed33
restore mpy-cross STATIC_BUILD checking
dhalbert May 30, 2025
84a73bf
.devcontainer/cortex-m-toolchain.sh: update to gcc14
dhalbert May 30, 2025
766b052
Merge pull request #10386 from dhalbert/gcc14
eightycc May 30, 2025
670fbb0
Merge pull request #10388 from dhalbert/mpy-cross-static-build-fix
eightycc May 30, 2025
e68a511
Update ping action version
tekktrik May 31, 2025
d7638e1
Merge pull request #10389 from tekktrik/dev/ping-action
dhalbert May 31, 2025
8c4639b
Translated using Weblate (Chinese (Hanyu Pinyin))
hexthat May 30, 2025
5a30fe8
Update pins.c
Timeline8 May 31, 2025
cd9ff8b
Merge pull request #10391 from weblate/weblate-circuitpython-main
dhalbert May 31, 2025
e13d0af
Merge pull request #10393 from Timeline8/patch-1
dhalbert May 31, 2025
6108958
Translated using Weblate (English (United Kingdom))
andibing Jun 3, 2025
d40fe25
Merge pull request #10401 from weblate/weblate-circuitpython-main
dhalbert Jun 4, 2025
0697ffc
fixed URL (has 14.2 twice in the url)
bablokb Jun 5, 2025
4889165
Merge pull request #10403 from bablokb/fix_devcontainer_toolchain
eightycc Jun 5, 2025
f49030c
Fixed REPL not booting. Changed GPIO21 to GPIO36 which controls the O…
baldengineer Jun 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .devcontainer/cortex-m-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ echo -e "[cortex-m-toolchain.sh] downloading and installing gcc-arm-non-eabi too
cd /workspaces

wget -qO gcc-arm-none-eabi.tar.xz \
https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz
https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz

tar -xJf gcc-arm-none-eabi.tar.xz
ln -s arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi gcc-arm-none-eabi
ln -s arm-gnu-toolchain-14.2.Rel1-x86_64-arm-none-eabi gcc-arm-none-eabi
rm -f gcc-arm-none-eabi.tar.xz

echo -e "[cortex-m-toolchain.sh] update PATH in environment"
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/deps/external/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
# When changing this update what Windows grabs too!
release: '13.2.Rel1'
release: '14.2.Rel1'

# espressif
- name: Get espressif toolchain
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/deps/ports/broadcom/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ runs:
steps:
- name: Get broadcom toolchain
run: |
wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-elf.tar.xz
sudo tar -C /usr --strip-components=1 -xaf arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-elf.tar.xz
sudo apt-get update
sudo apt-get install -y mtools
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/actions/deps/ports/espressif/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ runs:
run: |
echo >> $GITHUB_ENV "IDF_PATH=$GITHUB_WORKSPACE/ports/espressif/esp-idf"
echo >> $GITHUB_ENV "IDF_TOOLS_PATH=$GITHUB_WORKSPACE/.idf_tools"
echo >> $GITHUB_ENV "ESP_ROM_ELF_DIR=$GITHUB_WORKSPACE/.idf_tools"
shell: bash

- name: Get IDF commit
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ jobs:
python3 -c "import sys, locale; print(sys.getdefaultencoding(), locale.getpreferredencoding(False))"
- name: Install dependencies
run: |
wget --no-verbose -O gcc-arm.zip https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi.zip
unzip -q -d /tmp gcc-arm.zip
tar -C /tmp/arm-gnu-toolchain* -cf - . | tar -C /usr/local -xf -
wget --no-verbose -O gcc-arm.zip https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-mingw-w64-i686-arm-none-eabi.zip
unzip -q -d /tmp/arm-gnu-toolchain gcc-arm.zip
tar -C /tmp/arm-gnu-toolchain -cf - . | tar -C /usr/local -xf -
# We could use a venv instead, but that requires entering the venv on each run step
# that runs in its own shell. There are some actions that help with that, but not for msys2
# that I can find. (dhalbert)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-on-issue-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
permissions:
issues: write
steps:
- uses: tekktrik/issue-labeled-ping@v1
- uses: tekktrik/issue-labeled-ping@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
user: v923z
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,8 @@ TAGS
# clangd cache
##############
.cache

**/CLAUDE.local.md

# windsurf rules
.windsurfrules
7 changes: 4 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
[submodule "ports/espressif/esp-idf"]
path = ports/espressif/esp-idf
url = https://github.com/adafruit/esp-idf.git
branch = circuitpython-v5.3.2
branch = circuitpython-v5.4.1
[submodule "ports/espressif/esp-protocols"]
path = ports/espressif/esp-protocols
url = https://github.com/adafruit/esp-protocols.git
Expand Down Expand Up @@ -172,7 +172,8 @@
url = https://github.com/adafruit/Adafruit_CircuitPython_SimpleMath
[submodule "ports/raspberrypi/sdk"]
path = ports/raspberrypi/sdk
url = https://github.com/raspberrypi/pico-sdk.git
url = https://github.com/adafruit/pico-sdk.git
branch = force_inline_critical_section_2.1.1
[submodule "data/nvm.toml"]
path = data/nvm.toml
url = https://github.com/adafruit/nvm.toml.git
Expand Down Expand Up @@ -345,7 +346,7 @@
url = https://github.com/adafruit/Adafruit_CircuitPython_Wave.git
[submodule "ports/raspberrypi/lib/Pico-PIO-USB"]
path = ports/raspberrypi/lib/Pico-PIO-USB
url = https://github.com/adafruit/Pico-PIO-USB.git
url = https://github.com/sekigon-gonnoc/Pico-PIO-USB.git
branch = main
[submodule "lib/micropython-lib"]
path = lib/micropython-lib
Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,22 +156,28 @@ epub:
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."

latex:
$(PYTHON) docs/prepare_readme_for_latex.py
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
mv README.rst.bak README.rst
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."

# seems to be malfunctioning
latexpdf:
$(PYTHON) docs/prepare_readme_for_latex.py
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
mv README.rst.bak README.rst
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."

# seems to be malfunctioning
latexpdfja:
$(PYTHON) docs/prepare_readme_for_latex.py
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
mv README.rst.bak README.rst
@echo "Running LaTeX files through platex and dvipdfmx..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
Expand Down Expand Up @@ -236,7 +242,7 @@ pseudoxml:
.PHONY: all-source
all-source:

TRANSLATE_CHECK_SUBMODULES=if ! [ -f extmod/ulab/README.md ]; then python tools/ci_fetch_deps.py translate; fi
TRANSLATE_CHECK_SUBMODULES=if ! [ -f extmod/ulab/README.md ]; then $(PYTHON) tools/ci_fetch_deps.py translate; fi
TRANSLATE_COMMAND=find $(TRANSLATE_SOURCES) -type d \( $(TRANSLATE_SOURCES_EXC) \) -prune -o -type f \( -iname "*.c" -o -iname "*.h" \) -print | (LC_ALL=C sort) | xgettext -x locale/synthetic.pot -f- -L C -s --add-location=file --keyword=MP_ERROR_TEXT -o - | sed -e '/"POT-Creation-Date: /d'
locale/circuitpython.pot: all-source
$(TRANSLATE_CHECK_SUBMODULES)
Expand Down
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,11 +434,11 @@ def generate_redirects(app):
return

if not isinstance(app.builder, builders.StandaloneHTMLBuilder):
logging.warn(
logging.warning(
"The 'sphinxcontib-redirects' plugin is only supported "
"by the 'html' builder and subclasses. Skipping..."
)
logging.warn(f"Builder is {app.builder.name} ({type(app.builder)})")
logging.warning(f"Builder is {app.builder.name} ({type(app.builder)})")
return

with open(path) as redirects:
Expand Down
4 changes: 2 additions & 2 deletions devices/ble_hci/common-hal/_bleio/__init__.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ bool vm_used_ble;
void common_hal_bleio_init(void) {
}

void bleio_user_reset() {
void bleio_user_reset(void) {
// HCI doesn't support the BLE workflow so just do a full reset.
bleio_reset();
}

// Turn off BLE on a reset or reload.
void bleio_reset() {
void bleio_reset(void) {
// Create a UUID object for all CCCD's.
cccd_uuid.base.type = &bleio_uuid_type;
common_hal_bleio_uuid_construct(&cccd_uuid, BLE_UUID_CCCD, NULL);
Expand Down
14 changes: 14 additions & 0 deletions docs/environment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,18 @@ This feature is not enabled on boards that the CIRCUITPY_OS_GETENV (os CIRCUIPTY
flag has been set to 0. Currently this is primarily boards with limited flash including some
of the Atmel_samd boards based on the SAMD21/M0 microprocessor.

CIRCUITPY_TERMINAL_FONT
~~~~~~~~~~~~~~~~~~~~~~~
Specifies a custom font file path to use for the terminalio console instead of the default
``/fonts/terminal.lvfontbin``. This allows users to create and use custom fonts for the
CircuitPython console.

This feature requires both CIRCUITPY_OS_GETENV and CIRCUITPY_LVFONTIO to be enabled.

Example:

.. code-block::

CIRCUITPY_TERMINAL_FONT="/fonts/myfont.lvfontbin"

`boards that the terminalio core module is available on <https://docs.circuitpython.org/en/latest/shared-bindings/terminalio/>`_
18 changes: 18 additions & 0 deletions docs/prepare_readme_for_latex.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import shutil

with open("README.rst", "r") as f:
readme_content = f.read()

shutil.copyfile("README.rst", "README.rst.bak")

# turn badge into text only
modified_readme_content = readme_content.replace("|Weblate|", "Weblate", 1)

# remove image link
badge_link_lines = """.. |Weblate| image:: https://hosted.weblate.org/widgets/circuitpython/-/svg-badge.svg
:target: https://hosted.weblate.org/engage/circuitpython/?utm_source=widget"""

modified_readme_content = modified_readme_content.replace(badge_link_lines, "")

with open("README.rst", "w") as f:
f.write(modified_readme_content)
2 changes: 2 additions & 0 deletions docs/shared_bindings_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@

ADDITIONAL_MODULES = {
"_asyncio": "MICROPY_PY_ASYNCIO",
"_bleio (native)": "CIRCUITPY_BLEIO_NATIVE",
"_bleio (HCI co-processor)": "CIRCUITPY_BLEIO_HCI",
"_eve": "CIRCUITPY__EVE",
"adafruit_bus_device": "CIRCUITPY_BUSDEVICE",
"adafruit_pixelbuf": "CIRCUITPY_PIXELBUF",
Expand Down
26 changes: 23 additions & 3 deletions docs/workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,30 @@ The workflow APIs are documented here.
These USB interfaces are enabled by default on boards with USB support. They are usable once the
device has been plugged into a host.

### CIRCUITPY drive
### Mass Storage
CircuitPython exposes a standard mass storage (MSC) interface to enable file manipulation over a
standard interface. This interface works underneath the file system at the block level so using it
excludes other types of workflows from manipulating the file system at the same time.
standard interface. (This is how USB drives work.) This interface works underneath the file system at
the block level so using it excludes other types of workflows from manipulating the file system at
the same time.

CircuitPython 10.x adds multiple Logical Units (LUNs) to the mass storage interface. This allows for
multiple drives to be accessed and ejected independently.

#### CIRCUITPY drive
The CIRCUITPY drive is the main drive that CircuitPython uses. It is writable by the host by default
and read-only to CircuitPython. `storage.remount()` can be used to remount the drive to
CircuitPython as read-write.

#### CPSAVES drive
The board may also expose a CPSAVES drive. (This is based on the ``CIRCUITPY_SAVES_PARTITION_SIZE``
setting in ``mpconfigboard.h``.) It is a portion of the main flash that is writable by CircuitPython
by default. It is read-only to the host. `storage.remount()` can be used to remount the drive to the
host as read-write.

#### SD card drive
A few boards have SD card automounting. (This is based on the ``DEFAULT_SD`` settings in
``mpconfigboard.h``.) The card is writable from CircuitPython by default and read-only to the host.
`storage.remount()` can be used to remount the drive to the host as read-write.

### CDC serial
CircuitPython exposes one CDC USB interface for CircuitPython serial. This is a standard serial
Expand Down
5 changes: 0 additions & 5 deletions extmod/modasyncio.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,6 @@ static const mp_rom_map_elem_t task_queue_locals_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_push), MP_ROM_PTR(&task_queue_push_obj) },
{ MP_ROM_QSTR(MP_QSTR_pop), MP_ROM_PTR(&task_queue_pop_obj) },
{ MP_ROM_QSTR(MP_QSTR_remove), MP_ROM_PTR(&task_queue_remove_obj) },

// CIRCUITPY-CHANGE: Remove these in CircuitPython 10.0.0
{ MP_ROM_QSTR(MP_QSTR_push_head), MP_ROM_PTR(&task_queue_push_obj) },
{ MP_ROM_QSTR(MP_QSTR_push_sorted), MP_ROM_PTR(&task_queue_push_obj) },
{ MP_ROM_QSTR(MP_QSTR_pop_head), MP_ROM_PTR(&task_queue_pop_obj) },
};
static MP_DEFINE_CONST_DICT(task_queue_locals_dict, task_queue_locals_dict_table);

Expand Down
23 changes: 21 additions & 2 deletions extmod/vfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
#include "extmod/vfs_posix.h"
#endif


#if CIRCUITPY_SDCARDIO
#include "shared-module/sdcardio/__init__.h"
#endif

// For mp_vfs_proxy_call, the maximum number of additional args that can be passed.
// A fixed maximum size is used to avoid the need for a costly variable array.
#define PROXY_MAX_ARGS (2)
Expand All @@ -67,6 +72,10 @@ mp_vfs_mount_t *mp_vfs_lookup_path(const char *path, const char **path_out) {
// path is "" or "/" so return virtual root
return MP_VFS_ROOT;
}
// CIRCUITPY-CHANGE: Try and automount the SD card.
#if CIRCUITPY_SDCARDIO
automount_sd_card();
#endif
for (mp_vfs_mount_t *vfs = MP_STATE_VM(vfs_mount_table); vfs != NULL; vfs = vfs->next) {
size_t len = vfs->len - 1;
if (len == 0) {
Expand Down Expand Up @@ -367,8 +376,18 @@ mp_obj_t mp_vfs_getcwd(void) {
}
MP_DEFINE_CONST_FUN_OBJ_0(mp_vfs_getcwd_obj, mp_vfs_getcwd);

// CIRCUITPY-CHANGE: accessible from shared-module/os/__init__.c
mp_obj_t mp_vfs_ilistdir_it_iternext(mp_obj_t self_in) {
typedef struct _mp_vfs_ilistdir_it_t {
mp_obj_base_t base;
mp_fun_1_t iternext;
union {
mp_vfs_mount_t *vfs;
mp_obj_t iter;
} cur;
bool is_str;
bool is_iter;
} mp_vfs_ilistdir_it_t;

static mp_obj_t mp_vfs_ilistdir_it_iternext(mp_obj_t self_in) {
mp_vfs_ilistdir_it_t *self = MP_OBJ_TO_PTR(self_in);
if (self->is_iter) {
// continue delegating to root dir
Expand Down
13 changes: 0 additions & 13 deletions extmod/vfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,6 @@ typedef struct _mp_vfs_mount_t {
struct _mp_vfs_mount_t *next;
} mp_vfs_mount_t;

// CIRCUITPY-CHANGE: allow outside use of ilistdir_it_iternext
typedef struct _mp_vfs_ilistdir_it_t {
mp_obj_base_t base;
mp_fun_1_t iternext;
union {
mp_vfs_mount_t *vfs;
mp_obj_t iter;
} cur;
bool is_str;
bool is_iter;
} mp_vfs_ilistdir_it_t;

mp_obj_t mp_vfs_ilistdir_it_iternext(mp_obj_t self_in);
void mp_vfs_blockdev_init(mp_vfs_blockdev_t *self, mp_obj_t bdev);
int mp_vfs_blockdev_read(mp_vfs_blockdev_t *self, size_t block_num, size_t num_blocks, uint8_t *buf);
int mp_vfs_blockdev_read_ext(mp_vfs_blockdev_t *self, size_t block_num, size_t block_off, size_t len, uint8_t *buf);
Expand Down
6 changes: 5 additions & 1 deletion extmod/vfs_fat.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

// CIRCUITPY-CHANGE: extra includes
#include <string.h>
#include "py/gc.h"
#include "py/obj.h"
#include "py/objproperty.h"
#include "py/runtime.h"
Expand Down Expand Up @@ -342,7 +343,10 @@ static mp_obj_t fat_vfs_stat(mp_obj_t vfs_in, mp_obj_t path_in) {
FRESULT res = f_stat(&self->fatfs, path, &fno);
if (res != FR_OK) {
// CIRCUITPY-CHANGE
mp_raise_OSError_fresult(res);
if (gc_alloc_possible()) {
mp_raise_OSError_fresult(res);
}
return mp_const_none;
}
}

Expand Down
Loading