Commit Graph

77 Commits

Author SHA1 Message Date
Jeff Epler
b47e23c9c5
Finish removing reserved psram 2023-11-13 15:31:35 -06:00
Jeff Epler
fb840159fb
Remove some stuff about reserved psram & supervisor allocations
this is obsoleted by the new split heap code 🎉
2023-11-13 12:55:26 -06:00
Dan Halbert
01be5f402e
Merge pull request #8553 from tannewt/switch_to_split_heap
Switch all ports to auto-growing split heap
2023-11-08 12:48:12 -05:00
Dan Halbert
616201109c correct MP_TYPE_FLAG_NONE to MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS
also remove #include py/objproperty.h where not needed
(side effect of looking for property uses)
2023-11-04 22:51:41 -04: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
Jeff Epler
774f6ac6ab
Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
Scott Shawcroft
e62db5adcd
Fix native property setting from subclass 2023-10-24 16:20:51 -07: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
Dan Halbert
06765ccfa6 RP2040 now builds 2023-10-05 14:49:49 -04:00
Dan Halbert
68a2927385 MP_REGISTER_ROOT_POINTER for port-specific root pointers 2023-09-29 15:46:42 -04:00
Dan Halbert
76ff01452b Trinket M0 comes up; still very much wip 2023-09-28 16:22:10 -04:00
Scott Shawcroft
e22eefabd7
First stab at 5.1 update 2023-09-22 10:02:30 -07:00
Dan Halbert
4d175ab41a convert to MP_DEFINED_CONST_OBJ_TYPE() 2023-09-19 21:09:29 -04:00
Scott Shawcroft
0547ef61f9
Update dotclock for IDF 5.0 2023-09-15 14:43:37 -07:00
MicroDev
3d2cfa162a
enable paralleldisplay on esp32 and esp32s3 2023-09-13 11:35:14 -07:00
Dan Halbert
e43c2fb7ba pre-commit uncrustify 2023-08-18 22:53:14 -04:00
Dan Halbert
d582407b06 pre-commit fixes 2023-08-14 00:59:22 -04:00
Dan Halbert
0d2c3c3f08 wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
MicroDev
f14861c245
fix espnow reinit, remove todos and improve docs 2023-03-29 10:21:58 +05:30
Neradoc
02c628a3c7
Update ports/espressif/bindings/espnow/ESPNow.c
Co-authored-by: MicroDev <70126934+microdev1@users.noreply.github.com>
2023-03-28 14:36:43 +02:00
Neradoc
a481c564da change Peer(encrypt=) to encrypted to match the property 2023-03-28 14:00:03 +02:00
Neradoc
19429d3626 espnow.Peer: fix argument types and default values 2023-03-27 16:58:44 +02:00
hathach
fecc1bdedb
fix typos (partial) detected by codepell 2023-03-18 22:17:02 +07:00
MicroDev
58f28b98be
minor doc fix
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-03-10 00:01:44 +05:30
MicroDev
874ba4ec68
revert Communicate class and more 2023-03-09 12:04:50 +05:30
MicroDev
6c54bc9fd9
more espnow changes
- improve docs
- use existing list methods
- change `recv` to `read`
2023-02-05 12:31:08 +05:30
MicroDev
c0a9c71057
replace ESPNowStats with Communicate class and more 2023-02-05 01:42:32 +05:30
MicroDev
ff95e96160
add ESPNowStats class and more 2023-02-04 01:23:45 +05:30
MicroDev
a1644f15ea
use esp error for espnow 2023-02-03 15:42:44 +05:30
MicroDev
cac90a6969
refactor common espnow functions 2023-02-03 12:35:06 +05:30
MicroDev
e30126e335
remove sync from espnow 2023-02-03 11:12:07 +05:30
MicroDev
f100838ae5
remove peers_table from espnow 2023-02-03 10:14:50 +05:30
MicroDev
14c3b52b8d
Merge branch 'main' into espnow 2023-02-03 01:37:07 +05:30
MicroDev
7028a3adfe
rework espnow api 2023-02-03 01:32:28 +05:30
MicroDev
ae4bb75e29
split espnow between bindings and common-hal 2023-02-01 18:53:58 +05:30
MicroDev
9c430d45d1
use truthiness of the object itself instead of any 2023-02-01 15:27:55 +05:30
MicroDev
d9d94eacca
run updated pre-commit 2023-02-01 13:38:41 +05:30
MicroDev
cda5689263
move esp32_camera to espcamera 2023-01-27 22:05:43 +05:30
MicroDev
9b98d485bb
switch to ReadableBuffer and WriteableBuffer 2023-01-26 14:13:38 +05:30
MicroDev
bfb77d0544
move ULPArch to Architecture 2023-01-26 13:01:14 +05:30
MicroDev
3c10dd8b5f
update espnow api 2023-01-23 23:51:10 +05:30
MicroDev
f15e84de6c
update espnow module 2023-01-23 09:42:39 +05:30
MicroDev
2bb12293f8
add ulp fsm 2023-01-21 17:44:08 +05:30
MicroDev
7330c638b9
minimal changes to make espnow work 2023-01-20 14:12:55 +05:30
MicroDev
59c3618cbd
clone espnow implementation
Co-authored-by: Nick Moore <nick@zoic.org>
Co-authored-by: shawwwn <shawwwn1@gmail.com>
Co-authored-by: glenn20 <glenn.moloney@gmail.com>
2023-01-20 13:19:59 +05:30
Dan Halbert
a974402542 Improve type validation errors messages, especially for pins 2023-01-10 15:02:55 -05:00
Scott Shawcroft
c16b42e972
Tweak arg checking and comments 2022-12-20 11:00:13 -05:00
Scott Shawcroft
f8ac1d9261
Rework the coproc API
It is now a generic `memorymap` API and an ESP specific `espulp` module.

Fixes #7218. Fixes #3234. Fixes #7300.
2022-12-19 14:08:38 -05:00
Radomir Dopieralski
90c805d858 esp32-camera: make the master_clock_pin really optional
The master_clock_pin was already optional, but not specifying it would
result in a crash. This fixes it, so it really can be omitted, when the
camera module has its own clock source built in.
2022-12-16 21:53:50 +01:00