Commit Graph

10557 Commits

Author SHA1 Message Date
Melissa LeBlanc-Williams
db23a9c9fe Disable floppyio for feather m4 express + update docstring 2023-08-09 09:15:17 -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
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
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
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
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
Tod Kurt
a5fc766b2f ESP32 synthio channels to 12 2023-07-21 10:06:17 -07:00
Scott Shawcroft
924422eff8
Merge remote-tracking branch 'adafruit/main' into three_small 2023-07-21 09:37:26 -07:00
Scott Shawcroft
525dad71c3
Add RuntimeError_varg and fix imx capitalization 2023-07-20 16:00:43 -07:00
Jeff Epler
70cf0610cc
disable synthio on this board, it's very full 2023-07-20 14:18:03 -05:00
Scott Shawcroft
a56e97db1d
Align MP heap allocations to cache lines 2023-07-20 11:20:32 -07:00
Scott Shawcroft
5f082561b3
Unify some error strings 2023-07-20 11:20:32 -07:00