Jeff Epler
774f6ac6ab
Switch to using MP_ERROR_TEXT instead of translate, globally
2023-10-30 09:49:06 +01: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
f6601177e0
Merge pull request #8481 from dhalbert/v1.20-merge
...
Merge from MicroPython v1.20.0
2023-10-16 19:54:32 -04:00
Dan Halbert
f78b35d06f
remove unused files; fix typo; remove debugging code
2023-10-16 19:23:35 -04:00
Scott Shawcroft
5a19971efd
Fix pre-commit
2023-10-16 10:46:11 -07:00
Scott Shawcroft
544553c542
Fix cyw43 (pico w) builds
2023-10-16 10:43:30 -07:00
Scott Shawcroft
9633c4e78f
Merge remote-tracking branch 'adafruit/main' into v1.20-merge
2023-10-11 11:21:57 -07:00
Sumitra Sharma
002961775b
Refine error message for rp2040 audiobusio I2S object creation
...
The error message for creating an I2S object on the rp2040 platform
in CircuitPython can be misleading when the word_select and data pins
are not sequential. This change updates the error message to provide
clearer guidance by specifying "GPIO pins" instead of just "pins".
The revised message now reads:
ValueError: Bit clock and word select must be sequential GPIO pins
Closes #8058
Signed-off-by: Sumitra Sharma <sumitraartsy@gmail.com>
2023-10-08 20:54:55 +05:30
Dan Halbert
06765ccfa6
RP2040 now builds
2023-10-05 14:49:49 -04: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
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
Bill Sideris
c3cf7c0894
wifi_reset
2023-09-28 17:53:40 +03: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
MicroDev
05812e0618
Merge branch 'main' into watchdog-rp
2023-09-24 05:13:22 +00:00
Dan Halbert
2c0fa0f7dc
initial merge from v1.20.0; just satisifying conflicts
2023-09-19 11:10:12 -04:00
Bob Abeles
79edcbe97d
second instance of misspelled 'unaligned'
2023-09-07 09:25:02 -07:00
Bob Abeles
1e178318cf
review update, add RP2040 example
2023-09-06 19:59:40 -07:00
Bob Abeles
1648a3db1e
Fix IO register stores of multiple words
2023-09-01 11:23:30 -07:00
Bob Abeles
66b3eccaf6
8334: RP2040 lacks raw memory map access
2023-08-31 20:25:20 -07:00
Scott Shawcroft
233cf7fc6d
Merge pull request #8326 from bill88t/picow-stop-ap
...
Pico W wifi code improvements.
2023-08-25 09:49:04 -07:00
Scott Shawcroft
ab70f8eace
Merge remote-tracking branch 'adafruit/main' into i2s_mclk
2023-08-24 15:07:14 -07:00
Bill Sideris
2cc05f7ac8
Picow-ap wifi improvements
2023-08-23 20:04:51 +03:00
Scott Shawcroft
8c5c73df38
Add I2S MCLK support to iMX RT
2023-08-17 11:39:14 -07:00
Dan Halbert
d582407b06
pre-commit fixes
2023-08-14 00:59:22 -04:00
Dan Halbert
2171e67c1b
merge latest adafruit/main
2023-08-13 19:43:54 -04:00
Dan Halbert
10b94796c0
wip; fix more m_malloc and gc_alloc
2023-08-11 00:30:34 -04:00
Dan Halbert
2ff8667e75
wip; remove long-lived functionality; remove PR#2614
...
Trinket M0 compile has no compilation errors, but has link errors to fix.
2023-08-08 20:41:17 -04:00
Jeff Epler
10330b273c
Divide 'introspect_t' into inputs & outputs
...
leave as a single structure because it's more efficient to call
functions with 4 or fewer arguments, and having two struct pointers
would make `consider_instruction` have 5 arguments instead.
2023-08-08 10:44:12 -05:00
Dan Halbert
0d2c3c3f08
wip: continuing compilation fixes; mp_obj_alloc everywhere
2023-08-07 20:45:57 -04:00
Jeff Epler
755fdfab7a
rename variable based on review
2023-08-07 16:26:57 -05:00
Jeff Epler
2077ac150b
Apply suggestions from code review
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-08-07 11:51:52 -05:00
Jeff Epler
c918d8048d
correct more error detection
2023-08-05 14:46:50 -05:00
Jeff Epler
9a354a4eb8
fix checking for in-pin
2023-08-05 14:24:11 -05:00
Jeff Epler
a6e8619940
fix 'uses extra pin' message
2023-08-05 14:24:03 -05:00
Dan Halbert
465d1c673e
wip
2023-08-03 23:29:00 -04:00
Dan Halbert
0d4bc8c163
initial v1.19.1 merge; not compiled yet
2023-08-01 13:50:05 -04:00
Jeff Epler
92e2134009
rp2: StateMachine: Allow loading programs at fixed offsets
2023-07-27 15:47:04 -05:00
Jeff Epler
5780d9a3d2
rp2: Add StateMachine.may_exec
...
and also sanity-check the init instructions, thanks to the newly
factored-out checker.
Closes : #8221
2023-07-27 15:47:01 -05:00
Scott Shawcroft
5f082561b3
Unify some error strings
2023-07-20 11:20:32 -07:00
Scott Shawcroft
1629faf8b3
Make usb_host.Port a singleton
...
This allows you to initialize usb_host.Port once successfully and
then returns the same object as long as you pass the same arguments
in. It does allow you to fix incorrect pins but not switching from
one valid set to another. (It needs a reset for that.)
This also moves hcd cache operations to RAM so that they don't
access the cache when doing maintenance.
2023-07-18 10:40:54 -07:00
Scott Shawcroft
7764cde6c2
Merge pull request #8155 from tannewt/imx_usb_host
...
Basic USB host support and keyboard workflow
2023-07-11 09:50:09 -07:00
Scott Shawcroft
2686beab36
Basic USB host support and keyboard workflow
...
Connects up read, write and ctrl_transfer to TinyUSB. USB Host
support is available on iMX RT and RP2040.
Fixes #6527 (imx) and fixes #5986 (rp2).
2023-07-10 14:22:21 -07:00
MicroDev
8704ba158b
fix set hostname
2023-07-09 21:25:37 +05:30
Dan Halbert
540bf58102
improve start_ap() doc; make "authmode" use consistent internally
2023-06-22 16:24:18 -04:00
Dan Halbert
955d2723d0
RP2040 SleepMemory
2023-05-21 19:05:25 -04:00
Dan Halbert
f2bfced407
Merge pull request #7976 from anecdata/ap_ipv4_picow
...
Allow Access Point static IPv4 on the raspberrypi port
2023-05-16 18:45:22 -04:00
Bill Sideris
95c1d849d3
Just 500
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2023-05-16 04:47:44 +03:00
Bill Sideris
ed31c7dc8f
Await down on stop_station
2023-05-15 22:38:59 +03:00
anecdata
4ac7e7643a
netutils dhcp server
2023-05-14 17:44:27 -05:00