Angus Gratton
3e8aed9fcc
py/gc: Add "max new split" value in result of gc.mem_free().
...
Follow-up to 519c24dd487 when MICROPY_GC_SPLIT_HEAP_AUTO is enabled, based
on discussion at
https://github.com/orgs/micropython/discussions/12316#discussioncomment-6858007
gc.mem_free() is always a heuristic, but this makes it a more useful
heuristic for common use cases.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
2023-09-15 12:19:13 +10:00
Scott Shawcroft
4087960dfd
Fix MDNS. C3 works
2023-09-14 15:04:07 -07:00
Jeff Epler
ef9f75ead1
Correct idle status of SCK pin
2023-09-14 14:56:39 -05:00
Jeff Epler
4b41fdb586
Fast(ish) special purpose bitbang spi over i2c
...
with the i2c bus operating at 400kHz this achieves a 4.8kHz SPI clock
rate which could be worse.
It accepts the same style of init sequence as displayio.
tested by scoping the pins on the espressif lcd dev kit with a dummy init sequence:
```python
dotclockframebuffer.ioexpander_send_init_sequence(
bus=bus,
i2c_address=expander_addr,
gpio_address=1,
gpio_data_len=1,
gpio_data=0xff,
cs_bit=1,
mosi_bit=3,
clk_bit=2,
init_sequence=init_sequence)
```
2023-09-14 14:42:48 -05:00
Scott Shawcroft
952118f6c3
Update new boards. Reduce memory use in S2
2023-09-14 11:19:38 -07:00
Scott Shawcroft
17ced21e04
Merge pull request #8397 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-09-14 09:25:38 -07:00
Jeff Epler
0e78ab6ed5
rgbmatrix: document MTX_ADDRESS and MTX_COMMON
2023-09-14 10:38:01 -05:00
Jeff Epler
b61900f881
fixup! matrixportal_m4: Add board.MTX_ADDRESS and board.MTX_COMMON
2023-09-14 10:38:01 -05:00
Jeff Epler
9710ef0200
matrixportal_m4: Add board.MTX_ADDRESS and board.MTX_COMMON
...
This eases using the RGBMatrix constructor and matches the Matrixportal
S3.
2023-09-14 10:27:03 -05:00
Jeff Epler
9b20e31cf4
rgbmatrix: also explain the order of rgb and addr pins
2023-09-14 10:23:13 -05:00
Jeff Epler
18041ea596
rgbmatrix: more small doc improvements
...
* Not all ports support 30 RGB pins etc
* Link to the guide page on laying out multiple panels
2023-09-14 10:20:10 -05:00
iabdalkader
174bb28d8e
tools/ci.sh: Add ARDUINO_PORTENTA_C33 to RA CI build.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-15 00:10:52 +10:00
iabdalkader
7802eed14b
renesas-ra/boards/ARDUINO_PORTENTA_C33: Add support for Portenta C33.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-15 00:10:47 +10:00
iabdalkader
abd9bed667
renesas-ra/fsp_cfg: Add common FSP config files.
...
Add DAC, SCE and USB FSP config files.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:51:30 +10:00
iabdalkader
474bf4e1e3
extmod/network_esp_hosted: Add ESP-Hosted networking interface.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:51:30 +10:00
iabdalkader
ecedd78302
drivers/esp-hosted: Add host driver for ESP-Hosted firmware.
...
This is a host driver for ESP32 chips running the esp-hosted firmware,
which turns ESP32s into a WLAN/BT co-processor.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:51:30 +10: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
iabdalkader
31ff3ff3aa
renesas-ra: Add mbedTLS support.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:51:20 +10:00
iabdalkader
62e650f2c2
renesas-ra: Add networking support using lwIP.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:51:18 +10:00
iabdalkader
142e8b70e2
renesas-ra: Add RNG driver.
...
It needs to be enabled explicitly by a board.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:50:47 +10:00
iabdalkader
5b774517dc
renesas-ra: Add Bluetooth support using NimBLE.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:50:47 +10:00
iabdalkader
d89a0606e0
renesas-ra: Add TinyUSB support.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:50:45 +10:00
iabdalkader
816b88ad07
mimxrt/Makefile: Update to work with latest TinyUSB.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:35:54 +10:00
iabdalkader
86fd958212
lib/tinyusb: Update to the most recent master.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:35:34 +10:00
iabdalkader
0a3264ba96
shared/tinyusb: Support HS endpoint sizes.
...
Set buffer and endpoint sizes to 512 if the device is configured as a High
Speed device.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:34:30 +10:00
iabdalkader
09a2ee8e7f
renesas-ra/Makefile: Generate binary firmware output.
...
This patch generates a binary firmware image (*.bin) and removes the split
TEXT1/0_ADDR/SECTIONS because it's not configured for this port so it
generates broken binaries.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2023-09-14 23:34:18 +10:00
Damien George
397697aa83
py/persistentcode: Always close reader even if an exception is raised.
...
Fixes issue #3874 .
Signed-off-by: Damien George <damien@micropython.org>
2023-09-14 13:03:31 +10:00
Damien George
5e122b11ea
py/parse: Always free lexer even if an exception is raised.
...
Fixes issue #3843 .
Signed-off-by: Damien George <damien@micropython.org>
2023-09-14 13:03:31 +10:00
Damien George
c9089e71a1
py/runtime: Add helpers to call a general function on nlr jump callback.
...
Signed-off-by: Damien George <damien@micropython.org>
2023-09-14 13:03:31 +10:00
Scott Shawcroft
a3d37122a7
Fix PSRAM address
2023-09-13 11:40:09 -07:00
Scott Shawcroft
f357f4a3af
Size optimize 3 more boards
2023-09-13 11:40:09 -07:00
Scott Shawcroft
99726e255d
Switch to newlib nano
2023-09-13 11:40:09 -07:00
Scott Shawcroft
18fd0045f6
More kconfig updates
2023-09-13 11:40:09 -07:00
Scott Shawcroft
0a9ae1f6ba
Code size optimizations
2023-09-13 11:40:09 -07:00
Scott Shawcroft
cb6b4d0d4a
Fix esp-camera. 32 was dropped so the path doesn't have esp32 in it.
2023-09-13 11:40:09 -07:00
Scott Shawcroft
5937f4c0c0
Hopefully finish updating kconfig
2023-09-13 11:40:09 -07:00
Scott Shawcroft
2a45d95f9d
Use correct flash defaults
2023-09-13 11:40:09 -07:00
Scott Shawcroft
4b29862d30
Clean up more s2 sdkconfig
2023-09-13 11:40:08 -07:00
Scott Shawcroft
1ab083fab7
Support target specific kconfig source
2023-09-13 11:39:51 -07:00
Scott Shawcroft
73e04e84a2
Split out flash and psram settings from sdkconfig
2023-09-13 11:39:10 -07:00
Scott Shawcroft
6043874969
Split out ram dependent configs
2023-09-13 11:36:33 -07:00
Scott Shawcroft
feabf7b6ce
Use kconfiglib in sdkconfig update script
2023-09-13 11:36:33 -07:00
Scott Shawcroft
e90c07ed87
More esp fixing
2023-09-13 11:36:31 -07:00
MicroDev
7a7f1e6efa
fix arch switch statement in ulp
...
Co-authored-by: Casey Webb <caseywebb@protonmail.com>
2023-09-13 11:35:14 -07:00
MicroDev
ba22633fb0
temporarily disable rgbmatrix
on espressif
2023-09-13 11:35:14 -07:00
MicroDev
3d2cfa162a
enable paralleldisplay
on esp32
and esp32s3
2023-09-13 11:35:14 -07:00
MicroDev
8feb3bad29
refactor board config files
2023-09-13 11:35:14 -07:00
MicroDev
02da5ca22f
update espressif ci
2023-09-13 11:35:14 -07:00
MicroDev
c38972b51c
update ulp implementation
2023-09-13 11:35:14 -07:00
MicroDev
242a720593
fix psram crash
2023-09-13 11:35:14 -07:00