Commit Graph

427 Commits

Author SHA1 Message Date
Alex
e78143a2f5
fix copyright header 2023-02-05 11:18:23 -08:00
Alex Sirota
07e8506b79 Add board hack_club_sprig 2023-02-03 20:19:11 -08:00
Conor Burns
5aa8419455
add pid.codes VID and PID 2023-01-07 13:11:38 +01:00
Conor Burns
56c0f0388d
add 0xCB Helios 2023-01-05 23:02:00 +01:00
Scott Shawcroft
bb3a1c0a2a
Merge pull request #7153 from fonix232/feature/waveshare_rp2040_lcd_1_28
feat: Add support for Waveshare RP2040-LCD-1.28
2023-01-04 10:18:01 -08:00
Dan Halbert
4f78d63905
Merge pull request #7412 from 2231puppy/e-fidget
Add E-Fidget board
2023-01-04 12:32:27 -05:00
2231puppy
38ebe90f7c Remove unexposed pins from E-Fidget 2023-01-03 19:24:48 -05:00
2231puppy
bea62030b7 Add E-Fidget board 2023-01-03 16:02:24 -05:00
Jozsef Kiraly
f23a96fa09
Update config with proper USB VID 2023-01-03 20:31:18 +00:00
Jozsef Kiraly
463c8d0f11
Merge pull request #2 from adafruit/main
Merge main
2023-01-03 20:28:18 +00:00
Jay Greco
cdefd2e674 Add nullbits Bit-C PRO board 2022-12-25 15:21:32 +00:00
Neradoc
b36d603cf3 add GP25 as status LED on the Raspberry Pi Pico 2022-12-19 22:11:30 +01:00
Dan Halbert
398b7c26ca
Merge pull request #7321 from jepler/dotenv-becomes-toml
Dotenv becomes toml
2022-12-13 19:56:36 -05:00
Pontus Oldberg
aa5b1e063f Added new RP2040 board with integrated SD/Card reader and RTC 2022-12-13 13:34:28 +01:00
Jeff Epler
90894014a2
Use the HW LED as status indicator
For me this made a rare startup failure stop, which is nonsense.
2022-12-12 19:43:10 -06:00
Scott Shawcroft
c13ca95da1
Add MDNS support to Pico W
This adds both cpy-MAC.local and circuitpython.local support.

Fixes #7214
2022-11-28 16:15:28 -08:00
Scott Shawcroft
c3a96a63c0
Enable* web workflow for Pico W
* Except for circuitpython.local which depends on MDNS and will be
done in a follow up PR.

Progress on #7214
2022-11-21 16:24:05 -08:00
Dominic Davis-Foster
e1046b1050
Add support for the 16MB WeAct Studio Pico 2022-11-14 14:04:07 +00:00
Jeff Epler
09f6919c93
Add ability to read VOLTAGE_MONITOR on Pico W
Because this must be treated like an in-use pin for all other purposes,
unfortunately a special case must be added in shared-bindings.

Multiple AnalogIn objects for VOLTAGE_MONITOR can be created (because
in use tracking isn't working) but this causes no harm.

Testing performed: Read the monitor, then imported wifi. When the
pin state was insufficiently restored, the second step would fail
with debug messages about do_ioctl timeout.

```
import analogio, board
a = analogio.AnalogIn(board.VOLTAGE_MONITOR)
print(a.value)
import wifi
```

Closes: #7020
2022-11-08 09:37:15 -06:00
Petr Sedlacek
f3ec46bbb5 Add missing pin definitions for 42. Keebs Frood 2022-11-04 15:33:16 +01:00
Jeff Epler
403a5b2681
Merge pull request #7126 from jepler/scorpio
add feather rp2040 scorpio
2022-11-02 14:47:40 -05:00
Jozsef Kiraly
992e97d84b fix: pre-commit 2022-10-29 20:00:37 +01:00
Jozsef Kiraly
9ca057385a feat: Add support for Waveshare RP2040-LCD-1.28 2022-10-29 18:52:43 +01:00
Jeff Epler
7545e02a8e
add feather rp2040 scorpio 2022-10-26 10:05:37 -05:00
Petr Sedlacek
bd7f0e23d7 Adds support for the 42. Keebs Frood RP2040 board
https://github.com/piit79/Frood
2022-10-25 16:40:32 +02:00
Kattni Rembor
5ea8b75e17 Add STEMMA_I2C() object to Picos for Cowbells. 2022-10-24 16:27:32 -04:00
Jeff Epler
3b3fe44174
implement hashlib for picow 2022-10-13 20:42:50 -05:00
Dan Halbert
e19abef57e forgot to add these! 2022-10-11 13:12:43 -04:00
Dan Halbert
851f8a188d Merge remote-tracking branch 'adafruit/main' into HEAD 2022-10-11 12:21:59 -04:00
Jeff Epler
f882571366
pico w: pins improvements
Closes: #7017

 * Remove the 'GP23' alias for CYW1
 * Remove the 'CYW0' alias for CYW0
 * Switch VBUS_SENSE to CYW2, remove 'GP24' alias

Code that wants to use SMPS_MODE, VBUS_SENSE and LED while being
portable to the W and non-W variants should use those names, not alias
names.

 * Remove A3 / VOLTAGE_MONITOR

Right now this cannot be used. The ability to check the voltage monitor
should be added back in some fashion in the future.
2022-10-07 08:48:36 -05:00
Jeff Epler
644d293641
Fix CIRCUITPY drive offset in flash correctly, accounting for NVM
.. and fix nvm to read/right the correct area.

.. putting a comment in link.ld to explain it all

Closes #7012
2022-10-06 12:39:46 -05:00
Jeff Epler
07cd2ff065
restore 4kB gap pending resolution of #7011 2022-10-06 11:20:48 -05:00
Jeff Epler
6e2c24083a
switch flash split to leave 512kB for CIRCUITPY 2022-10-06 10:12:22 -05:00
Jeff Epler
dcb650c513 pico w: add ssl module
Note: at this time, the ssl module on pico_w never verifies the server
certificate. This means it does not actually provide a higher security
level than regular socket / http protocols.
2022-10-05 13:12:43 -04:00
Jeff Epler
2bd50673b6
Finish adapting flash storage size
Before this, CIRCUITPY would start at 1MB anyway. This appeared to work
only because I hadn't checked the actual size of the CIRCUITPY drive,
and because until now the flash hadn't actually crossed that 1MB
boundary into CIRCUITPY storage.

WARNING: on pico_w, upgrading/downgrading CircuitPython across this commit
boundary will erase the CIRCUITPY filesystem. After this commit,
switching between pico and pico_w firmware will erase the CIRCUITPY
filesystem
2022-10-05 10:02:38 -05:00
Jeff Epler
a3bcfd6911
Add pin_CYW1 for SMPS_MODE 2022-09-29 10:54:06 -05:00
Jeff Epler
2dd6df9d93
better to explain why this file has no useful content 2022-09-28 15:19:06 -05:00
Jeff Epler
3d76aa00f5
implementations not needed 2022-09-28 14:38:13 -05:00
Jeff Epler
a7a1bd7880
Implement DNS resolution
```
>>> s = socketpool.SocketPool(wifi.radio)
>>> s.getaddrinfo("google.com", 80)
[(0, 0, 0, '', ('142.250.81.206', 80))]
```
2022-09-28 10:06:33 -05:00
Jeff Epler
6c3cdceb45
Implement scan, connect, ping
My pings go out, and then they come back

```py
import os
import wifi
import ipaddress

wifi.radio.connect(os.getenv('WIFI_SSID'), os.getenv('WIFI_PASSWORD'))
ipv4 = ipaddress.ip_address("8.8.4.4")
print("Ping google.com: %f ms" % (wifi.radio.ping(ipv4)*1000))
```
2022-09-28 10:06:33 -05:00
Jeff Epler
346fff2e7c
cyw43 basic gpio support, hwaddr in boot_out 2022-09-28 10:06:33 -05:00
Dan Halbert
58b00467c4
Merge pull request #6878 from dhalbert/weak-board-defs
Use MP_WEAK for default board.c routines
2022-09-08 10:47:08 -04:00
Dan Halbert
4cb69a51d5 Use MP_WEAK for default board.c routines 2022-09-08 07:36:50 -04:00
Pontus Oldberg
9a937e6ea3 Added challenger_rp2040_wifi_ble board. 2022-09-06 09:37:21 +02:00
Pontus Oldberg
59fb3fbbd6
Merge branch 'adafruit:main' into main 2022-09-01 10:35:13 +02:00
arturo182
23f2b62196 Add the Solder Party BBQ20KBD board 2022-08-17 20:44:23 +02:00
Dan Halbert
41bcd7b260 Remove support for auto-brightness 2022-08-09 22:40:21 -04:00
takayoshiotake
5ce3778d75 Add custom board: Octave RP2040 2022-08-09 22:19:38 +09:00
Pontus Oldberg
c884194c92 Fixed incorrect PID. 2022-08-03 08:45:39 +02:00
Pontus Oldberg
03181fe362 Adds support for the Challenger RP2040 SubGHz board. 2022-07-31 10:36:04 +02:00
David Glaude
2baf3455bd
Add board.LED (alias of board.LED_R part of RGB)
Totally untested change (will try with the artifact), but I think every board should have a board.LED if possible to be able to use the learn guide basic instruction.
2022-07-28 16:46:56 +02:00
Scott Shawcroft
acdfda7d0e
Merge pull request #6624 from bwshockley/bwshockley-figpi
Add raspberrypi port - figpi
2022-07-25 15:23:52 -07:00
ViktorWiz
ae6c0e347c Add WIZNet W5500-EVB-Pico 2022-07-22 17:31:58 +09:00
Benjamin Shockley
dc686545c2
Update pins.c
Minor whitespace change.
2022-07-20 15:40:43 -05:00
Benjamin Shockley
e9eeaf2096
Update mpconfigboard.h
Moved UART to pins 24/25.
2022-07-20 12:35:40 -05:00
Benjamin Shockley
d01b65dd32
Create pins.c 2022-07-20 12:35:08 -05:00
Benjamin Shockley
3861a97f38
Create pico-sdk-configboard.h 2022-07-20 12:18:22 -05:00
Benjamin Shockley
3647cfa424
Create mpconfigboard.mk 2022-07-20 12:17:39 -05:00
Benjamin Shockley
d2865764ca
Create mpconfigboard.h
Added file.
2022-07-20 12:12:31 -05:00
Benjamin Shockley
21af8f42cc
Create board.c 2022-07-20 11:11:49 -05:00
Xu Hao
be3482ff05 Set MICROPY_HW_LED_STATUS pin to the elecfreaks_picoed 2022-07-11 16:51:06 +08:00
Xu Hao
1599844b82 Add some frozen libraries to elecfreaks_picoed 2022-06-29 15:03:29 +08:00
Patrick Van Oosterwijck
0b80c62400
Merge branch 'adafruit:main' into rp2040-shim 2022-06-22 11:40:02 -05:00
Patrick Van Oosterwijck
ad56a16c2d Add board Silicognition LLC RP2040-Shim 2022-06-14 11:28:41 -06:00
Omer Kilic
9fbad229c0 Add custom board: Electrolama minik (RP2040) 2022-06-14 15:51:10 +01:00
Pontus Oldberg
5c13f844c7 Fixed pre-commit trailing whitespace 2022-06-08 16:43:49 +02:00
Pontus Oldberg
91000ea294 Adds support for Challenger RP2040 LoRa boards 2022-06-08 16:38:21 +02:00
Scott Shawcroft
2baf476530
Merge pull request #6463 from adafruit/7.3.x
Catch main up to 7.3.x
2022-06-06 11:58:05 -07:00
Nathan Young
2f0d82a50b Disable board.SPI() for Challenger NB RP2040 WiFi
This was done as a result of an issue with the SPI pin mappings.
Please refer to the following for additional information: https://ilabs.se/challenger-rp2040-wifi-spi-bug
2022-06-06 09:52:23 +02:00
Dan Halbert
80ae14202a
Merge pull request #6416 from FoamyGuy/display_brightness_pwm
display brightness pwm 500hz frequency
2022-06-05 23:52:42 -04:00
Dan Halbert
a61c4c1af9
Merge pull request #6411 from fabaff/weact-studio-pico
Add support for WeAct Studio Pico
2022-06-05 19:17:56 -04:00
Fabian Affolter
7a073317f7 Update PID (0x102E) 2022-06-06 01:03:02 +02:00
foamyguy
260994d16e Merge branch 'main' into display_brightness_pwm 2022-06-04 11:32:15 -05:00
foamyguy
cbff9dd8e3 add new argument for all boards with built-in display 2022-06-04 11:08:20 -05:00
arturo182
d2d3b27822 Add a Round Carrier board file to the RP2040 Stamp build 2022-05-22 15:52:25 +02:00
Fabian Affolter
f1f9ba2371 Add support for WeAct Studio Pico 2022-05-19 23:51:25 +02:00
Fabian Affolter
d875eb2ff4 Add support for VCC-GND Studio YD-RP2040 2022-05-19 22:57:43 +02:00
Scott Shawcroft
9743aea7aa
Merge pull request #6334 from BigTuna94/add-rp2.65-f
Add new Keyboard - RP2.65-F
2022-05-10 16:52:39 -07:00
Guy Dupont
02ec1cebf6
Fix pin mapping for thing plus 2040
GPIO 26 was mapped to GPIO 28
2022-05-05 21:11:32 -04:00
Jeff Epler
7d7986b041
Add NEOPIXEL pin
Closes: #6307
2022-05-03 12:21:15 -05:00
Zach Richard
a23ede8bc4
update USB VID/PID codes to match pidcodes request 2022-05-02 19:49:30 -04:00
ZodiusInfuser
910662e833 Finalised motor 2040 pins 2022-04-26 12:56:31 +01:00
ZodiusInfuser
1ccf767112
Merge branch 'adafruit:main' into motor 2022-04-26 10:23:14 +01:00
ViktorWiz
e8541e866c fix end of file issue 2022-04-22 15:02:50 +09:00
ViktorWiz
28296f98f8 update pid 2022-04-22 14:59:28 +09:00
ViktorWiz
f91be019f6
Merge branch 'adafruit:main' into w5100s-evb-pico 2022-04-22 14:52:04 +09:00
Neradoc
17bba7b17d remove Adafruit_CircuitPython_BusDevice from frozen modules, it's built in now 2022-04-19 06:49:11 +02:00
Xu Hao
9c1b44a030 Modify USB VID and PID of the Pico:ed 2022-04-14 17:42:04 +08:00
ViktorWiz
b30d2e0889 update w5100s-evb-pico mpconfigboard.h 2022-04-14 14:35:23 +09:00
ZodiusInfuser
8cce2e6406 Updated motor pin names 2022-04-12 15:20:28 +01:00
Xu Hao
71a7ec6f76 Add ELECFREAKS Pico:ed board. 2022-04-12 16:10:02 +08:00
BigTuna94
01cff3c4f8 add MIDI to frozen libs 2022-04-10 14:10:07 -04:00
ZodiusInfuser
769b182da4 Added definition for upcoming Pimoroni motor board 2022-04-07 07:24:55 +01:00
ViktorWiz
76efdfd9a6 initial commit for w5100s-evb-pico 2022-04-06 14:52:28 +09:00
Dan Halbert
f059f7180c
Merge pull request #6208 from ZodiusInfuser/badger
Improvement to Badger 2040 operation on battery
2022-03-30 13:35:47 -04:00
ZodiusInfuser
336abdfbc7 Switch variable to extern 2022-03-30 17:44:36 +01:00
BigTuna94
dd933c7d06 add NeoPixel lib to firmware 2022-03-30 09:17:26 -04:00
ZodiusInfuser
f07cfdd80c Linting fixes 2022-03-28 18:34:39 +01:00
ZodiusInfuser
c2fb44b36c Set enable pin to high during boot 2022-03-28 15:56:02 +01:00
ZodiusInfuser
b44a2a0c8e Updated pin name to match schematic 2022-03-28 14:07:08 +01:00
ZodiusInfuser
8e98be2704 Added additional constants 2022-03-24 18:32:39 +00:00
ZodiusInfuser
9c81ea86e9 Added board definition for upcoming Pimoroni servo driver. 2022-03-24 16:07:04 +00:00
Eric Rong
a7afd6649e
Merge branch 'adafruit:main' into lilygo_t_display_rp2040 2022-03-19 23:03:41 -07:00
Scott Shawcroft
fd17ba6d91
Merge pull request #6143 from ZodiusInfuser/badger
Added built-in display bringup for Badger2040
2022-03-15 13:28:00 -07:00
BigTuna94
c919e9c2cc fix duplicate reference names for DSN export 2022-03-14 21:02:14 -04:00
ZodiusInfuser
af2862ead9
Removed trailing whitespace 2022-03-14 22:28:28 +00:00
ZodiusInfuser
a778469082 Inverted the display pixels to match the expected CPY behaviour 2022-03-14 11:12:03 +00:00
ZodiusInfuser
eab5f00548 Added built-in display bringup for Badger2040 2022-03-11 20:10:42 +00:00
Michael Himing
236ebba0ca melopero_shake_rp2040: Add missing BOARD_DICT_STANDARD_ITEMS 2022-03-08 08:58:32 +11:00
ZodiusInfuser
d66cf1d8ef Name fix 2022-02-21 11:26:43 +00:00
ZodiusInfuser
d0bbaddcb3 Board definitions for upcoming EInk board 2022-02-21 11:23:55 +00:00
Eric Rong
ff4a4465af pin definition cleanup 2022-02-15 22:01:35 -08:00
Eric Rong
ce350cb353 Try to fix compilation error 2022-02-15 02:23:26 -08:00
Eric Rong
ec342dc557 update includes 2022-02-15 02:07:50 -08:00
Eric Rong
f2e77aa021 correct pins.c name 2022-02-15 01:43:57 -08:00
Eric Rong
31fe42dba4 clean up the pin.c with only breakout pins 2022-02-14 23:58:15 -08:00
Eric Rong
dfa9b688b8 Add new line to end of file 2022-02-14 23:40:44 -08:00
Eric Rong
d1b18bb96c Add support for lilygo_t_display_rp2040 board 2022-02-14 23:36:35 -08:00
Scott Gauche
309f4fb2b9 add half_duplex false param to spi construct function call in some board files 2022-02-08 22:59:26 -05:00
Neradoc
b2c8fd3938 add board.STEMMA_I2C alias to some boards 2022-02-02 01:18:46 +01:00
Dan Halbert
5933c04499
Merge pull request #5899 from tannewt/rp2040_winbond
Add winbond to Feather RP2040
2022-01-21 16:44:52 -05:00
Scott Shawcroft
c598ede84e
Add winbond to Feather RP2040 2022-01-21 10:34:38 -08:00
microDev
67293c265c
Merge branch 'main' into board-bus 2022-01-21 10:08:39 +05:30
Neradoc
784a5edc4b
Define default SPI pins on kb2040
Fixes #5875
2022-01-17 06:52:08 +01:00
Scott Shawcroft
ae58858036
Merge pull request #5820 from CharString/waveshare_rp2040_zero
Waveshare RP2040-Zero board definition
2022-01-12 10:56:55 -08:00
Chris Wesseling
8226fb8e0b Bring pins in line with board documentation.
This brings the pins in line with the documented [pinouts]. The only
"special" pins:

 - GP0, GP1 are mentioned as the default UART, so we init them as
   such and give them the TX and RX alternative names.
 - GP16 is connected to the onboard neopixel DIN line and we assign it
   the NEOPIXEL name. (Power of the neopixel is connected to the 3.3V
   rail, not a pin. See [schematic].)
 - GP26, GP27, GP28, GP29 have unambiguous ADC designations in the
   [pinouts], so we assign the `A` analogue names as the Pico board
   definition does.

  [pinouts]: https://www.waveshare.com/wiki/RP2040-Zero#Pinouts
  [schematic]: https://www.waveshare.com/w/upload/4/4c/RP2040_Zero.pdf
2022-01-12 12:27:54 +01:00
Pontus Oldberg
e23b272595 Added missing LDO control pin (SARA_PWR) 2022-01-08 16:39:48 +01:00
Chris Wesseling
783106545c Remove LED pin.
There's just the NEOPIXEL on this board, no other LED.
2022-01-07 23:25:50 +01:00
Chris Wesseling
d8f18d36a4 Initial Waveshare RP2040-Zero board definition
`board.NEOPIXEL` works. Once you have an LED cycling colours, you're 99%
done. :-)
2022-01-07 23:20:10 +01:00
Scott Shawcroft
7c2e7bfeaa
Add alternative clock pin name to match silkscreen 2021-12-15 14:41:42 -08:00
Pierre Constantineau
f3ec6ee760 tested hardware and cleaned-up commented out pin defs 2021-12-14 21:46:04 -06:00
Pierre Constantineau
162e253949 finalizing pin assignments prior to final hardware test 2021-12-14 09:45:39 -06:00
Pierre Constantineau
9119a32a5d fixed row0 and added encoder pins 2021-12-13 13:31:00 -06:00
microDev
5939c11406
add secondary i2c singleton on adafruit_qtpy_rp2040 2021-12-11 23:14:22 +05:30
Pierre Constantineau
86ddecfd4f merge main and resolve conflict 2021-12-10 16:57:50 -06:00
Pierre Constantineau
dac71e684d moved aliased boards down to actual builds 2021-12-10 16:34:06 -06:00
Pierre Constantineau
a043f65352 adding Pykey family of boards 2021-12-09 23:25:48 -06:00
Michael Himing
d72311f76a Update xiao rp2040 pins 2021-12-10 09:39:31 +11:00
ZodiusInfuser
3ea1619816
Merge branch 'adafruit:main' into tiny2mb 2021-12-08 16:51:47 +00:00
ZodiusInfuser
201fae8342
Added final USB PID 2021-12-08 16:48:32 +00:00
Scott Shawcroft
121b22b0c5
Merge pull request #5666 from skerr92/add-odt-castaway2040
Add odt castaway2040
2021-12-06 14:44:33 -08:00
Scott Shawcroft
309faee334
Merge pull request #5519 from jpconstantineau/seeduino-xiao-rp2040
Add New Board - Seeeduino XIAO RP2040
2021-12-06 13:08:22 -08:00
Kong Wai Weng
7ee825370e Use 4x space instead of tab. 2021-12-06 17:28:45 +08:00
Kong Wai Weng
bde65d0f28 Added Maker Nano RP2040 2021-12-06 17:26:00 +08:00
Seth Kerr
e352048db9 Add ODT Cast-Away RP2040 2021-12-05 14:49:48 -07:00
Kattni Rembor
3b6011d551 Update pin order to match silk. 2021-12-03 11:40:40 -05:00
ZodiusInfuser
0e56c5aa8a Added definitions for 2MB Tiny2040 2021-12-02 16:45:43 +00:00
Pierre Constantineau
ce7cd22116 updated pins.c to enable support for PyKey87 2021-11-14 21:56:18 -06:00
Pierre Constantineau
2c3557d4af
Merge branch 'adafruit:main' into seeduino-xiao-rp2040 2021-11-14 21:44:10 -06:00
Jeff Epler
340d6b9213
more missing-prototypes fixes 2021-11-10 21:00:17 -06:00