Scott Shawcroft
e7438c481e
Merge pull request #4125 from xorbit/main
...
Add A3 pin to Raspberry Pi Pico
2021-02-05 12:08:35 -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
Dan Halbert
0802b22ed6
usb descriptors all set; rework of enabling for USB devices
2021-02-04 19:23:40 -05:00
Jeff Epler
6e153d9948
raspberrypi: implement reset, reset_to_bootloader
...
This makes all the following work:
* normal microcontroller.reset()
* reset into safe mode or UF2 bootloader via microcontroller.on_next_reset()
* reset into UF2 bootloader via the "1200 baud trick"
The implementation of reset_cpu is from micropython.
2021-02-04 12:07:50 -06: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
BiffoBear
2656c84b01
Initial commit. Edited error messages in .c files
2021-02-03 05:49:40 +07:00
Scott Shawcroft
8789a2c8a9
Merge pull request #4110 from microDev1/rtc-rp
...
RP2040: Support for RTC
2021-02-01 19:47:44 -08:00
microDev
ec03267035
rtc implementation for rp2040
2021-02-02 00:00:00 +05:30
Dan Halbert
459f323247
Merge pull request #4087 from DavePutz/cpu_temp_doc
...
Fixing microcontroller.cpu on multi-core cpus and adding microcontroller.cpus
2021-02-01 12:50:37 -05:00
Scott Shawcroft
17cf03c8e4
Merge pull request #4083 from microDev1/watchdog-rp
...
RP2040: Support for WatchDog
2021-01-31 19:45:38 -08:00
microDev
34fe152fcf
extend include path
2021-01-30 14:00:14 +05:30
James Bowman
acbf66dacc
Make sys.platform "RP2040" on raspberrypi
...
[#4091 ]
2021-01-29 12:33:37 -08: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
root
67f128c0cf
Fixing microcontroller.cpu on muti-core cpus and adding microcontroller.cpus
2021-01-28 14:42:39 -06:00
microDev
a54b57ea40
watchdog implementation for rp2040
2021-01-28 15:15:15 +05:30
Dan Halbert
29e672fe86
Merge pull request #4071 from tannewt/rp2040_uart_error
...
Raise an error on UART use
2021-01-26 15:22:02 -05:00
Dan Halbert
a9227e15d0
Merge pull request #4063 from dhalbert/rp2040-gp15
2021-01-26 13:38:41 -05:00
Scott Shawcroft
b42e94ee2c
Raise an error on UART use
2021-01-26 08:48:30 -08:00
Dan Halbert
be4cfdd3d6
Use TOTAL_GPIO_COUNT instead of magic number 30
2021-01-25 22:16:24 -05:00
Dan Halbert
0fa5aa359d
Stop treating pin 15 specially.
2021-01-25 16:07:01 -05:00
Dan Halbert
69c71bd522
fix some build errors
2021-01-25 11:54:10 -05:00
Dan Halbert
1e97d384ff
add GP15
2021-01-25 11:02:32 -05:00
Dan Halbert
69869e1439
CIRCUITPY_* switches for JSON, RE, etc. Doc cleanup
2021-01-24 23:10:20 -05:00
Scott Shawcroft
de6b05a17b
Fix DigitalInOut.pull on RP2040
...
It used to always return None.
Fixes #4035
2021-01-22 19:00:37 -08:00
Dan Halbert
e8e8c593ac
move longint choice to mpconfigport.mk
2021-01-21 22:50:15 -05:00
root
f39ca0a1d6
Adding longing support on RP2040
2021-01-21 16:42:16 -06:00
root
3aab17c98e
Adding longint support on RP2040
2021-01-21 16:40:57 -06:00
Scott Shawcroft
b73b30ff9f
Switch to upstream TinyUSB
2021-01-21 11:33:13 -08:00
Scott Shawcroft
b47fd08b20
copy editing
2021-01-21 10:17:40 -08:00
Scott Shawcroft
b0f7fd933f
type fix
2021-01-20 23:33:00 -08:00
Scott Shawcroft
6a6f22b0e6
pre-commit
2021-01-20 23:30:15 -08:00
Scott Shawcroft
48721584f9
Temporarily turn off string op overflow check
2021-01-20 19:16:56 -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