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
Jeff Epler
fb6f4c938c
tweak coverage build configuration
2023-09-22 14:26:51 -05:00
Jeff Epler
d1ee906afd
fix dependency on generated header
2023-09-22 14:14:07 -05:00
Jeff Epler
2cc07aef73
dummy RUN_BACKGROUND_TASKS for unix port
2023-09-22 13:39:08 -05:00
Jeff Epler
87feeab922
fix ringbuf differences
2023-09-22 13:38:56 -05: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
Jeff Epler
e1fffe67a0
split heap doesn't build yet so don't test it
2023-09-22 10:40:34 -05:00
Jeff Epler
4902b76129
guard this file against being included twice
2023-09-22 10:40:21 -05:00
Luca Burelli
dd58be19ee
esp32: Fix Partition.writeblocks() partial write corruption.
...
To simulate a partial erase, the code reads a native block, erases it,
and writes back the data before and after the erased area. However, the
current logic was filling the area after the erased block with data
from the beginning of the native block-aligned data, instead of applying
the proper offset.
Fixes #12474 .
Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2023-09-21 17:49:48 +02: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
Jeff Epler
e7668ed91d
spelling
2023-09-20 11:23:34 -05:00
Jeff Epler
2b754b1f6b
spelling
2023-09-20 11:23:28 -05:00
Damien George
a3862e7267
stm32/powerctrlboot: Allow PLL1 Q and R outputs to be enabled on H5.
...
If a board needs these outputs then it can define MICROPY_HW_CLK_PLLQ/R.
It saves power to not enable them if they are not needed.
Signed-off-by: Damien George <damien@micropython.org>
2023-09-20 18:56:52 +10:00
Dan Halbert
4d175ab41a
convert to MP_DEFINED_CONST_OBJ_TYPE()
2023-09-19 21:09:29 -04:00
Dan Halbert
2c0fa0f7dc
initial merge from v1.20.0; just satisifying conflicts
2023-09-19 11:10:12 -04:00
Dan Halbert
931a6adb81
fix CPU on Monster M4SK; turn off audiobusio by default on SAMD51G
2023-09-18 21:28:00 -04:00
Dan Halbert
9e9dff4bf2
Merge pull request #8400 from jepler/update-rgbmatrix-docs
...
rgbmatrix: more small doc improvements
2023-09-18 18:31:39 -04:00
Scott Shawcroft
e39fbf1b26
Merge pull request #8401 from jepler/i2c-expander-init
...
Fast(ish) special purpose bitbang spi over i2c
2023-09-18 13:19:49 -07:00
Scott Shawcroft
c86b3ae19f
Update to merged idf changes
2023-09-18 11:18:04 -07:00
Jeff Epler
faa6887050
Use faster bus & remove final delay
...
this pushes the LCD initialization down to about 1.3s.
2023-09-18 13:00:18 -05:00
Jeff Epler
67e15bb6a2
makerfabs_tft7: rename properties to match docs
2023-09-18 10:35:49 -05:00
Jeff Epler
75ba82cdb0
lcd_ev: add timings; rename TFT -> TFT_PINS
2023-09-18 10:35:36 -05:00
Jeff Epler
4c682262e6
lcd_ev: fix compile error
2023-09-18 10:35:05 -05:00
IhorNehrutsa
00930b213e
esp32/mphalport: Add function/line/file info to check_esp_err exception.
...
Currently, check_esp_err() raises an exception without a location in the
source code, eg:
Traceback (most recent call last):
File "<stdin>", line 8, in <module>
OSError: (-258, 'ESP_ERR_INVALID_ARG')
This commit allows additional error reporting (function, line and file) to
be enabled via detailed exceptions. Change the error reporting config to
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_DETAILED)
and then exception messages from IDF errors look like:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: (-258, "0x0102 ESP_ERR_INVALID_ARG in function 'set_duty_u16'
at line 342 in file './machine_pwm.c'")
Signed-off-by: Ihor Nehrutsa <IhorNehrutsa@gmail.com>
2023-09-18 11:26:43 +10:00
Scott Shawcroft
0547ef61f9
Update dotclock for IDF 5.0
2023-09-15 14:43:37 -07:00
Jeff Epler
2a78d16b54
add board.DISPLAY
2023-09-15 14:49:29 -05:00
Jeff Epler
68af5543af
set up display at reset (yayay!)
2023-09-15 14:46:28 -05:00
Jeff Epler
cff65bbbe2
esp32 lcd ev: fix pin assignments
2023-09-15 14:10:32 -05:00
iabdalkader
5473200aab
rp2/boards/ARDUINO_NANO_RP2040_CONNECT: Use standard HCI UART baudrate.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-15 16:48:20 +10:00
iabdalkader
9ea9e04ef6
rp2/mpconfigport: Disable BLE locking when MICROPY_PY_BLUETOOTH enabled.
...
Bluetooth code runs in the scheduler, so no locking/mutex is required.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-15 16:44:07 +10:00
iabdalkader
1976781d33
rp2/mpbthciport: Fix HCI UART config.
...
Fixes are:
- The baudrate argument is a keyword arg, it was passed before as a
positional arg.
- Use the port and baudrate arguments passed from higher level code instead
of the hard-coded port ID and baudrate, which would allow HCI drivers to
change baudrates.
- Increase UART char timeout and RX buffer size.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-15 16:43:15 +10:00
iabdalkader
6abe3e1714
rp2/mpbthciport: Switch to static scheduler nodes.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-15 16:42:50 +10:00
iabdalkader
7087880ce9
esp32/machine_pin: Fix null pointer access in machine_pin_find.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-15 13:44:50 +10:00
Wind-stormger
970e61c8b4
Update bpi_leaf_s3
2023-09-15 02:20:46 +00:00
Scott Shawcroft
4087960dfd
Fix MDNS. C3 works
2023-09-14 15:04:07 -07:00