Commit Graph

9525 Commits

Author SHA1 Message Date
Dan Halbert 19c1eb2d1d update esp-idf from latest release/v4.4 2023-01-25 15:44:43 -05:00
Scott Shawcroft f56a6a92f4
Merge pull request #7474 from RetiredWizard/broadcomRTC
Broadcom port: Add 'fake' RTC support
2023-01-25 11:33:17 -08:00
MicroDev 9487fb51a4
prettify espressif partition tables 2023-01-25 19:40:14 +05:30
RetiredWizard ecde85734c Remove a couple unneeded includes. 2023-01-23 15:17:24 -05:00
RetiredWizard fb4def2824 remove CIRCUITPY_RTC = 1 from mpconfigport.mk
Full build includes the RTC bits so don't need to enable it
in ports/broadcom/mpconfigport.mk
2023-01-23 14:52:20 -05:00
RetiredWizard 43b1d2618e
Remove erroneous left over comment 2023-01-23 14:19:27 -05:00
RetiredWizard 4f830f1bbb Fix parameter name and remove unnecessary function 2023-01-21 22:57:52 -05:00
RetiredWizard 3361ec390d Broadcom port: Add 'fake' RTC support
The Broadcom chips apparently don't have an RTC, so this PR uses the
timer to add dummy RTC responses and allow resonable results
from time.localtime() as well as setting the time and date while
the board is powered.
2023-01-21 22:19:10 -05:00
Dan Halbert 13338df9f1
Merge pull request #7462 from tannewt/fix_rp2_reset_reason
Tweak RP2040 reset reason
2023-01-19 21:10:57 -05:00
Dan Halbert f826904995
Merge pull request #7468 from DavePutz/issue_6975
Fixes for microcontroller.on_next_reset() on NRF
2023-01-19 19:03:46 -05:00
root a30f69aaed Fixes for microcontroller.on_next_reset() on NRF 2023-01-19 15:58:03 -06:00
Scott Shawcroft 8f9d1e241d
Save watch_for_interrupt_char to espressif too 2023-01-19 10:28:56 -08:00
Scott Shawcroft dca66eb98c
Watch for ctrl-c over BLE workflow serial
Before this, it was impossible to interrupt a running program over
BLE.
2023-01-18 16:28:35 -08:00
RetiredWizard f66e865510 Use low power RTC on mimxrt10xx (Teensy41) boards
There are apparently two RTC interfaces in the mimxrt10xx dev
kit. The low power interface access the battery backed up hardware.

I've tested this on the Teensy41 and it seems to
fix issue #4574
2023-01-17 23:30:36 -05:00
Scott Shawcroft 82a313065e
Tweak RP2040 reset reason
Watchdogs are used to reboot out of the bootloader. There is a
scratch register for user watchdogs. So use sdk functions to better
distinguish these.

Related to #7346
2023-01-17 16:12:08 -08:00
Scott Shawcroft 683e393878
Add comments for MDNS code 2023-01-17 14:07:30 -08:00
Dan Halbert 79b76f7bea
Merge pull request #7445 from tannewt/fix_rpi_mdns
Share the web workflow MDNS object with the user
2023-01-17 14:46:38 -05:00
Scott Shawcroft 8dffd33bdc
Merge pull request #7458 from MicroDev1/board
Remove pins reserved for flash on microC3
2023-01-17 11:08:26 -08:00
MicroDev cc6dbb3738
Merge pull request #7455 from dhalbert/ensure-nonblocking-socket
espressif: always make new client sockets be non-blocking
2023-01-16 10:44:23 +05:30
MicroDev 968d8c5b4b
remove pins reserved for flash on microC3 2023-01-16 10:33:34 +05:30
Dan Halbert 40534da92a espressif: always make new client sockets be non-blocking 2023-01-14 17:02:09 -05:00
Dan Halbert 79bd88349e
Merge pull request #7444 from tannewt/fix_start_end_w_arrays
Have start and end kwargs respect element size
2023-01-13 20:11:41 -05:00
Scott Shawcroft ee2fe993dd
Fix repeated MDNS use on Pico W 2023-01-12 14:56:06 -08:00
Scott Shawcroft 5c517b7e5a
Handle MDNS deinited better. 2023-01-12 11:24:20 -08:00
Scott Shawcroft 72f4a8ebbc
Merge pull request #7423 from 0xCB-dev/add-0xCB-Helios
add support for 0xCB Helios rp2040 controller
2023-01-11 16:27:36 -08:00
Scott Shawcroft aa2ba4d88b
Have start and end kwargs respect element size
The comment says it is `buffer[start:end]` but it assumed elements
were a single byte long. Now it correctly does multibyte elements
from array.array.

Fixes #4988
2023-01-11 15:36:41 -08:00
Scott Shawcroft 78c2fa5b28
Merge pull request #7437 from dhalbert/improve-type-checking-error-msgs
Improve type validation error messages, especially for pins
2023-01-11 10:54:22 -08:00
Dan Halbert 6fdaa78245
Merge pull request #7441 from tannewt/fix_light_sleep_after_deep
Ignore ESP-IDF wakeup cause when light sleeping
2023-01-10 20:09:59 -05:00
Dan Halbert 828fd7f445
Merge pull request #7439 from jepler/issue7438
Update cyw43-driver, fix no-password wifi
2023-01-10 20:09:38 -05:00
Scott Shawcroft fbd5f27371
Ignore ESP-IDF wakeup cause when light sleeping
The IDF's wakeup cause is only for deep sleep. Without ignoring it,
light sleep will wake up too early when done after a deep sleep
wake.

Fixes #7300
2023-01-10 15:34:15 -08:00
Scott Shawcroft 895cd269b3
Merge pull request #7422 from CDarius/m5stack_stick_c
Add M5Stack Stick C board
2023-01-10 14:48:47 -08:00
Jeff Epler e817563ca0
Update cyw43-driver, fix no-password wifi
Now, open wifi works on Pico W, so this closes #7438.

For the web workflow it's now OK to either
 * specify an empty password string (as before)
 * not have the CIRCUITPY_WIFI_PASSWORD key at all (new functionality)
2023-01-10 15:07:17 -06:00
Dan Halbert a974402542 Improve type validation errors messages, especially for pins 2023-01-10 15:02:55 -05:00
Jeff Epler 7db8f92554 Update some build flags to be more like the original tft feathers
.. enable camera and use default (better) optimization
2023-01-10 12:28:51 -06:00
Jeff Epler af70401aa6 Switch the reverse feathers to use modules with psram
.. by copying the sdkconfig files from the original s2/s3 tft feathers,
as the module is of the same type.
2023-01-10 12:18:53 -06:00
Jeff Epler 8f0e72ce2b Merge remote-tracking branch 'origin/main' into feather-esp32-s23-reverse-tft 2023-01-10 12:16:31 -06:00
Conor Burns 5aa8419455
add pid.codes VID and PID 2023-01-07 13:11:38 +01:00
RetiredWizard fa514e22b2 mimxrt10xx gpio pins don't deinit
It looks like a rogue "return" made it's way into the reset pin code
for the mimxrt10xx port resulting in pin.deinit() not working.
2023-01-05 19:17:08 -05:00
CDario a2668cdf0d Added PORT A i2c and slowed down display SPI 2023-01-05 22:30:10 +00:00
Conor Burns 56c0f0388d
add 0xCB Helios 2023-01-05 23:02:00 +01:00
CDario 208fb341e2 Added M5Stack Stick C board 2023-01-05 21:29:02 +00:00
Scott Shawcroft bb3a1c0a2a
Merge pull request #7153 from fonix232/feature/waveshare_rp2040_lcd_1_28
feat: Add support for Waveshare RP2040-LCD-1.28
2023-01-04 10:18:01 -08:00
Dan Halbert 4f78d63905
Merge pull request #7412 from 2231puppy/e-fidget
Add E-Fidget board
2023-01-04 12:32:27 -05:00
2231puppy 38ebe90f7c Remove unexposed pins from E-Fidget 2023-01-03 19:24:48 -05:00
2231puppy bea62030b7 Add E-Fidget board 2023-01-03 16:02:24 -05:00
Jozsef Kiraly f23a96fa09
Update config with proper USB VID 2023-01-03 20:31:18 +00:00
Jozsef Kiraly 463c8d0f11
Merge pull request #2 from adafruit/main
Merge main
2023-01-03 20:28:18 +00:00
Pontus Oldberg 14417a21d1
Merge branch 'adafruit:main' into main 2023-01-03 09:31:49 +01:00
Dan Halbert 3cf947ff8f
Merge pull request #7399 from CDarius/m5stack_atom_matrix
Added M5Stack Atom Matrix board
2023-01-02 13:28:04 -05:00
Dan Halbert 6d9d593a0d
Merge pull request #7401 from CDarius/m5stack_atom_echo
Added M5Stack Atom Echo board
2023-01-02 13:27:48 -05:00