Commit Graph

10664 Commits

Author SHA1 Message Date
Jozsef Kiraly 648ec1c0ed feat: Add support for Waveshare RP2040-Plus 2023-08-22 14:15:59 +01:00
Jozsef Kiraly 2ec145ba6c fix: Minor fixes for M5Paper 2023-08-22 11:44:52 +01:00
Jeff Epler d62bf6631b
Use a different way to force building sdkconfig early
the `Makefile:...` version broke the shared bindings matrix generation, as
it would fail if esp-idf wasn't in the environment (and we wouldn't want
it to do that much work anyway)
2023-08-21 20:48:42 -05:00
Dan Halbert eba1f9d4fe fix framebuffer size for pimoroni dvi base 2023-08-21 19:36:28 -04:00
Jeff Epler f9e99bd3c3
Fix picow build 2023-08-20 11:30:36 -05:00
Jeff Epler c122ca18fd
restore missing board.c file 2023-08-20 11:20:57 -05:00
Jeff Epler bb8e0ae76e
turn off some modules to save flash space 2023-08-20 11:18:46 -05:00
Jeff Epler d94ff9d1cf
turn off audiopwmio to save flash space 2023-08-20 11:14:41 -05:00
Jeff Epler 44c26d9d41
Ensure sdkconfig.h is built early, by making Makefile depend on it
Here's why this helps fix the build error:
If this file does not exist or is out of date, then it is generated
and then the Makefile is re-read.

I don't know why this worked before but stopped now; it must have
to do with the rework of header generation in the MP build system.
2023-08-20 11:08:43 -05:00
Jeff Epler e74ef8b960
ringbuf_alloc no longer has a long-lived argument 2023-08-20 10:15:56 -05:00
Jeff Epler a3a9c7a098
fix typo 2023-08-20 10:15:55 -05:00
Jeff Epler 6598fc0c42
pre-commit modifies these additional files on my system (WHY?) 2023-08-19 13:45:06 -05:00
Dan Halbert 10a022db87 consolidate and shorten some error messages 2023-08-19 12:39:54 -04:00
Dan Halbert e43c2fb7ba pre-commit uncrustify 2023-08-18 22:53:14 -04:00
Dan Halbert d9ed21ea07 pre-commit 2023-08-18 13:30:45 -04:00
Dan Halbert 6851faacaa Merge remote-tracking branch 'adafruit/main' into merge-micropython-v1.19.1 2023-08-18 13:29:39 -04:00
Dan Halbert bfccb77ec1 asyncio test fixes and asyncio library updates 2023-08-18 13:16:16 -04:00
Jozsef Kiraly 37352cf7ec fix: Apply pre-commit patch 2023-08-18 11:22:26 +01:00
Scott Shawcroft f93022b142
Two tweaks to mclk 2023-08-17 14:28:33 -07:00
Jozsef Kiraly 37d807509f port: Add M5Stack M5Paper board target 2023-08-17 21:22:26 +01:00
Scott Shawcroft 8c5c73df38
Add I2S MCLK support to iMX RT 2023-08-17 11:39:14 -07:00
Jeff Epler d0f313c1e8
Merge pull request #8270 from makermelissa/better-alphablend
Better alphablend features
2023-08-16 17:43:17 -05:00
Kattni Rembor 8b147ac748 Add SD_CS pin to Metro ESP32-S3 board definition. 2023-08-15 18:30:59 -04:00
Kattni Rembor 3012c275e7 Add SD_CS pin. 2023-08-15 18:09:42 -04:00
Jeff Epler 843fdbb250
Add a missing MP_PROTO_IMPLEMENT 2023-08-15 13:25:25 -05:00
Jeff Epler 94b89b7e57
enable exception chaining so we can run the test 2023-08-15 11:54:48 -05:00
Dan Halbert 3d48e87e60 jepler: fix 18 tests (redo commit to be correct) 2023-08-14 18:34:32 -04:00
Dan Halbert 545d434239 Revert "jepler: fix 18 tests"
This reverts commit 5ad35004cb.
2023-08-14 18:21:50 -04:00
Dan Halbert 5ad35004cb jepler: fix 18 tests 2023-08-14 17:53:38 -04:00
Dan Halbert b73f05fe64 turn off viper tests; thanks jepler 2023-08-14 16:43:07 -04:00
Scott Shawcroft 7567f71709
Merge pull request #8280 from dglaude/8.2.x-backport-metro-esp32s3
8.2.x backport metro esp32s3
2023-08-14 11:50:41 -07:00
Dan Halbert c823b9b2f6 force mpversion.h build early in silabs 2023-08-14 11:28:13 -04:00
Dan Halbert 8cf5b6e707 fixes to unix port support; thanks @jepler 2023-08-14 09:51:52 -04:00
Dan Halbert d582407b06 pre-commit fixes 2023-08-14 00:59:22 -04:00
Dan Halbert 2171e67c1b merge latest adafruit/main 2023-08-13 19:43:54 -04:00
Dan Halbert 27c7807693 silabs build needs work; other builds are working 2023-08-13 19:05:16 -04:00
Melissa LeBlanc-Williams 9d69ddc583 Add D0 and D1 2023-08-14 00:20:47 +02:00
Melissa LeBlanc-Williams 4c62db2d05 Add D pins 2023-08-14 00:20:24 +02:00
Melissa LeBlanc-Williams 8dd52430b6 Change to octal ram 2023-08-14 00:18:50 +02:00
Melissa LeBlanc-Williams 1b3993a29e Added initial Adafruit Metro ESP32-S3 2023-08-14 00:17:24 +02:00
Vladimír Smitka acd8896094 Fix RGB/BGR color order 2023-08-13 17:42:23 +02:00
Vladimir Smitka 2819c88207 Formatting 2023-08-13 17:41:16 +02:00
Vladimir Smitka d652c8d25c Add PicoPad support 2023-08-13 17:39:59 +02:00
Dan Halbert 10b94796c0 wip; fix more m_malloc and gc_alloc 2023-08-11 00:30:34 -04:00
Dan Halbert fe0e2f13bc wip; fix qstr processing 2023-08-10 20:06:32 -04:00
Scott Shawcroft 472e6bca4d
Merge pull request #8223 from jepler/sm-mayeexec
rp2: Add StateMachine(may_exec=, offset=)
2023-08-09 10:44:02 -07:00
Melissa LeBlanc-Williams db23a9c9fe Disable floppyio for feather m4 express + update docstring 2023-08-09 09:15:17 -07:00
Melissa LeBlanc-Williams 7a4edfaa9f Override D13 pin 2023-08-09 08:19:34 -07:00
Melissa LeBlanc-Williams ab638d4bf2 Merge branch 'main' of https://github.com/adafruit/circuitpython into arduino-nano-esp32s3 2023-08-09 08:08:03 -07:00
Dan Halbert 7432bbce65
Merge pull request #8271 from FrameworkComputer/rp2040-no-audio
raspberrypi: Allow build without audio
2023-08-09 08:53:35 -04:00
Daniel Schaefer 3c66a55341 raspberrypi: Allow build without audio
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-09 17:28:41 +08:00
Dan Halbert 2ff8667e75 wip; remove long-lived functionality; remove PR#2614
Trinket M0 compile has no compilation errors, but has link errors to fix.
2023-08-08 20:41:17 -04:00
Jeff Epler 10330b273c
Divide 'introspect_t' into inputs & outputs
leave as a single structure because it's more efficient to call
functions with 4 or fewer arguments, and having two struct pointers
would make `consider_instruction` have 5 arguments instead.
2023-08-08 10:44:12 -05:00
Dan Halbert 0d2c3c3f08 wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
Jeff Epler e06f836e95
add may_exec to parameter list 2023-08-07 16:28:35 -05:00
Jeff Epler 755fdfab7a
rename variable based on review 2023-08-07 16:26:57 -05:00
Jeff Epler 2077ac150b
Apply suggestions from code review
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-08-07 11:51:52 -05:00
Blake Ramsdell 432f928286 Add RUNMODE_UF2 handling for SAMD 2023-08-06 13:46:34 +00:00
Jeff Epler c918d8048d
correct more error detection 2023-08-05 14:46:50 -05:00
Jeff Epler 9a354a4eb8
fix checking for in-pin 2023-08-05 14:24:11 -05:00
Jeff Epler a6e8619940
fix 'uses extra pin' message 2023-08-05 14:24:03 -05:00
Jeff Epler 8c45abbd89
pass correct may_exec buffer length 2023-08-05 14:23:26 -05:00
Melissa LeBlanc-Williams 1d3b2b019a Update settings to match micropython 2023-08-04 08:54:22 -07:00
Melissa LeBlanc-Williams 3158315ac3 Merge branch 'main' of https://github.com/adafruit/circuitpython into arduino-nano-esp32s3 2023-08-04 08:48:37 -07:00
Jeff Epler 84d8224a54
set reserved psram for pycamera 2023-08-04 08:38:07 -05:00
Dan Halbert 465d1c673e wip 2023-08-03 23:29:00 -04:00
Jeff Epler d57f3c888d
Merge pull request #8242 from tannewt/check_host_init
Two small changes
2023-08-03 14:38:44 -05:00
Jeff Epler 67c5563eec
Apply -Wno-undef to just the needed file & remove incorrect -I arg 2023-08-03 10:20:25 -05:00
elpekenin 40e833c746 [Fix] Wrong fix of cache use for STM32 2023-08-02 20:13:52 +02:00
Scott Shawcroft 9cc4b4cd37
Merge pull request #8245 from jepler/esp32-camera-backlight-solarize
pycamera: backlight, solarize
2023-08-02 10:00:21 -07:00
Jeremy Littler f7cc20e936
Update pins.c 2023-08-02 11:01:44 -04:00
Jeremy Littler f9b98ce54d
Update pins.c 2023-08-02 10:57:46 -04:00
Jeremy Littler b88e359b00
Update pins.c 2023-08-02 10:41:46 -04:00
Jeremy Littler 37dbe3e24a
Update pins.c 2023-08-02 10:32:40 -04:00
Jeremy Littler 94ed725fd3
Update mpconfigboard.h 2023-08-02 10:24:58 -04:00
Jeff Epler 4e01e6bbe5
adafruit-esp32s3-camera: set up backlight at boot & add solarize
the backlight situation will be revisited with the next board prototype,
but it's good to prove this can be done.

Depends on https://github.com/adafruit/esp32-camera/pull/6 which should
be merged before this.
2023-08-02 08:09:13 -05:00
Jeff Epler 2b0f1cd087
espressif: fix dependencies in esp-idf modules
while developing esp-camera I had the problem that firmware.elf was
not regenerated if the only file I edited was in the esp32-camera
submodule.

By telling make that $(IDF_CMAKE_TARGETS), the list of .a fliles
produced by ninja-building esp-idf, depend on esp-idf-stamp and that
firmware.elf in turn depends on these files, the ninja build is re-run
on each make, which is reasonably quick if nothing needs to be rebuilt.
2023-08-02 07:52:45 -05:00
Scott Shawcroft 8baff0bf88
Merge pull request #8133 from dronecz/main
Add ES3ink board definition
2023-08-01 13:31:46 -07:00
Scott Shawcroft 0bf50d2d6e
Merge pull request #8215 from makermelissa/adafruit-metro-esp32s3
Added initial Adafruit Metro ESP32-S3
2023-08-01 13:30:06 -07:00
Scott Shawcroft 539f34f7fd
Three small changes
1. Raise an exception when creating a USB device when host isn't
  initialized.
2. Mark RP2040 dtcm_bss as NOLOAD since it doesn't need to be
  loaded (just zeroed.)
3. Fix submodule location for ulab to Jeff's copy.
2023-08-01 13:16:38 -07:00
Dan Halbert 0d4bc8c163 initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
Scott Shawcroft cfbfd53b00
Merge pull request #8235 from elpekenin/fix/stm32-cache-skip
Redo of #8228
2023-08-01 10:16:24 -07:00
Scott Shawcroft aecaab779b
Merge pull request #8241 from MakerClassCZ/picopad-rgb-fix
Fix RGB/BGR color order for Picopad
2023-08-01 09:55:36 -07:00
Jeff Epler 272a2dcdb0
Merge pull request #8218 from jepler/esp32-camera
Update the camera board to use ESP32-S3 microcontroller
2023-07-31 14:48:50 -05:00
Vladimír Smitka a9c828011a
Fix RGB/BGR color order 2023-07-31 12:22:27 +02:00
KB Sriram d5daa7ad27 boards/beetle-esp32-c3: fix sdkconfig minor typo.
Fixes https://github.com/adafruit/circuitpython/issues/8239
2023-07-30 22:13:10 -07:00
elpekenin 1ece85ee1e Fix logic (i think) 2023-07-28 23:49:45 +02:00
Melissa LeBlanc-Williams e931a526f1 Merge branch 'main' of https://github.com/adafruit/circuitpython into arduino-nano-esp32s3 2023-07-27 19:27:16 -07:00
Melissa LeBlanc-Williams 45b1c42be5 Add D0 and D1 2023-07-27 19:26:37 -07:00
Jeff Epler 6083de017a
fix method name in docstr 2023-07-27 20:09:13 -05:00
Dan Halbert f466a4373e
Merge pull request #8222 from tannewt/fat_window_align
Align fatfs window buffer for tinyusb
2023-07-27 20:35:23 -04:00
Melissa LeBlanc-Williams ffb1cf116d Add D pins 2023-07-27 16:46:15 -07:00
Melissa LeBlanc-Williams 3d210bfa45 Merge branch 'main' of https://github.com/adafruit/circuitpython into adafruit-metro-esp32s3 2023-07-27 16:33:19 -07:00
Jeff Epler 92e2134009
rp2: StateMachine: Allow loading programs at fixed offsets 2023-07-27 15:47:04 -05:00
Jeff Epler 5780d9a3d2
rp2: Add StateMachine.may_exec
and also sanity-check the init instructions, thanks to the newly
factored-out checker.

Closes: #8221
2023-07-27 15:47:01 -05:00
Scott Shawcroft e45a61f57e
Align fatfs window buffer for tinyusb
Also, update tinyusb.
2023-07-27 09:15:58 -07:00
Jeff Epler 020e4d2e0c
update camera submodule 2023-07-26 12:55:44 -05:00
Dan Halbert 5cc42d5041
Merge pull request #8126 from jepler/update-ulab-6.3.2
update ulab to 6.3.2
2023-07-26 11:54:42 -04:00
Dan Halbert fd83a09078
Merge pull request #8214 from MakerClassCZ/picopad
Add PicoPad support
2023-07-26 11:49:46 -04:00
Jeff Epler 46d7771152
tinyuf2 adopted the partition scheme called "1ota"
.. which irritated our partition table parser in build_memory_info, so
make it work again.
2023-07-26 09:41:10 -05:00
Jeff Epler c516870f89
switch camera to use the no-ota partition scheme
this gives us a comfortable few hundred kB flash space left for the app

1398912 bytes used,  763776 bytes free in flash firmware space out of 2162688 bytes (2112.0kB).
2023-07-26 08:38:59 -05:00
Jeff Epler 9edd8957a1
Add a "4MB without OTA" partition scheme
This is needed on the camera board, because we have a lot of code.
2023-07-26 08:38:30 -05:00
Jeff Epler f503b37b2b
espressif: allow setting FLASH_SDKCONFIG at board level 2023-07-26 08:32:25 -05:00
Jeff Epler 9a18524c30
simplify circuitpy_mpconfig with enable-if-any, -all
and make corresponding simplifications in shared-bindings-matrix,
but directly using the final defines from CFLAGS instead of the
status quo.

The net changes are to disable audiocore & audiomixer on some espressif
devices that have no audio output at all. Other than that, the
shared-bindings-matrix seems to be identical.
2023-07-25 19:56:08 -05:00
Melissa LeBlanc-Williams 6030d87025 Change to octal ram 2023-07-25 16:30:21 -07:00
Jeff Epler fd60cccb06
Re-enable ulab at the expense of some other modules
.. and gate audiomixer based on audiocore (should be no net change)

.. and get rid of now-redundant enables in the espressif mpconfigport
2023-07-25 16:01:11 -05:00
ladyada 45b6c84cdd Merge branch 'main' of github.com:ladyada/circuitpython 2023-07-25 16:13:47 -04:00
ladyada 767b7a0506 compiling 2023-07-25 16:12:53 -04:00
Limor "Ladyada" Fried 1303fe5378
Merge branch 'adafruit:main' into main 2023-07-25 16:10:42 -04:00
Jeff Epler 318191433d
disable gifio on feather_m4_can 2023-07-25 14:03:47 -05:00
Vladimir Smitka 58d6c3ac9d Formatting 2023-07-25 19:25:27 +02:00
Jeff Epler 6a5e4e6652
turn off terminalio in a few more builds for space 2023-07-25 11:19:16 -05:00
Jeff Epler 509ddf2f89
samd: disable some modules so updated ulab fits
* floppyio: disable on itsybitsy m4, metro m4 express & airlift, pybadge, pygamer, wio terminal
* gifio: disable on itsybitsy m4 express
* framebufferio: disable on treills m4 express, wio terminal
* terminalio: disable on metro m4 express/airlift for ja/ko/ru
2023-07-25 10:48:35 -05:00
Jeff Epler adc2dab3a9
disable ulab on pyb_nano_v2 2023-07-25 09:35:55 -05:00
Jeff Epler 8579766ede
Optimize ulab for size on samd51/same51 2023-07-25 09:35:49 -05:00
Vladimir Smitka c781204105 Add PicoPad support 2023-07-25 14:40:53 +02:00
Tod Kurt ae0ebfef2f ESP32 synthio channels to 12 2023-07-24 23:03:34 -04:00
Melissa LeBlanc-Williams 8f1ebdbd10 Added initial Adafruit Metro ESP32-S3 2023-07-24 18:41:52 -07:00
Dan Halbert 2d53627796
Merge pull request #8189 from todbot/esp32_synthio_channels
ESP32 synthio channels to 12
2023-07-24 21:39:00 -04:00
Melissa LeBlanc-Williams cd96198242 Ran pre-commit 2023-07-24 15:18:07 -07:00
Melissa LeBlanc-Williams f26d92fdb8 Add inverted board and fix pins 2023-07-24 15:11:22 -07:00
Melissa LeBlanc-Williams 7f8f1b37fd Fix pin names 2023-07-24 10:47:37 -07:00
Scott Shawcroft fff309b90a
Merge pull request #8164 from madcitygeek/add_luatos_core_esp32c3_ch343
Add luatos core esp32c3 ch343
2023-07-24 10:17:03 -07:00
Scott Shawcroft c22a31e023
Merge pull request #8194 from dhalbert/8.2.x-backport-8035-8181-metro-rp2040
8.2.x backport 8035 8181 metro rp2040
2023-07-24 10:10:53 -07:00
Scott Shawcroft 70d7b6ffb7
Merge pull request #8196 from dhalbert/8.2.x-backport-8127-metro-m1011-sd
8.2.x backport: add Adafruit Metro M7 1011 SD
2023-07-24 10:10:15 -07:00
Scott Shawcroft 03c1cde918
Merge pull request #8204 from dhalbert/8.2.x-backport-8156-datanoise-picoadk
8.2.x backport 8156 datanoise picoadk
2023-07-24 10:07:32 -07:00
Scott Shawcroft 2a99ec3fc3
Merge pull request #8203 from dhalbert/8.2.x-backport-8154-keebs-frood
8.2.x backport: Update 42. Keebs Frood support for Rev7
2023-07-24 09:49:38 -07:00
Scott Shawcroft 818bd8f043
Merge pull request #8202 from dhalbert/8.2.x-backport-8152-liatris-board
8.2.x backport 8152 liatris board
2023-07-24 09:49:11 -07:00
Scott Shawcroft f902e0d86b
Merge pull request #8201 from dhalbert/8.2.x-backport-8150-set-hostname
8.2.x backport: fix set hostname
2023-07-24 09:48:33 -07:00
Scott Shawcroft 99347aee1e
Merge pull request #8200 from dhalbert/8.2.x-backport-8142-makerdiary-nrf52840-connect
8.2.x backport: Added Makerdiary nRF52840 Connect Kit.
2023-07-24 09:48:11 -07:00
Scott Shawcroft eebff5cb77
Merge pull request #8198 from dhalbert/8.2.x-backport-8130-qtpy-esp32s3-m4r2
8.2.x backport: adafruit_qtpy_esp32s3_4mbflash_2mbpsram
2023-07-24 09:47:47 -07:00
Scott Shawcroft b901063eea
Merge pull request #8197 from dhalbert/8.2.x-backport-8129-s3-box-psram
8.2.x backport: Fix PSRAM on espressif ESP32S3 box and box lite
2023-07-24 09:46:42 -07:00
Dan Halbert 66a76d034e
Merge pull request #8187 from tannewt/three_small
Three small changes
2023-07-24 12:42:38 -04:00
Melissa LeBlanc-Williams a134eebefb Merge branch 'main' of https://github.com/adafruit/circuitpython into arduino-nano-esp32s3 2023-07-24 08:47:15 -07:00
Sylwester d84c69c056 Add NeoPixel Library for Datanoise PicoADK. 2023-07-23 12:14:13 -04:00
Sylwester a4b4f57ff1 Add Datanoise PicoADK 2023-07-23 12:07:30 -04:00
Sylwester b87ceb26aa Add Datanoise PicoADK 2023-07-23 12:07:30 -04:00
Petr Sedlacek df821bf22c Update 42. Keebs Frood support for Rev7 2023-07-23 11:59:49 -04:00
Leah Post 317cab87a7 Add new board: splitkb.com's Liatris 2023-07-23 11:57:44 -04:00
MicroDev b6d4488b31 fix set hostname 2023-07-23 11:56:05 -04:00
Zelin Cai 4dc9b0dde7 Added Makerdiary nRF52840 Connect Kit.
Signed-off-by: Zelin Cai <zelin@makerdiary.com>
2023-07-23 10:52:28 -04:00
Melissa LeBlanc-Williams 97a8d71356 Swapped address pins for Rev C 2023-07-23 10:50:07 -04:00
Dan Halbert 66d0d95f23 adafruit_qtpy_esp32s3_4mbflash_2mbpsram 2023-07-23 10:47:37 -04:00
Neradoc 31aa9b2bb0 Fix PSRAM on espressif ESP32S3 box and box lite 2023-07-23 10:22:45 -04:00
Dan Halbert 311f6b0c79 add Adafruit Metro M7 1011 SD 2023-07-23 10:19:42 -04:00
Jeff Epler 9a9fe1240d update metro rp2040 to work with 16MB flash 2023-07-23 10:05:54 -04:00
Dan Halbert 391bb1c45f Add Adafruit Metro RP2040 2023-07-23 10:00:56 -04:00
Dan Halbert 688f62a927
Merge pull request #8174 from UnexpectedCircuitPython/main
Added second I2C bus and IO for UM FeatherS3
2023-07-23 00:07:42 -04:00
Unexpected Maker 4bc12d9fb0
Update pins.c
Changed naming of the second I2C board reference to match how others name things.
2023-07-23 13:39:53 +10:00
Melissa LeBlanc-Williams e47e7bcdde Ran pre-commit 2023-07-21 14:50:24 -07:00