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
Jeff Epler
621953c960
Additional missing-prototypes fixes
...
I think this correctly enables missing-prototypes in atmel-samd
and raspberrypi ports.
2021-11-10 10:55:53 -06:00
lady ada
02573676e7
add KB2040 and fix Trinkey QT2040 pid
2021-11-05 12:43:44 -04:00
Pierre Constantineau
f3eb9ea5e1
Merge branch 'adafruit:main' into seeduino-xiao-rp2040
2021-11-03 14:07:45 -06:00
Pierre Constantineau
a75473af96
update to EXTERNAL_FLASH_DEVICES to Puya P25Q16H
2021-11-02 20:52:58 -06:00
Kong Wai Weng
36459c8a5a
Fixed whitespace issues.
2021-11-01 16:50:46 +08:00
Kong Wai Weng
e0332c1e49
Using 4x spaces instead of a tab.
2021-11-01 16:47:02 +08:00
Kong Wai Weng
b64ec36418
Using GP0 as default LED pin.
2021-11-01 16:43:13 +08:00
Kong Wai Weng
0034472778
Reversal of PR #4981 . GPIO25 on Maker Pi RP2040 is not connected to anything.
2021-11-01 16:26:40 +08:00
Pierre Constantineau
ceeec6f1a0
updated USB PID to match one received from MengDu from Seeed
2021-10-27 08:10:47 -06:00
Pierre Constantineau
c9f834f3a1
added LEDs
2021-10-26 21:55:38 -06:00
Pierre Constantineau
0f9e3eed01
initial commit for Seeed Review
2021-10-26 21:48:11 -06:00
Scott Shawcroft
de45382599
Merge pull request #5504 from solderparty/rp2040_stamp
...
Add the Solder Party RP2040 Stamp board
2021-10-25 14:08:04 -07:00
Pierre Constantineau
3425bcc910
added startup delay multiplier
2021-10-24 14:20:07 -06:00
arturo182
915275e5fd
Add the Solder Party RP2040 Stamp board
2021-10-24 17:13:41 +02:00
Pierre Constantineau
40326ab3f9
fix pre-commit
2021-10-22 18:35:38 -06:00
Pierre Constantineau
d6e9e9c3c9
added neopixel to mpconfigboard.h
2021-10-22 18:32:21 -06:00
Leonardo La Rocca
45600b1b99
Update ports/raspberrypi/boards/melopero_shake_rp2040/pins.c
...
Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com>
2021-10-15 16:52:25 +02:00
Leonardo La Rocca
376c3a1bab
Merge branch 'adafruit:main' into main
2021-10-14 19:33:55 +02:00
root
9a8ebb0ef0
added battery pin definition
2021-10-14 18:41:09 +02:00
Radomir Dopieralski
d76eda153b
PicoSystem: freeze the Stage library
2021-10-07 15:01:18 +02:00
Limor "Ladyada" Fried
218667377c
Merge pull request #5398 from Gadgetoid/patch-picosystem-displayio
...
PicoSystem: Add DisplayIO to board config
2021-10-06 10:12:29 -04:00
Phil Howard
2fc6a72cc7
PicoSystem: Add DisplayIO & Stage to board config
...
* Bring up PicoSystem's display with DisplayIO
* Add stage game library
* Add supporting modules - AUDIOIO and KEYPAD
2021-09-30 13:57:03 +01:00
Pontus Oldberg
5649887d34
Added support for the Challenger NB RP2040 WiFi board.
2021-09-26 07:54:07 +02:00
Pontus Oldberg
7d002478ef
Added Challenger RP2040 LTE board.
2021-09-26 07:15:30 +02:00
Pontus Oldberg
6e296999d6
Fixed incorrect pin definitions.
2021-09-25 16:19:48 +02:00
Dan Halbert
8e63a2e6c0
Merge pull request #5368 from skerr92/add-ODT-bread-2040
...
Add ODT Bread 2040
2021-09-20 17:13:23 -04:00
Dan Halbert
951ea46de1
Added CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
...
This is a recent addition to add `board.board_id` and `board.__name__`.
2021-09-20 16:52:16 -04:00
leoli51
a980f8f743
added missing board config file
2021-09-19 16:09:17 +02:00
leoli51
761b1dbf12
merged commits from main
2021-09-19 15:51:43 +02:00
Seth Kerr
de55073eea
Add ODT Bread 2040
2021-09-18 10:45:02 -06:00
leoli51
bb424c7510
renamed folder and added neopixel gpio
2021-09-18 16:05:13 +02:00
Pontus Oldberg
647eca6a81
Added support for Challenger RP2040 WiFi
2021-09-09 17:36:56 +02:00
Neradoc
8625e53817
change board dicts to include a common macro with __name__
2021-09-03 21:03:55 +02:00
leoli51
68a4b6448e
ready for pull request
2021-08-28 16:34:38 +02:00
Pierre Constantineau
ada178893d
updated PID as per OpenMoko PR
2021-08-27 09:02:49 -06:00
Pierre Constantineau
e07bce2bf1
fixing trailing space
2021-08-27 00:25:22 -06:00
Pierre Constantineau
873729149d
adding EncodderPad RP2040
2021-08-26 23:08:10 -06:00
Neradoc
4d05bb26bf
change board.ID to board.board_id
2021-08-26 23:11:55 +02:00
Neradoc
b14b294516
add board.ID
2021-08-26 23:11:55 +02:00
Jeff Epler
379461df7d
Deprecate Display's constructor arg set_vertical_scroll
2021-08-23 09:17:59 -05:00
Kattni Rembor
1185228b90
Remove SPEAKER_SHUTDOWN pin.
2021-08-19 15:18:19 -04:00
Kattni Rembor
ae923db06d
Add SPEAKER_ENABLE pin to MacroPad.
2021-08-18 17:30:42 -04:00
Scott Shawcroft
a5143d284b
Merge pull request #5161 from ZodiusInfuser/patch_micropy
...
Removed unnecessary defines from Pimoroni board files
2021-08-17 12:40:12 -07:00
Scott Shawcroft
abe8638f41
Merge pull request #5160 from ZodiusInfuser/patch_tiny2040
...
Removed default UART, SPI and I2C from Tiny2040 config
2021-08-16 14:54:52 -07:00
ZodiusInfuser
2255ab1486
Removed unnecessary Micropy and Ignore defines
2021-08-16 16:40:12 +01:00
ZodiusInfuser
5fb507c3ff
Removed default UART SPI and I2C from Tiny2040 config
2021-08-16 16:31:31 +01:00
Scott Shawcroft
9c77d2653f
Merge pull request #5099 from ZodiusInfuser/main
...
Added definitions for some upcoming Pimoroni LED driver boards
2021-08-12 09:27:21 -07:00
ZodiusInfuser
47c8ff0570
Removed unnecessary defines
2021-08-11 23:34:20 +01:00
Scott Shawcroft
0632a1e681
Merge pull request #5060 from cdwilson/cdwilson/circuitpython/sparkfun-stm32f405-micromod
...
stm/boards: Add support for SparkFun STM32 MicroMod Processor board.
2021-08-11 12:19:16 -07:00
Dan Halbert
35aac3d26b
display SPI now 10MHz; set PWM duty cycle to zero at stop to quiet output
2021-08-11 10:48:53 -04:00
ZodiusInfuser
e587bd7dc0
Added final USB PIDs
2021-08-10 11:17:06 +01:00
Chris Wilson
e741330ca8
Consistent pin naming for SparkFun MicroMod processor boards.
2021-08-09 23:10:52 -07:00
ZodiusInfuser
f707fa107a
Tweaks to Interstate75 pinout
2021-08-05 15:00:47 +01:00
ZodiusInfuser
11ed759cf9
Tweaks to Plasma2040 pinout
2021-08-05 13:01:50 +01:00
ZodiusInfuser
6663dacedb
Added board configurations for Plasma and Interstate
2021-08-03 14:01:56 +01:00
Dan Halbert
a358e5f58a
Add board-specific pico-sdk settings; set xosc multipler for Adafruit boards
2021-07-30 18:50:21 -04:00
Tod Kurt
0d401e7bc8
fix whitespace on new flash chip for Arduino Nano RP2040
2021-07-24 13:22:02 -07:00
Tod Kurt
dcd5b5ab50
added Arduino Nano RP2040 Connect alternate flash chip
2021-07-24 13:12:44 -07:00
DavePutz
25e799e51a
Add LED and GP25 for Cytron Maker Pi Pico
2021-07-09 20:49:59 -05:00
Daniel Griswold
2519b06478
fix spi definition
2021-07-06 01:15:32 -04:00
Radomir Dopieralski
b8c4f7d685
MacroPad RP2040: Add initialization for the OLED display
2021-06-29 17:38:14 +02:00
Kattni Rembor
2c2d541e7c
Adding pins to match silk and other RP2040 boards.
2021-06-28 17:10:15 -04:00
Dan Halbert
836db4e4a1
Merge pull request #4816 from hierophect/rp2040-alarms
...
RP2040: add Alarm module
2021-06-24 08:15:57 -04:00
Limor "Ladyada" Fried
c1c101ca2d
Merge pull request #4864 from ladyada/main
...
macropad rev B definion and fix for SH110x addressing
2021-06-07 21:59:56 -04:00
Lucian Copeland
b6a268fca4
Further deinit additions
2021-06-07 14:13:59 -04:00
Lucian Copeland
63c1791d87
Merge remote-tracking branch 'upstream/main' into rp2040-alarms
2021-06-07 14:11:41 -04:00
Lucian Copeland
f2149edbd2
Add deinit to new boards
2021-06-07 12:48:12 -04:00
lady ada
2ff9e9766f
handclang
2021-06-07 12:39:59 -04:00
lady ada
3890271f19
turn off all neopix when booting
2021-06-06 18:30:17 -04:00
lady ada
01195c2089
update to rev B
2021-06-06 15:57:41 -04:00
ZodiusInfuser
af7557b53b
Updated with final USB PID
2021-06-04 16:02:32 +01:00
ZodiusInfuser
6011db3aec
Added board definition
2021-06-03 15:49:23 +01:00
Kong Wai Weng
b06ec0a776
Added libraries dependency.
2021-05-30 09:57:00 +08:00
Kong Wai Weng
ebe4d90ac3
Updated the copyright information.
2021-05-29 10:12:22 +08:00
Kong Wai Weng
ebda9e07f4
Use 4 spaces instead of tab.
2021-05-29 01:04:13 +08:00
Kong Wai Weng
bfcb8c5896
Do not use neopixel as status LED. Also removed the unused definition.
2021-05-29 00:47:14 +08:00
Kong Wai Weng
5920ac647a
Modified the essential files for Maker Pi RP2040.
2021-05-28 22:42:54 +08:00
Kong Wai Weng
321e5dd16f
Use underscore instead of dash for board name.
2021-05-28 18:01:02 +08:00
Lucian Copeland
24041f34b0
Merge remote-tracking branch 'upstream/main' into rp2040-alarms
2021-05-27 18:40:40 -04:00
Lucian Copeland
8e1892ac6f
Implement RP2040 Alarm module
...
Adds light and deep sleep functionality for the TimeAlarm and PinAlarm
alarm categories. Adds board deinit for all platforms.
2021-05-27 18:33:29 -04:00
Kong Wai Weng
da7c74f614
Initial commit.
2021-05-27 18:02:52 +08:00
Scott Shawcroft
038c9d6194
Merge pull request #4796 from Neradoc/nera-pwmrgb-status-pimoroni
...
Enable the PWM status LED on Pimoroni Tiny 2040 and PicoSystem
2021-05-24 13:30:55 -07:00
lady ada
2e90d5ed07
clang a bit
2021-05-22 12:39:42 -04:00
lady ada
d52f149e84
add ESP CS pin to make wifi demos easier
2021-05-22 12:22:28 -04:00
lady ada
ac855afb48
Some pin neatening and updated PID to unused Adafruit one!
2021-05-22 11:57:46 -04:00
BlitzCityDIY
14dbec7c04
Merge branch 'main' of https://github.com/blitzcitydiy/circuitpython into main
2021-05-22 01:02:21 -04:00
BlitzCityDIY
9f4eb48e70
Updating MISO
...
While testing WIFI realized MISO was defined incorrectly
2021-05-22 01:02:06 -04:00
BlitzCityDIY
352281e23e
Adding Arduino Nano RP2040 Connect
...
Re-commiting to fix local GitHub config issues. Adding CircuitPython support for the Arduino Nano RP2040 Connect. Have tested all digital and analog I/O, I2C, onboard LSM6DSOX. Uses the AT25SF128A external flash.
2021-05-21 20:44:11 -04:00
Neradoc
6808d04d53
enable the PWM status LED on Pimonoroni Tiny 2040 and PicoSystem
2021-05-21 20:13:30 +02:00
Scott Shawcroft
5643355e90
Merge remote-tracking branch 'adafruit/main' into simplify_status_led
2021-05-20 08:35:15 -07:00
Scott Shawcroft
642fbcf87a
Handle status led power
...
This no longer turns on status LED power before running user code.
Therefore, use of the status LED on some boards will also have to
enable the power.
2021-05-19 10:57:14 -07:00
lady ada
d8b895f1d7
add LED and speaker - natch!
2021-05-18 20:53:13 -04:00
ladyada
cec9015e19
iz makropad with oled
2021-05-18 11:09:03 -04:00
lady ada
502b66eac0
moar trinkz
2021-05-11 22:03:05 -04:00
nm3210
a3de9bda5f
Swap mis-labelled D0/D1 pins on SparkFun Pro Micro RP2040
2021-05-08 21:35:37 -04:00
Dan Halbert
8b8968101d
Merge pull request #4691 from nm3210/sparkfunthingplusrp2040_boardupdate
...
Update Sparkfun Thing Plus RP2040 pins to match board breakouts
2021-05-03 09:27:19 -04:00
nm3210
929ee8d3b4
Fix pre-commit whitespace error
2021-04-30 14:16:13 -04:00
Jeff Epler
e95e921ca1
codeformat: Fix filename matching
...
In #4683 , tannewt noticed that uncrustify was not running on some
file in common-hal.
I investigated and found that it was not being run on a bunch of paths.
Rather than make incremental changes, I rewrote list_files to work
bsaed on regular expressions; these regular expressions are created from
the same git-style glob patterns.
I spot-checked some specific filenames after this change, and all looks good:
```
$ python3 tools/codeformat.py -v --dry-run tests/basics/int_small.py ports/raspberrypi/common-hal/pulseio/PulseIn.c extmod/virtpin.c tests/thread/thread_exit1.py ports/raspberrypi/background.h extmod/re1.5/recursiveloop.c
tools/codeformat.py -v --dry-run tests/basics/int_small.py ports/raspberrypi/common-hal/pulseio/PulseIn.c extmod/virtpin.c tests/thread/thread_exit1.py ports/raspberrypi/background.h extmod/re1.5/recursiveloop.c
uncrustify -c /home/jepler/src/circuitpython/tools/uncrustify.cfg -lC --no-backup extmod/virtpin.c ports/raspberrypi/background.h ports/raspberrypi/common-hal/pulseio/PulseIn.c
black --fast --line-length=99 -v tests/thread/thread_exit1.py
```
recursiveloop and int_small are excluded, while PulseIn, virtpin,
and background are included.
Testing running from a subdirectory (not _specifically_ supported though):
```
(cd ports && python3 ../tools/codeformat.py -v --dry-run raspberrypi/common-hal/pulseio/PulseIn.c ../extmod/virtpin.c)
../tools/codeformat.py -v --dry-run raspberrypi/common-hal/pulseio/PulseIn.c ../extmod/virtpin.c
uncrustify -c /home/jepler/src/circuitpython/tools/uncrustify.cfg -lC --no-backup ../extmod/virtpin.c raspberrypi/common-hal/pulseio/PulseIn.
```
As a side-effect, a bunch more files are re-formatted now. :-P
2021-04-30 10:48:08 -05:00
nm3210
9c1466a330
Update Sparkfun Thing Plus RP2040 pins to match board
...
This fixes some missing and incorrectly-assigned pins for the SparkFun Thing Plus RP2040 protoboard so that they actually match what the board says. This also changes the default SPI pins from the SD card pins to the breakout pins on the side of the board.
2021-04-30 09:37:37 -04:00
Kattni Rembor
4d97680cae
Fix board definition.
2021-04-29 13:45:39 -04:00
Kattni Rembor
0bf747870a
Fixing board definition.
2021-04-29 12:41:23 -04:00
zapwizard
889da596ff
Update pins.c
...
Both D0 and D1 were assigned to pin_GPIO7, fixed D0 to pin_GPIO6, which also matches the comment.
2021-04-25 13:10:52 -05:00
Limor "Ladyada" Fried
17e419f129
Merge pull request #4633 from ZodiusInfuser/main
...
Tweaked Pimoroni board names
2021-04-19 15:16:37 -04:00
ZodiusInfuser
efdbc6be08
Tweaked board name
2021-04-19 10:38:07 +01:00
Limor "Ladyada" Fried
b6fa90d0b5
Merge pull request #4625 from stonehippo/sparkfun_micromod_atp_rp2040
...
Added Sparkfun MicroMod RP2040
2021-04-18 21:14:47 -04:00
George White
5bd2e97865
Fix pin definitions
...
I missed a few pin definitions. Fixed those.
2021-04-17 18:43:49 -04:00
George White
493127f4bc
pre-commit trailing space fixes
2021-04-17 17:43:13 -04:00
George White
e0bb7385a1
Added Sparkfun MicroMod RP2040
...
Added board definition for the Sparkfun MicroMod RP2040.
Mostly followed the format for pins from the MicroMod nRF52840 board
definition, as MicroMod tries to standardize pins across
microcontrollers.
2021-04-17 10:56:04 -04:00
Dan Halbert
b2160bdddd
Add VBUS_SENSE (GP24) to board
...
Prompted by https://forums.adafruit.com/viewtopic.php?f=60&t=178237 .
Also add some whitespace to make pin aliases stand out, and add GP23 as an alias for `SMPS_MODE`.
2021-04-17 08:51:20 -04:00
ZodiusInfuser
efa9cfa5ec
Tweaked board name
2021-04-16 18:02:10 +01:00
ZodiusInfuser
1c700a82c9
Removed trailing whitespaces
2021-04-15 12:01:47 +01:00
ZodiusInfuser
f69bf8beb9
Removed whitespaces
2021-04-15 11:57:27 +01:00
ZodiusInfuser
d67ccb625c
Added correct USB PIDs
2021-04-15 11:41:46 +01:00
ZodiusInfuser
e4456bd756
Added definitions for PicoLipo boards
2021-04-14 23:09:10 +01:00
Dan Halbert
11b9a5e605
Merge pull request #4577 from dglaude/patch-1
...
Respect product name: space between QT and Py
2021-04-09 13:10:19 -04:00
Dan Halbert
fdc5bb41f4
D3 pin should be GPIO26
2021-04-08 19:11:27 -04:00
David Glaude
5d6bef569d
Respect product name: space between QT and Py
...
https://www.adafruit.com/product/4900 say "Adafruit QT Py RP2040"
This is also matching other "QT Py" product.
2021-04-08 21:50:16 +02:00
Scott Shawcroft
36edc4bb89
Improve Winbond naming and correct board settings
2021-03-23 09:06:48 -07:00
Scott Shawcroft
7867632a81
Merge remote-tracking branch 'adafruit/main' into rp2040_flash
2021-03-22 15:29:43 -07:00
lady ada
36ae69ab6f
qtpy is more of a button than a switch! add itsybitsy rev C files
2021-03-21 18:44:32 -04:00
lady ada
ebd6011633
add USBBOOT switch, move RX pin, re-enable UART (tested)
2021-03-21 14:58:18 -04:00
Scott Shawcroft
5d2b60cbf6
Redo RP2040 flash settings
...
This switches stage2 to C and uses Jinja to change the C code based
on flash settings from https://github.com/adafruit/nvm.toml . It
produces the fastest settings for the given set of external flashes.
Flash size is no longer hard coded so switching flashes with similar
capabilities but different sizes should *just work*.
This PR also places "ITCM" code in RAM to save the XIP cache for
code execution. Further optimization is possible. A blink code.py
still requires a number of flash fetches every blink.
Fixes #4041
2021-03-18 16:55:42 -07:00
Scott Shawcroft
11e510a06a
Merge pull request #4419 from spe2/main
...
Add board definition for Sparkfun Pro Micro RP2040
2021-03-17 18:17:24 -07:00
Jeff Epler
719e8710f2
Merge pull request #4411 from mintakka/thingplus-rp2040
...
added board configuration for Sparkfun ThingPlus RP2040
2021-03-17 16:23:55 -05:00
mintakka
337727ba0c
renamed board folder to match board name in boards.yml
2021-03-16 21:10:10 -04:00
spe2
dcd9a8ab91
Update ports/raspberrypi/boards/sparkfun_pro_micro_rp2040/mpconfigboard.mk
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16 10:54:20 -07:00
spe2
5bc132a209
Update ports/raspberrypi/boards/sparkfun_pro_micro_rp2040/mpconfigboard.h
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16 10:54:15 -07:00
mintakka
b5333f2bdf
Update ports/raspberrypi/boards/sparkfun_thingplus_rp2040/mpconfigboard.h
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16 13:47:33 -04:00
mintakka
3d15877639
Update ports/raspberrypi/boards/sparkfun_thingplus_rp2040/mpconfigboard.mk
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-16 13:47:21 -04:00
spe2
9de40f56f3
Add board config files
2021-03-15 22:08:19 -06:00
spe2
c9427780b3
Create pins.c
2021-03-15 22:07:24 -06:00
mintakka
49baa94446
added sparkfun_thingplus_rp2040 to .github/workflows/boards.yml and renamed board folder to include chip
2021-03-15 23:00:24 -04:00
mintakka
288415f867
Update ports/raspberrypi/boards/sparkfun_thingplus/mpconfigboard.h
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-15 21:07:31 -04:00
mintakka
30a74b3d92
Update ports/raspberrypi/boards/sparkfun_thingplus/mpconfigboard.mk
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-03-15 21:07:24 -04:00
mintakka
0567d06936
added board configuration for Sparkfun ThingPlus RP2040
2021-03-15 10:27:21 -04:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Jeff Epler
b0fca4fcda
feather rp2040: enable default board.UART
2021-03-03 13:13:06 -06:00
Jeff Epler
b27afad9cb
move LED to the right spot in the file
2021-03-02 19:02:38 -06:00
Jeff Epler
8bfd308d37
feather rp2040: add board.LED
2021-03-02 13:16:09 -06:00
Jeff Epler
f560b5f3a3
raspberry: switch pico back to the boot2 for W25Q16
...
Presumably, switching it to generic hurt performance a bit.
I verified that the build-raspberry_pi_pico/boot2_padded_checksummed.S
built file has the same checksum as the old
bs2_default_padded_checksummed.S
2021-03-02 08:08:41 -06:00
Scott Shawcroft
af9dfccab1
Update QT Py flash size
2021-03-01 10:34:25 -08:00
Scott Shawcroft
dac047db61
Update Feather RP2040 to 8MB
2021-03-01 10:33:04 -08:00
Scott Shawcroft
f0432b9d6f
Remove neopixel power
2021-02-25 16:37:34 -08:00
Scott Shawcroft
80f7972f72
Update RP2040 Feather pinout for production rev
2021-02-25 14:46:08 -08:00
Scott Shawcroft
001d7299b2
Merge pull request #4228 from ZodiusInfuser/rp2040-boards
...
Added definitions for Pimoroni RP2040-based boards
2021-02-23 10:00:19 -08:00
ZodiusInfuser
1a0bf4c33f
Added flash size for PicoSystem
2021-02-23 11:04:20 +00:00
ZodiusInfuser
a9951c9b6c
Added flash size for Keybow2040
2021-02-23 11:01:40 +00:00
ZodiusInfuser
ca9b7debe0
Added flash size for Tiny2040
2021-02-23 10:43:35 +00:00
Scott Shawcroft
863981a5b8
Parens
2021-02-22 18:31:45 -08:00
Scott Shawcroft
0aafeac209
Board specific flash sizes for RP2040
...
Stop-gap solution for #4041 . Comment is there to provide info
needed in the future. (We currently run the generic "safe" settings.)
2021-02-22 17:19:18 -08:00
ZodiusInfuser
52f2fd6d53
Removed trailing white space
2021-02-20 17:25:26 +00:00
ZodiusInfuser
417173b752
Removed trailing white space
2021-02-20 17:24:26 +00:00
ZodiusInfuser
9a4b8c5ed9
Removed trailing white space
2021-02-20 17:23:23 +00:00
ZodiusInfuser
dea498a51f
Added new line
2021-02-20 17:20:28 +00:00
ZodiusInfuser
9fbeb0baea
Added new line
2021-02-20 17:20:06 +00:00
ZodiusInfuser
03577ec81c
Added new line
2021-02-20 17:19:45 +00:00
ZodiusInfuser
dac81ea545
Added new line
2021-02-20 17:19:31 +00:00
ZodiusInfuser
0a00f91979
Added new line
2021-02-20 17:15:42 +00:00
ZodiusInfuser
f1df07002f
Added new line
2021-02-20 17:15:20 +00:00
ZodiusInfuser
27bc5492f5
Added other files for PicoSystem
2021-02-20 13:37:08 +00:00
ZodiusInfuser
e9c7af1dee
Added board.c for PicoSystem
2021-02-20 13:36:46 +00:00
ZodiusInfuser
fb7cce6503
Added other files for Keybow2040
2021-02-20 13:35:27 +00:00
ZodiusInfuser
7ac20bfb8b
Added board.c for Keybow2040
2021-02-20 13:35:06 +00:00
ZodiusInfuser
66dd74cd12
Added other files for Tiny2040
2021-02-20 13:33:54 +00:00
ZodiusInfuser
ad8916499d
Added board.c for Tiny2040
2021-02-20 13:32:54 +00:00
ZodiusInfuser
ee5a48fece
Delete pimoroni_tiny2040
2021-02-19 18:30:29 +00:00
ZodiusInfuser
db102ab1ad
Create pimoroni_tiny2040
2021-02-19 18:29:57 +00:00
Dan Halbert
08f30fedf5
Merge pull request #4188 from ladyada/main
...
QT Py with RP2040
2021-02-11 22:19:56 -05:00
lady ada
6c914b8722
QT Py with RP2040
2021-02-11 19:21:42 -05:00
Scott Shawcroft
c6a7b00030
Merge pull request #4137 from ferret-guy/smps-mode-pin-rpi-pico
...
Add SMPS mode pin to Raspi Pico pins.c
2021-02-05 12:12:55 -08:00
Mark Omo
1292c35d59
Add SMPS mode pin to Raspi Pico pins.c
...
Add SMPS mode pin to Raspi Pico pins.c; see section "4.3. Using the ADC" of the Pico datasheet for discussion.
Driving this pin high forces the onboard regulator into a lower noise PWM mode.
2021-02-05 11:09:40 -07:00
Patrick Van Oosterwijck
a158dde628
Add alternate name VOLTAGE_MONITOR
for A3
2021-02-05 10:55:03 -07:00
Patrick Van Oosterwijck
d357a05870
Add A3 pin to Raspberry Pi Pico
...
We want to be able to use this to measure VSYS.
2021-02-04 10:44:37 -07:00
James Bowman
067f42b4f8
Add Gameduino 3X Dazzler support on raspberry_pi_pico
...
Tested with hardware. Looks good.
Follow on from #4054
2021-01-29 12:25:59 -08:00
Dan Halbert
1e97d384ff
add GP15
2021-01-25 11:02:32 -05:00
Scott Shawcroft
6a6f22b0e6
pre-commit
2021-01-20 23:30:15 -08:00
Scott Shawcroft
733094aead
Add initial RP2040 support
...
The RP2040 is new microcontroller from Raspberry Pi that features
two Cortex M0s and eight PIO state machines that are good for
crunching lots of data. It has 264k RAM and a built in UF2
bootloader too.
Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf
2021-01-20 19:16:56 -08:00