Commit Graph

1201 Commits

Author SHA1 Message Date
RetiredWizard
6eccdd9e7d Pimoroni PICO DV Base w/Pico W (network disabled) 2023-08-22 23:10:07 -04:00
Dan Halbert
e08ad22ef6
Merge pull request #8317 from jepler/merge-82x
Merge 8.2.x into main
2023-08-22 17:28:30 -04:00
Jeff Epler
24b7a4cde6
Merge remote-tracking branch 'origin/8.2.x' into merge-82x 2023-08-22 09:53:35 -05:00
Jeff Epler
b589dc2589
Merge pull request #8091 from bill88t/update-picow
Update pico-sdk to 1.5.1
2023-08-22 09:51:20 -05:00
Jozsef Kiraly
bb1b827f55 fix: Split 16M and 4M variants 2023-08-22 15:06:37 +01:00
Jeff Epler
c029d6a165
Merge remote-tracking branch 'origin/8.2.x' into merge-82x 2023-08-22 08:49:16 -05:00
Jozsef Kiraly
9a140dc3ee Update ports/raspberrypi/boards/waveshare_rp2040_plus/mpconfigboard.mk
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-08-22 14:15:59 +01:00
Jozsef Kiraly
127f09b28c Update ports/raspberrypi/boards/waveshare_rp2040_plus/mpconfigboard.mk 2023-08-22 14:15:59 +01:00
Jozsef Kiraly
648ec1c0ed feat: Add support for Waveshare RP2040-Plus 2023-08-22 14:15:59 +01:00
Dan Halbert
eba1f9d4fe fix framebuffer size for pimoroni dvi base 2023-08-21 19:36:28 -04:00
Jeff Epler
f9e99bd3c3
Fix picow build 2023-08-20 11:30:36 -05: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
27c7807693 silabs build needs work; other builds are working 2023-08-13 19:05:16 -04:00
Vladimír Smitka
acd8896094 Fix RGB/BGR color order 2023-08-13 17:42:23 +02:00
Vladimir Smitka
2819c88207 Formatting 2023-08-13 17:41:16 +02:00
Vladimir Smitka
d652c8d25c Add PicoPad support 2023-08-13 17:39:59 +02:00
Dan Halbert
10b94796c0 wip; fix more m_malloc and gc_alloc 2023-08-11 00:30:34 -04:00
Scott Shawcroft
472e6bca4d
Merge pull request #8223 from jepler/sm-mayeexec
rp2: Add StateMachine(may_exec=, offset=)
2023-08-09 10:44:02 -07:00
Dan Halbert
7432bbce65
Merge pull request #8271 from FrameworkComputer/rp2040-no-audio
raspberrypi: Allow build without audio
2023-08-09 08:53:35 -04:00
Daniel Schaefer
3c66a55341 raspberrypi: Allow build without audio
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-09 17:28:41 +08: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
e06f836e95
add may_exec to parameter list 2023-08-07 16:28:35 -05: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
Jeff Epler
8c45abbd89
pass correct may_exec buffer length 2023-08-05 14:23:26 -05:00
Dan Halbert
465d1c673e wip 2023-08-03 23:29:00 -04:00
Jeff Epler
67c5563eec
Apply -Wno-undef to just the needed file & remove incorrect -I arg 2023-08-03 10:20:25 -05:00
Scott Shawcroft
539f34f7fd
Three small changes
1. Raise an exception when creating a USB device when host isn't
  initialized.
2. Mark RP2040 dtcm_bss as NOLOAD since it doesn't need to be
  loaded (just zeroed.)
3. Fix submodule location for ulab to Jeff's copy.
2023-08-01 13:16:38 -07:00
Dan Halbert
0d4bc8c163 initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
Scott Shawcroft
aecaab779b
Merge pull request #8241 from MakerClassCZ/picopad-rgb-fix
Fix RGB/BGR color order for Picopad
2023-08-01 09:55:36 -07:00
Vladimír Smitka
a9c828011a
Fix RGB/BGR color order 2023-07-31 12:22:27 +02:00
Jeff Epler
6083de017a
fix method name in docstr 2023-07-27 20:09:13 -05:00
Dan Halbert
f466a4373e
Merge pull request #8222 from tannewt/fat_window_align
Align fatfs window buffer for tinyusb
2023-07-27 20:35:23 -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
e45a61f57e
Align fatfs window buffer for tinyusb
Also, update tinyusb.
2023-07-27 09:15:58 -07:00
Vladimir Smitka
58d6c3ac9d Formatting 2023-07-25 19:25:27 +02:00
Vladimir Smitka
c781204105 Add PicoPad support 2023-07-25 14:40:53 +02:00
Scott Shawcroft
c22a31e023
Merge pull request #8194 from dhalbert/8.2.x-backport-8035-8181-metro-rp2040
8.2.x backport 8035 8181 metro rp2040
2023-07-24 10:10:53 -07:00
Scott Shawcroft
03c1cde918
Merge pull request #8204 from dhalbert/8.2.x-backport-8156-datanoise-picoadk
8.2.x backport 8156 datanoise picoadk
2023-07-24 10:07:32 -07:00
Scott Shawcroft
2a99ec3fc3
Merge pull request #8203 from dhalbert/8.2.x-backport-8154-keebs-frood
8.2.x backport: Update 42. Keebs Frood support for Rev7
2023-07-24 09:49:38 -07:00
Scott Shawcroft
818bd8f043
Merge pull request #8202 from dhalbert/8.2.x-backport-8152-liatris-board
8.2.x backport 8152 liatris board
2023-07-24 09:49:11 -07:00
Sylwester
d84c69c056 Add NeoPixel Library for Datanoise PicoADK. 2023-07-23 12:14:13 -04:00
Sylwester
a4b4f57ff1 Add Datanoise PicoADK 2023-07-23 12:07:30 -04:00
Sylwester
b87ceb26aa Add Datanoise PicoADK 2023-07-23 12:07:30 -04:00
Petr Sedlacek
df821bf22c Update 42. Keebs Frood support for Rev7 2023-07-23 11:59:49 -04:00
Leah Post
317cab87a7 Add new board: splitkb.com's Liatris 2023-07-23 11:57:44 -04:00
MicroDev
b6d4488b31 fix set hostname 2023-07-23 11:56:05 -04:00
Jeff Epler
9a9fe1240d update metro rp2040 to work with 16MB flash 2023-07-23 10:05:54 -04:00
Dan Halbert
391bb1c45f Add Adafruit Metro RP2040 2023-07-23 10:00:56 -04: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
Jeff Epler
4f09078293
update metro rp2040 to work with 16MB flash 2023-07-17 12:56:55 -05:00
Scott Shawcroft
4e01674cbd
Fix rp2 safe mode via reset press
The picodvi PR #7880 switched the saved word to the watchdog
register since it reworked the RAM layout. This works for
reset_into_safe_mode because the watchdog scratch registers are
preserved by soft resets. They *aren't* preserved for pressing the
reset button. So it broken manual safe mode. Switch back to using
RAM to store the saved word but use the pico-sdks "uninitialized"
designation instead of a fixed location.

Also fixes USB host feather status neopixel by setting the power
pin.
2023-07-13 14:49:08 -07:00
Sylwester
3ac84281bf Add NeoPixel Library for Datanoise PicoADK. 2023-07-13 12:04:27 +02:00
Jeff Epler
6b5cf5537a
Merge pull request #8035 from dhalbert/metro-rp2040
Add Adafruit Metro RP2040
2023-07-12 10:40:37 -05:00
Scott Shawcroft
346ec8d4a8
Merge pull request #8156 from DatanoiseTV/datanoise_picoadk
Add Datanoise PicoADK Board
2023-07-11 11:01:28 -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
Sylwester
9b80943885 Add Datanoise PicoADK 2023-07-11 10:01:46 +02:00
Sylwester
449416f5e1 Add Datanoise PicoADK 2023-07-11 09:52:47 +02:00
Scott Shawcroft
52ca0504d9
Comment out debug UART on RP2040 USB host feather 2023-07-10 15:37:57 -07:00
Petr Sedlacek
ae84441575 Update 42. Keebs Frood support for Rev7 2023-07-10 23:32:02 +02: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
Scott Shawcroft
9f3f2aabff
Merge pull request #8152 from splitkb/liatris
Add new board: splitkb.com's Liatris
2023-07-10 12:07:27 -07:00
Leah Post
036eca8123 Add new board: splitkb.com's Liatris 2023-07-10 14:45:08 +02:00
MicroDev
8704ba158b
fix set hostname 2023-07-09 21:25:37 +05:30
Jeff Epler
385366128f
Don't use "cookie" variable/function name 2023-06-27 09:59:02 -05:00
Jeff Epler
b4be2317cb
rp2040: Avoid screeches due to audio underflow during flash writes
By pausing audio during flash writes, the worst screeching of #8121
is avoided. I don't consider this a full fix, but it greatly improves
the by far most common scenario in which the problem occurs.

Tested on rp2040 prop feather with a midi synth playing arpeggios. When
writing to the flash e.g., with
```
dd bs=512 count=32 if=/dev/zero of=/media/jepler/CIRCUITPY/boop
```
the audio goes "tap tap tap tap" during the flash write instead of the
squawking.

This isn't a 100% fix; it will still glitch out, including during USB
enumeration which must be taking a long time without servicing background
tasks. Add a delay if not usb-connected at startup ameliorates this
greatly.
2023-06-26 10:34:29 -05:00
Dan Halbert
540bf58102 improve start_ap() doc; make "authmode" use consistent internally 2023-06-22 16:24:18 -04:00
Bill Sideris
112f0fd767
Add -Wno-undef to rp2 makefile for sdk 2023-06-21 01:43:10 +03:00
Bill Sideris
e139cd9ec0
Update cyw43 to 1.0.1 2023-06-21 01:35:52 +03:00
Bill Sideris
0aa7854d5b
Update pico-sdk to 1.5.1 2023-06-19 18:00:49 +03:00
Mario Bodemann
1e3f1d745a Update badger2040 start sequence for more contrast
This change is taken from the pico-sdk: https://github.com/pimoroni/pimoroni-pico/blob/main/drivers/uc8151_legacy/uc8151_legacy.cpp#L67-L120 and increases the contrast of pictures sent dramatically. It comes with the expense of using way more time when updating though.
2023-06-08 18:25:45 +02:00
Dan Halbert
38f6fa27e3 fetch-port-submodules; fetch-all-submodules 2023-06-05 17:23:34 -04:00
Dan Halbert
3a893594b2 Add Adafruit Metro RP2040 2023-05-26 12:42:23 -04:00
phamhuyvn
2d7fa6dd8a
Update pins.c
Fixed Button_R from GPIO6 to GPIO7
Fixed LCD_BACKLIGHT from GPIO29 to GPIO26
2023-05-24 08:44:57 +07:00
Scott Shawcroft
3f7e6db4fa
Merge pull request #8015 from dhalbert/rp2040-sleep-memory
RP2040 SleepMemory
2023-05-22 13:08:37 -07:00
Dan Halbert
955d2723d0 RP2040 SleepMemory 2023-05-21 19:05:25 -04:00
rcarteraz
a4a4bdfeb0
Update board.c
Change column start from 52 to 53 to fix a line at the top of the display.
2023-05-20 18:33:37 -07: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
Dan Halbert
d945d8b6e0
Merge pull request #7988 from Neradoc/add-feather-rp2040-button-pin
Add the Feather RP2040 boot button to the board module ?
2023-05-16 18:41:15 -04:00
Dan Halbert
ab83c98c1d
Merge pull request #7982 from bill88t/picow-stop-ap
Await `CYW43_LINK_DOWN` in `stop_station`
2023-05-16 12:31:46 -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
anecdata
6dd2e86727
remove dhcp calls 2023-05-14 14:52:49 -05:00
anecdata
cd41fb101a
oops 2023-05-13 22:55:08 -05:00
anecdata
8196366c94 initial 2023-05-13 22:06:16 -05:00
Neradoc
16c8c9a739 Add the Feather RP2040 button to the board module 2023-05-13 22:13:47 +02:00
Eric Rong
91380f1957
Update to use new display construct. 2023-05-12 22:28:11 -07:00
Eric Rong
22665a113d
Merge branch 'adafruit:main' into lilygo_t_display_rp2040 2023-05-12 22:02:16 -07:00
Eric Rong
49a5518bd3
Attempt to fix build error 2023-05-12 18:19:49 -07:00
Eric Rong
285131a87a
Update typo on pin GP2 2023-05-12 18:04:07 -07:00