Commit graph

210 commits

Author SHA1 Message Date
Dan Halbert
1f68fffa13 merge from main 2024-09-10 16:36:32 -04:00
Scott Shawcroft
d6a3e5de00
Update to IDF 5.3.1
And update I2C timeouts to be tick agnostic
2024-09-09 16:53:19 -07:00
Dan Halbert
7812695281 non-conflict merge changes 2024-09-05 14:54:18 -04:00
Scott Shawcroft
cb6439c31d
Update PIO USB
0.6.0 had a buffer issue that is fixed in 0.6.1. Now we can use
upstream.
2024-08-28 14:00:46 -07:00
Dan Halbert
ac7e15f88a (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
Scott Shawcroft
cedd677969
Fix Funhouse and update to IDF 5.3
The Funhouse problem was due to a locking change for SPI. The
Funhouse is one of a few boards with DotStar status LEDs that use
SPI and have this bug.

I thought it might be IDF related so I updated it first. :-)

Fixes #9486
2024-08-15 11:36:37 -07:00
Bill Sideris
9b98039c48
Merge remote-tracking branch 'adafruit/main' into tws3 2024-08-12 17:08:53 +03:00
Dan Halbert
5f7c42e277
Merge pull request #9499 from tannewt/update_tinyusb_esp_fix
Switch back to TinyUSB upstream
2024-08-09 19:26:24 -04:00
Scott Shawcroft
f3d9a52c56
Switch back to TinyUSB upstream 2024-08-09 11:34:37 -07:00
Kong Wai Weng
7e4a69ff71 Removed duplicated submodules in the file .gitmodules. 2024-08-10 00:48:13 +08:00
Kong Wai Weng
91ddc9e9f4 Added IRIV IO Controller. 2024-08-10 00:40:52 +08:00
Scott Shawcroft
c6bd8e961a
Fix ESP tinyusb 2024-08-08 12:58:02 -07:00
Scott Shawcroft
4a55e96158
Fix RP2040 build with PIO USB 2024-08-08 11:07:38 -07:00
Bill Sideris
c4a8293ddb
Initial port of LILYGO T-Watch-S3 2024-08-04 16:37:21 +03:00
Eric Efrain
9f9f097e56
Apply suggestions from code review
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2024-06-24 11:34:04 -03:00
Eric Almendras
dc64eed504 add LED_Animation in frozen modules 2024-06-24 11:19:39 -03:00
Eric Almendras
7090116444 add frozen modules for ARCHI NEWSAN board 2024-06-19 16:00:49 -03:00
Scott Shawcroft
63aeb11d7e
Improve ESP BLE and turn on BLE workflow
The BLE workflow will broadcast publicly when the web workflow
isn't activated.
2024-06-11 16:21:40 -07:00
Bradán Lane
d04049df0e add bitmap_fonts to frozen 2024-04-24 14:38:20 -04:00
iabdalkader
438e522911 lib/arduino-lib: Add Arduino's external library.
This library contains external modules for Arduino boards.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2024-03-26 17:03:56 +11:00
Dan Halbert
dc69c29dac rename ports/nrf to ports/nordic 2024-03-19 17:36:57 -04:00
Damien George
305707b281 lib/berkeley-db-1.xx: Update submodule URL and version.
This updates the berkeley-db-1.xx submodule URL to a repository hosted
under the micropython organisation, and makes the following changes:

- Moves the berkeley-db header files to a single directory within the
  submodule, and references all these headers with a much fuller path,
  which prevents symbol clashes (eg with esp32 and queue.h).

- Removes unused/non-working files from berkeley-db, which removes all
  symlinks in that repo (symlinks don't play well under Windows).

- Allows injecting an external configuration header into berkeley-db, so
  the configuration doesn't have to be provided by -Dxx=yy flags to the
  compiler (and possibly clashing with other symbols).

- Removes the advertising clause from the BSD 4-clause license of
  berkeley-db (see relevant commit and README.Impt.License.Change for
  details).

Signed-off-by: Damien George <damien@micropython.org>
2024-03-16 12:12:48 +11:00
iabdalkader
f6213ffc5c lib/libmetal: Add libmetal submodule.
libmetal provides an abstraction of the underlying hardware, to support
other OpenAMP components.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2024-03-15 17:35:39 +11:00
iabdalkader
5bed292c06 lib/open-amp: Add OpenAMP submodule.
OpenAMP framework provides a standard inter processor communications
infrastructure for RTOS and bare metal environments. There are 3 major
components in OpenAMP: libmetal, remoteproc and RPMsg. libmetal provides
abstraction of the low-level underlying hardware, remoteproc is used for
processor Life Cycle Management (LCM) like loading firmware, starting,
stopping a core etc., and RPMsg is a bus infrastructure that enables Inter
Processor Communications (IPC) between different cores.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2024-03-15 17:35:13 +11:00
Bob Abeles
1e7c80bda2 cyw43-driver: Update to upstream repo tag v1.0.3. 2024-03-08 09:22:50 -08:00
Scott Shawcroft
e0c6302b73
Improve RGBMatrix reliability
The guard against running when flash is disabled isn't perfect and
may lead to calling the row handler anyway. We were crashing due
to mp_hal_delay_us being in flash. So, move it to RAM.

Also move the panic handler to IRAM so we get nice output when this
happens.

Turn off JTAG by default so its pins can be used by code.py.

Fixes #8987
2024-03-05 12:29:05 -08:00
ladyada
655cf6f13f Fix I2C pins & add SHT4x froz 2024-03-05 11:33:52 -05:00
Scott Shawcroft
f6aa7b1511
Update tlsf
The original implementation couldn't allocate to a region that was
just freed even though the freed region was the same size as the
new request. This was due to allocation sizes being rounded up
during search but not when marking the region in use.

Fixes https://github.com/adafruit/Adafruit_Learning_System_Guides/issues/2746
2024-03-04 16:20:39 -08:00
Justin Myers
6b8fec1185 Test add ConnectionManager 2024-02-20 20:56:42 -08:00
Bob Abeles
348939567a cyw43-driver: Update to Adafruit fork 2024-01-30 06:05:49 -08:00
Abdul Salam A Haris
d018420a89 Added submodule libraries 2024-01-15 12:58:23 +08:00
Abdul Salam A Haris
0552ae9e67 Added EDU PICO 2024-01-15 09:43:59 +08:00
Scott Shawcroft
051ad4667f
Update to ESP IDF v5.1.2 2023-12-01 12:30:06 -08:00
Bill Sideris
a05259db00
Add CircuitPython_AXP313A 2023-11-18 13:09:01 +02:00
Scott Shawcroft
8137e2d6d2
Switch all ports to auto-growing split heap
This simplifies allocating outside of the VM because the VM doesn't
take up all remaining memory by default.

On ESP we delegate to the IDF for allocations. For all other ports,
we use TLSF to manage an outer "port" heap. The IDF uses TLSF
internally and we use their fork for the other ports.

This also removes the dynamic C stack sizing. It wasn't often used
and is not possible with a fixed outer heap.

Fixes #8512. Fixes #7334.
2023-11-01 15:24:16 -07:00
Scott Shawcroft
8b8944ab43
Update asyncio 2023-10-16 10:59:45 -07:00
Scott Shawcroft
9633c4e78f
Merge remote-tracking branch 'adafruit/main' into v1.20-merge 2023-10-11 11:21:57 -07:00
Scott Shawcroft
2910dea6fd
Almost fix extra_coverage test 2023-10-11 10:04:02 -07:00
Scott Shawcroft
3fdfb9bd32
Update ADC and I2S APIs for 5.1
This fixes ESP32 because the BufferedIn used the old ADC API and
I2S did too indirectly.

Fixes #8429
2023-09-26 16:06:54 -07:00
Scott Shawcroft
7bad82a219
C6 compiles, runs but wifi crashes 2023-09-22 10:02:35 -07:00
Scott Shawcroft
e22eefabd7
First stab at 5.1 update 2023-09-22 10:02:30 -07:00
018baf75d5
Add micropython-lib
this is needed during the unix coverage build
2023-09-22 10:38:21 -05:00
Scott Shawcroft
952118f6c3
Update new boards. Reduce memory use in S2 2023-09-14 11:19:38 -07:00
iabdalkader
dc5ea0c77d lib/protobuf-c: Add protobuf-c library.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:51:30 +10:00
MicroDev
a18e015888
update idf to v5.0 2023-09-13 11:33:51 -07:00
Dan Halbert
9f1d52601e merge from 8.2.x 2023-09-12 20:14:30 -04:00
Dan Halbert
58a21326b2 Update to new certificates submodule. 2023-09-06 19:36:48 -04:00
Dan Halbert
d871bc37c5 remove lib/certificates/nina-fw submodule 2023-09-06 15:56:26 -04:00
Scott Shawcroft
9daccc08c5
Forbidden pins are now correctly "in use" on ESP
This removes duplicate code to make debug UART pins in use via
never reset. It is done through forbidden pins automatically now.

Fixes #8288
2023-08-28 15:55:14 -07:00
Scott Shawcroft
2686beab36
Basic USB host support and keyboard workflow
Connects up read, write and ctrl_transfer to TinyUSB. USB Host
support is available on iMX RT and RP2040.

Fixes #6527 (imx) and fixes #5986 (rp2).
2023-07-10 14:22:21 -07:00