Commit Graph

1338 Commits

Author SHA1 Message Date
Jeff Epler
de541cf155
Fix pointer-ness, const-ness of compressed messages
micropython puts the pointer-ness into the typedef; we can put the
const-ness there too.

this reduces the delta to micropython; for instance, emitinlinextensa
and emitinlinethumb now match upstream.
2023-10-25 21:40:11 +02:00
Jeff Epler
55874b6470
Rename compressed_string_t to mp_rom_error_text_t to match upstream 2023-10-25 08:14:13 +02:00
Scott Shawcroft
53bc6d4bd1
Fix docs build by splitting out support matrix 2023-10-24 16:20:51 -07:00
Scott Shawcroft
e62db5adcd
Fix native property setting from subclass 2023-10-24 16:20:51 -07:00
Scott Shawcroft
e1df598199
Split displayio hardware support from core
These are moved:
* Display -> busdisplay.BusDisplay
* FourWire -> fourwire.FourWire
* EPaperDisplay -> epaperdisplay.EPaperDisplay
* I2CDisplay -> i2cdisplaybus.I2CDisplayBus

`paralleldisplay` is now `paralleldisplaybus` (and registered as
`paralleldisplay` too).

Bus related helpers are split out of display_core into bus_core.
It is in still displayio since it is a dependency of both
busdisplay and epaperdisplay.

Fixes #7667
2023-10-24 15:43:34 -07:00
Dan Halbert
ec678a54ce
Merge pull request #8494 from tannewt/merge_in_8.2.7
Merge in 8.2.7
2023-10-23 21:52:25 -04:00
Scott Shawcroft
f9e63d9ac6
Merge pull request #8492 from jepler/maketranslation-levels
Add CIRCUITPY_MESSAGE_COMPRESSION_LEVEL
2023-10-23 14:41:12 -07:00
Scott Shawcroft
1430cc6e56
Merge pull request #8491 from RetiredWizard/v9debug
DotClock Touch Screen pin fixes/additions
2023-10-23 14:19:55 -07:00
RetiredWizard
caeaa947d6 Add board.I2C pin definitions to mpconfigboard.h 2023-10-22 12:27:25 -04:00
RetiredWizard
5effb26cd1 Pin name consistency changes 2023-10-22 03:21:03 -04:00
Seon Rozenblum
bdabf7c5d6 Fixed incorrect IO assignment for UM TinyWATCH S3 2023-10-22 17:53:25 +11:00
RetiredWizard
12a3a62ae5 Add GPIO pins broken out on Mabee connector 2023-10-21 22:49:34 -04:00
RetiredWizard
9d1b9b3c0d Add/Remove correct board level devices 2023-10-21 15:46:05 -04:00
RetiredWizard
8cc9038af0 Makerfabs pin name changes for consistency 2023-10-21 14:30:01 -04:00
Pascal Bakhuis
621805639b Added support the Waveshare ESP32-S3-Zero and GRB status LEDs 2023-10-21 01:22:46 +01:00
Seon Rozenblum
b960321680 Added Unexpected Maker BLING and TinyWATXH-S3 for Espressif port. 2023-10-21 09:51:13 +11:00
Scott Shawcroft
89467ecdab
Merge tag '8.2.7' into merge_in_8.2.7 2023-10-20 15:21:30 -07:00
Jeff Epler
7ab5252cdd
Add CIRCUITPY_MESSAGE_COMPRESSION_LEVEL
to trade compile speed & flash size

Initially enable the faster mode on rp2040 and espressif, where there's
usually plenty of flash available (these advanced techniques save hundreds
to thousands of bytes, which is important on a lot of old samd21 boards
but is a drop in the lake of a 4MB flash chip)
2023-10-20 19:18:18 +01:00
RetiredWizard
8e85358a72 DotClick Touch Screen pin fixes/additions 2023-10-20 00:45:21 -04:00
Melissa LeBlanc-Williams
d926e7d619 Add missing Ax pins for Qualia ESP32-S3 2023-10-18 14:11:30 -07:00
Scott Shawcroft
48f4b0f7cb
Switch to gcc 12.3 for arm32
Fixes #7432
2023-10-17 11:43:38 -07:00
Dan Halbert
f6601177e0
Merge pull request #8481 from dhalbert/v1.20-merge
Merge from MicroPython v1.20.0
2023-10-16 19:54:32 -04:00
Seon Rozenblum
4606af4ec2 Added Unexpected Maker BlizzardS3 board for Espressif port. 2023-10-15 17:46:17 +11:00
Scott Shawcroft
71bd1176f9
Merge pull request #8474 from jins-tkomoda/m5stack_atoms3
Added support for the M5stack atoms3
2023-10-12 14:13:17 -07:00
Scott Shawcroft
2de11f0c03
Merge pull request #8459 from tannewt/metro_s3_revb
Update Metro S3 pin mapping for Rev B
2023-10-12 14:11:23 -07:00
Taiki Komoda
33e90ba8fe Fix pid and clean comments 2023-10-12 13:33:56 +09:00
Scott Shawcroft
1f38293096
Fix ESP related issues 2023-10-11 14:11:29 -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
Taiki Komoda
d638aa07aa brightness is now functional 2023-10-09 12:18:50 +09:00
Taiki Komoda
96ae87e559 display is functional now 2023-10-08 23:51:18 +09:00
Tirtharaj Sinha
2047a8d485
Merge branch 'adafruit:8.2.x' into 8.2.x 2023-10-08 13:03:22 +05:30
Tirtharaj Sinha
448b8cb271 removing gpio (19,20) and adding gpio(33,34) and spi pins 2023-10-08 12:53:43 +05:30
Tirtharaj Sinha
c8926de26b removing gpio 19 and 20 as these pins are not broken out in board 2023-10-08 02:48:39 +05:30
Dan Halbert
a14a9a064a
Merge pull request #8463 from tirtharajsinha/8.2.x
Adding the missing pins(33,34) and SPI pins
2023-10-07 16:00:03 -04:00
Tirtharaj Sinha
d4b5146147 Adding the missing pins(33,34) and SPI pins 2023-10-07 23:42:09 +05:30
Scott Shawcroft
15c5e8c806
Fix pin adc unit check
IDF5 made 0 valid. Use the NO_ADC macro instead
2023-10-06 15:55:43 -07:00
Dan Halbert
c9d7195505
Merge pull request #8447 from tannewt/5.1_enable_rgbmatrix
Enable rgbmatrix on IDF 5.1
2023-10-06 17:14:04 -04:00
Scott Shawcroft
22bcb85dd5
Update esp-protocols
The commit was amended for PR review into espressif's repo. Next
time I'll make a branch to PR to them from.
2023-10-06 09:54:55 -07:00
Taiki Komoda
0dfafe2a4b wip 2023-10-06 23:17:36 +09:00
Scott Shawcroft
4d2bc35d40
Re-enable rgbmatrix on IDF 5.1 2023-10-05 14:56:11 -07:00
Dan Halbert
06765ccfa6 RP2040 now builds 2023-10-05 14:49:49 -04:00
Scott Shawcroft
2e6ef78227
Update Metro S3 pin mapping for Rev B 2023-10-04 09:43:41 -07:00
Scott Shawcroft
a15c111d5c
Merge pull request #7718 from microdev1/watchdog-rp
Update WatchDog implementation
2023-10-02 14:17:29 -07:00
Dan Halbert
5327487c1c
Merge pull request #8446 from tannewt/rgbmatrix_memory_fix
Improve RGBMatrix allocation tracking
2023-09-29 22:31:00 -04:00
Scott Shawcroft
4c21f22114
Improve RGBMatrix allocation tracking
This prevents leaks but not all use-after-free issues.
2023-09-29 14:55:42 -07:00
Dan Halbert
68a2927385 MP_REGISTER_ROOT_POINTER for port-specific root pointers 2023-09-29 15:46:42 -04:00
Dan Halbert
1c388ab315 finish converting to MP_REGISTER_ROOT_POINTER() 2023-09-29 10:49:34 -04:00
MakerM0
7aa85353e7
Update mpconfigboard.mk 2023-09-29 16:32:33 +08:00
MakerM0
79161dbeb2
Update sdkconfig 2023-09-29 13:47:47 +08:00
Jeff Epler
10aeb23789
remove console pins, that was wrong 2023-09-28 17:13:22 -05:00
Dan Halbert
76ff01452b Trinket M0 comes up; still very much wip 2023-09-28 16:22:10 -04:00
Jeff Epler
a9fce6c495
qualia: fixes for revision C
* neopixel removed, could not share function with DBLTAP
 * external SPI bus definition is settled
2023-09-27 18:13:21 -05:00
Jeff Epler
aa0d7aad83
Merge pull request #8440 from jepler/dotclock-overscan-rotation
Dotclock: fix overscan and rotation
2023-09-27 18:07:50 -05:00
Jeff Epler
c1a98e460a
Merge pull request #8439 from tannewt/fix_for_make_quirk
Tweak for make quirk
2023-09-27 18:05:43 -05:00
Jeff Epler
f80d08e207
Make dot clock displays with a masked portion on the left work 2023-09-27 15:15:32 -05:00
Scott Shawcroft
3684640ada
Merge pull request #8430 from jepler/dotclock-enhancements
Dotclock enhancements
2023-09-27 11:39:37 -07:00
Scott Shawcroft
ad837d44ed
Tweak for make quirk 2023-09-27 09:17:07 -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
Jeff Epler
3d3061f6f7
fix qualia board definition 2023-09-26 08:33:27 -05:00
Jeff Epler
1c2362b758
bump qualia psram to 120MHz 2023-09-26 08:33:10 -05:00
Jeff Epler
3af5cbc312
bump ram to 120MHz 2023-09-26 07:49:00 -05:00
Jeff Epler
03141d40af
espressif: i2c: initialize "has_lock"
Otherwise, a stack-constructed i2c instance might get some other value
here.
2023-09-26 07:48:59 -05:00
Jeff Epler
747b6e8d2e
enable LCD_RGB_RESTART_IN_VSYNC
this "should" turn permanent tearing into temporary tearing.
2023-09-25 16:39:38 -05:00
Jeff Epler
6263f6af84
Switch to i2c init string for espressif lcd ev, expose values via board 2023-09-25 16:39:00 -05:00
Jeff Epler
65310ab615
update io expander table for rev C 2023-09-25 12:00:04 -05:00
Jeff Epler
ce22edba15
On Qualia, define board.TFT_IO_EXPANDER
these arguments make it easier to call ioexpander_send_init_sequence
2023-09-25 11:33:01 -05:00
MicroDev
27fd60d739
implement suggested changes
- update the docs
- split out common `watchdog_reset`
- revert to using `None` instead of `WatchDogMode.NONE`
2023-09-24 15:23:38 +00:00
MakerM0
761ac3b363
Update pins.c 2023-09-24 22:40:08 +08:00
MakerM0
6acce76181
Update pins.c 2023-09-24 22:35:31 +08:00
MakerM0
9284d25ad4
Update pins.c 2023-09-24 22:28:48 +08:00
MakerM0
e197493537
Update mpconfigboard.mk 2023-09-24 22:24:24 +08:00
MakerM0
1143d3e33a
Update mpconfigboard.h 2023-09-24 22:23:56 +08:00
MakerM0
ca4ecf043e
Update board.c 2023-09-24 22:23:12 +08:00
MakerM0
71e165b1fc
Update pins.c 2023-09-24 22:22:48 +08:00
MakerM0
918f93fc2c
Update mpconfigboard.mk 2023-09-24 22:08:00 +08:00
MakerM0
3913adf7fb
Update sdkconfig 2023-09-24 22:06:38 +08:00
MakerM0
c35839afc5
Update board.c 2023-09-24 22:05:34 +08:00
MakerM0
0507e7a00d
Update mpconfigboard.mk 2023-09-24 21:50:30 +08:00
MakerM0
5ffb7e7c83
Update mpconfigboard.mk 2023-09-24 21:38:30 +08:00
MakerM0
ab8e119510
Update sdkconfig 2023-09-24 21:17:39 +08:00
MakerM0
9ab8822c59
Update pins.c 2023-09-24 21:17:25 +08:00
MakerM0
6f77f0f163
Update mpconfigboard.h 2023-09-24 21:17:11 +08:00
MakerM0
6d7a08bcdc
Update board.c 2023-09-24 21:16:58 +08:00
MakerM0
12f35d1a0f
Update mpconfigboard.mk 2023-09-24 21:16:41 +08:00
MakerM0
a5ae99a5b6
Update mpconfigboard.mk 2023-09-24 21:12:49 +08:00
MakerM0
9d90680521
Add board def for MagiClick S3
The board is related here: https://github.com/MakerM0/MagiClick-esp32s3

VID&PID can be found here: https://github.com/espressif/usb-pids
2023-09-24 20:48:30 +08:00
MicroDev
05812e0618
Merge branch 'main' into watchdog-rp 2023-09-24 05:13:22 +00:00
Scott Shawcroft
c726e87344
Enable BLE on H2 devkit 2023-09-22 15:05:20 -07:00
Scott Shawcroft
faa445e347
Three more board fixes 2023-09-22 10:03:20 -07:00
Scott Shawcroft
1480d70d17
Fix builds
* Disable bleio on C3 with 4MB flash.
* Fix gpio include path in board.c's that use it.
2023-09-22 10:03:20 -07:00
Scott Shawcroft
16d1dc2be0
Update all target sdkconfig 2023-09-22 10:03:20 -07:00
Scott Shawcroft
6649b17fb5
H2 works 2023-09-22 10:03:20 -07:00
Scott Shawcroft
39192cc896
C6 works 2023-09-22 10:02:35 -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
Scott Shawcroft
d6b284ebb0
Merge pull request #8411 from tannewt/update-idf
Update to ESP-IDF 5.0
2023-09-22 09:45:35 -07:00
Scott Shawcroft
8f3c6422ee
Fix MDNS after the user turns off wifi
We need to reset our MDNS state instead of just the IDF's.
2023-09-20 14:46:42 -07:00
Scott Shawcroft
d4000023d8
Fix board def mistakes and cast 2023-09-20 11:45:45 -07:00
Dan Halbert
4d175ab41a convert to MP_DEFINED_CONST_OBJ_TYPE() 2023-09-19 21:09:29 -04:00