Lee Atkinson
6fd08483e2
Tidying code for PR/ Minor Issues
2022-08-24 17:41:51 -04:00
Lee Atkinson
e23b621d69
Fixing 8 bit and 12 bit conversion
2022-08-22 18:55:55 -04:00
Lee Atkinson
f5655dd48c
Fixing Build errors/ DMA Xfer Rate
2022-08-21 11:44:40 -04:00
Lee Atkinson
68671399d1
More formating
2022-08-19 10:51:13 -04:00
Lee Atkinson
d3c3c9eac4
Tidy a few things
2022-08-18 19:10:16 -04:00
Lee Atkinson
f91af513b7
Introduced odule adcbuffer / removed analogio/AnalogFastIn
2022-08-18 16:23:17 -04:00
Lee Atkinson
34b8fbaf14
Merge branch 'adafruit:main' into adcdma
2022-08-18 09:08:10 -04:00
arturo182
23f2b62196
Add the Solder Party BBQ20KBD board
2022-08-17 20:44:23 +02:00
Lee Atkinson
4542c801b0
Tidying up loose endson draft PR
2022-08-14 13:03:33 -04:00
gamblor21
7584363f66
Forgot an include
2022-08-13 17:41:45 -05:00
gamblor21
1ae2a2154e
Initial i2ctaret commit
2022-08-13 17:00:43 -05:00
Lee Atkinson
8cd12b2478
Copyright Change
2022-08-12 16:01:58 -04:00
Lee Atkinson
81c7ba899d
Copyright Update/Acknowledgements
2022-08-12 13:57:45 -04:00
Lee Atkinson
6d8e8c71fc
Merge branch 'adcdma' of https://github.com/latkinso42/circuitpython into adcdma
...
Fixing code behind commits
2022-08-11 17:58:46 -04:00
Lee Atkinson
c3c1e307c4
Sample Rate Enhancements
2022-08-11 17:50:30 -04:00
Lee Atkinson
5fb5fd0558
Merge branch 'adafruit:main' into adcdma
2022-08-10 18:33:52 -04:00
Lee Atkinson
e778112710
Merge branch 'adafruit:main' into adcdma
2022-08-10 10:29:17 -04:00
Lee Atkinson
9e0c580d3d
AnalogFastIn
2022-08-10 09:42:24 -04:00
Dan Halbert
41bcd7b260
Remove support for auto-brightness
2022-08-09 22:40:21 -04:00
Dan Halbert
c4db71d12e
Merge pull request #6721 from dhalbert/i2c-target
...
Change I2C terminology from "peripheral" to "target"
2022-08-09 16:12:17 -04:00
Scott Shawcroft
df52d995ed
Merge pull request #6714 from dannystaple/patch-2
...
Improve docs for rp2Pio Statemachine frequency
2022-08-09 10:50:27 -07:00
Dan Halbert
84807cd6eb
Change I2C terminology from "peripheral" to "target"
2022-08-09 13:13:19 -04:00
takayoshiotake
5ce3778d75
Add custom board: Octave RP2040
2022-08-09 22:19:38 +09:00
Danny Staple
3c1c477c5b
Improve docs for rp2Pio Statemachine frequency
...
This frequency can be set to 0 for the system (133mhz) clock speed.
2022-08-08 22:14:55 +01:00
Lee Atkinson
f69939c49c
First Commit for AnalogFastIn
2022-08-06 16:22:50 -04: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
Neradoc
87e8994c4a
no default extension for ESP, fix duplicate line in rp2
2022-07-26 18:15:59 +02:00
Neradoc
eabe8b971a
list extensions instead of macros names ("bin,uf2" not BIN_UF2)
...
the modules_support_matrix usees a dictionnary per board instead of a list
optionally include the frozen modules URLs in it
2022-07-26 18:15:59 +02:00
Neradoc
d021d9ae4a
Move build extensions to board directories
...
- define CIRCUITPY_BUILD_EXTENSIONS to predefined values
- set CIRCUITPY_BUILD_EXTENSIONS in port and board config
- reuse the support matrix "get_settings_from_makefile" to get it
- move the existing port and board specific values
- remove the C3 specific board values because it's not the default
- update build_release_files.py to use get_settings_from_makefile
2022-07-26 18:15:50 +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
Scott Shawcroft
c90167a9db
Merge pull request #6630 from ViktorWiz/w5500-evb-pico
...
Add WIZNet W5500-EVB-Pico
2022-07-25 15:16:32 -07:00
Jeff Epler
955bcee1b3
It's OK for an init program to be zero bytes long
...
Closes #6636
2022-07-23 20:01:31 -05: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
Scott Shawcroft
d9f6e99942
Fix RP2040 UART
...
It couldn't receive more than 32 bytes in while checking in_waiting
because in_waiting didn't turn interrupts back on correctly.
Fixes #6579
2022-07-11 13:36:44 -07:00
Xu Hao
be3482ff05
Set MICROPY_HW_LED_STATUS pin to the elecfreaks_picoed
2022-07-11 16:51:06 +08:00
Nick Lopez
dce9396fe3
issue adafruit#6538 loose bounds checking on WAIT PIO instruction
2022-07-02 14:32:20 -07: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
42f05a32a3
Merge branch 'adafruit:main' into main
2022-06-09 08:42:42 +02:00
Scott Shawcroft
9c20eb58e9
Merge pull request #6450 from mwisslead/rp2040_pulsein_common_hal_construct
...
Rp2040 pulsein improvements
2022-06-08 08:15:29 -07: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
ac282b2a73
Merge pull request #6440 from tannewt/translate_header
...
Switch translate() to the header file
2022-06-05 23:50:47 -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
Scott Shawcroft
9d10a3da66
Conditionalize LTO
2022-05-27 12:59:54 -07:00
Paint Your Dragon
c3f58193ca
Correctly scale analog reading per issue #4794
2022-05-24 08:46:39 -07:00
arturo182
0f1973b037
Merge pull request #6418 from solderparty/stamp_round_board
...
Add a Round Carrier board file to the RP2040 Stamp build
2022-05-23 19:42:56 +02:00
Michael Wisslead
2b0518233b
rp2040 PulseIn improvements
2022-05-23 00:45:06 +00:00
Michael Wisslead
893fc66d16
Use common_hal_rp2pio_statemachine_construct for PulseIn
2022-05-23 00:45:06 +00:00
arturo182
d2d3b27822
Add a Round Carrier board file to the RP2040 Stamp build
2022-05-22 15:52:25 +02:00
Dan Halbert
e852b28bb2
update pico-sdk to 1.3.1
2022-05-20 17:52:35 -04:00
Dan Halbert
f63b26c534
address jepler's comments and further squeezes
2022-05-20 10:10:55 -04:00
Fabian Affolter
f1f9ba2371
Add support for WeAct Studio Pico
2022-05-19 23:51:25 +02:00
Dan Halbert
a01dec1df9
message consolidation and more use of validators
2022-05-19 15:38:37 -04:00
Alec Delaney
289fdc1241
Added link to library and guide for rp2pio
2022-05-13 11:15:26 -04: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
Dan Halbert
bb46898572
Merge pull request #6361 from mwisslead/rp2040_pulsein_buffer_fix
...
Fix buffer issue for rp2040 PulseIn
2022-05-08 12:37:17 -04:00
Jeff Epler
5f4f66774c
Merge pull request #6360 from jepler/statemachine-improvements
...
Statemachine improvements
2022-05-07 09:35:57 -05:00
Jeff Epler
561ed3739a
fix the docstrings
2022-05-07 07:49:16 -05:00
Dan Halbert
34427bd6ba
Update StateMachine.c
2022-05-06 22:36:24 -04:00
Michael Wisslead
b7882edd01
Fix buffer issue for rp2040 PulseIn
2022-05-07 00:57:10 +00:00
Jeff Epler
b482a732c6
StateMachine: add swap flag
...
Always use DMA if swap flag is enabled.
Improve docs a bit
2022-05-06 15:22:43 -05:00
Jeff Epler
23c0fc8354
add ability to get, clear txstall flag
...
This can be used to make sure a PIO has actually finished all data
it was schedule to receive via a 'once' background_write
2022-05-06 15:22:43 -05:00
Jeff Epler
f776749ca3
Key off len, not buf, to decide if anything to DMA
2022-05-06 15:22:43 -05:00
Jeff Epler
1a9034ff7c
rp2pio: Allow background_write(None) to terminate after complete loop
2022-05-06 15:22:42 -05:00
Dan Halbert
5edc59f070
Merge pull request #6337 from jepler/property-storage
...
Optimize flash storage of properties
2022-05-06 09:55:18 -04: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
a9d929627a
minor comment update
2022-05-05 14:40:49 -05:00
Dan Halbert
b71ea29a8b
Merge pull request #6330 from KurtE/rp2040_uart_rs485
...
[RP2040] Allow any GPIO pin for RS485 direction pin
2022-05-04 13:32:36 -04:00
Jeff Epler
7d7986b041
Add NEOPIXEL pin
...
Closes : #6307
2022-05-03 12:21:15 -05:00
Jeff Epler
510890b207
Enable squeezing property storage in flash
...
.. and enable it on atmel-samd and raspberrypi. On trinket_m0 this saves
96 net bytes of flash. There are 216 bytes actually saved by reducing
the flash storage size of the property descriptors, but added code in
several paths takes back over half of the 'raw savings'.
By organizing the "get-only" and "get-set" (but no delete) properties
each in a different section, we can represent then more efficiently.
Testing performed: that a get-only property can still be gotten but
can't be set or deleted; that a get-set property can sill be gotten or
set but can't be deleted. Tested on pygamer.
Because this requires linker file support, I only enabled it on two of
the ports.
2022-05-03 08:48:53 -05:00
Jeff Epler
78cf0a90af
Make MP_PROPERTY_GETTER / _GETSET fully declare the property
...
This will enable setting data attributes, namely, the section of the
symbol.
2022-05-03 08:48:53 -05:00
Jeff Epler
31da335cac
Introduce, use MP_PROPERTY_GETTER, _GETSET
...
Later, these can be changed in cunning ways to save flash storage.
2022-05-03 08:48:52 -05:00
Zach Richard
a23ede8bc4
update USB VID/PID codes to match pidcodes request
2022-05-02 19:49:30 -04:00
KurtE
1fad381513
[RP2040] Allow any GPIO pin for RS485 direction pin
...
As I mentioned in issue #6310 while investigating that the Teensy port
did not support RS485_dir pin on normal GPIO pins, I found that it
was not implemented either as well on some other ports.
So was curious to implement it for RP2040 using same approach as I did
for the MIMXRT in the Pull Request #6328
That is I setup the specified pin as a normal GPIO pin in output mode
and then when you do a write operation it sets the GPIO pin logically
high, and when the write completes I set it logically low.
Note: knowing when I can set it low can be tricky, as you need to make
sure the full output has completed otherwise the data will be corrupted.
I am using: uart_tx_wait_blocking(self->uart);
Which looks like it is supposed to wait until the busy status is no
longer set, which the Reference manual mentioned, but this is leaving
the line logically set longer than I would like.
however I have tried running it with my hacked up version of the
Python Robotis DynamixelSDK and was able to talk to some AX servos.
I did have to change the library slightly for the RP2040, as the
library was erroring out when you did something like uart.read(5)
and it timed out without receiving anything. The RP2040 returned
None whereas I think the Teensy returned an empty set, which is what
it looks like the PySerial original code expects.
Not sure if anyone is interested in this, but thought i would
put it out as PR and see.
2022-04-30 14:31:08 -07:00
Dan Halbert
63abd9a9cf
Merge pull request #6312 from dhalbert/adjust-neopixel-timings
...
test and adjust NeoPixel timings on multiple ports
2022-04-26 13:18:47 -04:00
Dan Halbert
3a8fb4e956
Merge pull request #5852 from jepler/floppy
...
Add floppyio
2022-04-26 11:40:19 -04:00
Dan Halbert
c8e8171cec
Merge pull request #6300 from jepler/pio-continuous
...
rp2040: add a background write with looping to StateMachines
2022-04-26 10:09:02 -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
Dan Halbert
4eeaf41edc
test and adjust NeoPixel timings on multiple products
2022-04-25 23:12:24 -04:00
Jeff Epler
1a89a2d366
fix doc build
2022-04-23 13:25:59 -05:00
Jeff Epler
989fb828d4
Revamp background writing
...
Now a 'once' and a 'loop' buffer can be specified.
'once' is useful for things like writing a neopixel strip in the background,
if you can guarantee the buffer contents are stable until the write is complete.
'loop' is useful for periodic things, like pwm & servos.
both together are useful for some special cases of pwm/servo, where a
transitional waveform needs to be played for one repetition and then
a new waveform needs to be played after that.
The API is renamed to reflect that it's a more generic 'background'
operation.
2022-04-23 13:09:36 -05:00