Commit Graph

27885 Commits

Author SHA1 Message Date
foamyguy
d1aab89a59 remove prints and extra whitespace 2022-05-07 11:57:27 -05:00
foamyguy
b03968aee5 hide vectorio objects if their containing group is hidden 2022-05-07 11:50:40 -05:00
foamyguy
c8a98d1a18 Merge branch 'adafruit_main' into hidden_vectorio 2022-05-07 10:25:34 -05:00
Hosted Weblate
9a1c7cddd4
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2022-05-07 16:36:08 +02: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
c1cc9b8bbf
Merge pull request #6353 from tekktrik/doc/add-communication-links
Add links to guides for "essential" modules, others
2022-05-06 22:45:40 -04: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
Dan Halbert
30904a8638
Merge pull request #6354 from dhalbert/espressif-dio-fixes
espressif: check properly for pull values
2022-05-05 22:44:29 -04:00
Dan Halbert
17c47ac2c3
Merge pull request #6358 from dupontgu/patch-2
Fix pin mapping for thing plus 2040
2022-05-05 21:25:52 -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
0f3eb9f46e espressif: check properly for pull values 2022-05-04 22:51:27 -04:00
Alec Delaney
d1d6d99318 Specify target for board 2022-05-04 21:59:08 -04:00
Dan Halbert
03b1a0284e
Merge pull request #6352 from billvanleeuwen424/removeDuplicateInclude
Removed duplicate include, fixes issue #6278
2022-05-04 21:47:17 -04:00
Dan Halbert
27cbf1321c
Merge pull request #6350 from dhalbert/samd-SRC_C-conditionals
Compile more SAMD things conditionally
2022-05-04 21:46:26 -04:00
billvanleeuwen424
76040a9380 removed duplicate include per issue 6278 2022-05-04 14:57:37 -04:00
Alec Delaney
9d83b319b3 Add Learn guide link to CPY Essentials for analogio 2022-05-04 14:27:10 -04:00
Alec Delaney
aaaa0acde4 Add link to CPY Essentials Learn guide for board module 2022-05-04 14:26:52 -04:00
Alec Delaney
f4bd20b5e8 Add inofrmation about NeoPixels in neopixel_write module 2022-05-04 14:20:48 -04:00
Alec Delaney
ba4a253e77 Add link to CPY Essentials Learn guide for storage module 2022-05-04 14:04:07 -04:00
Alec Delaney
042eb84d84 Add Learn guide link to displayio 2022-05-04 14:01:03 -04:00
Alec Delaney
7a0b0010e8 Add CircuitPython Essentials Learn guide link to pwmio 2022-05-04 13:59:04 -04:00
Alec Delaney
9d6c4059e0 Add CPY essential learn guide link to digitalio 2022-05-04 13:57:37 -04:00
Alec Delaney
3b665dda3c Add Learn guide for digitalio 2022-05-04 13:54:20 -04:00
Alec Delaney
8651156ee0 Add link to busio from board module 2022-05-04 13:50:08 -04:00
Alec Delaney
802931987a Fix board module additions 2022-05-04 13:49:47 -04: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
Dan Halbert
a7ec8b02e9
Merge pull request #6328 from KurtE/mixrt_uart_rs485
[mimxrt (teensy) Allow Any GPIO pin for RS485 pin
2022-05-04 13:30:09 -04:00
Dan Halbert
75bfcb3630 add caveat about software RS485 implementations 2022-05-04 13:05:41 -04:00
Dan Halbert
98ae047525 Compile more SAMD things conditionallly 2022-05-04 11:41:48 -04:00
Jeff Epler
56ed0b001e
Merge pull request #6347 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-05-04 08:46:36 -06:00
Hosted Weblate
e52fd0871b
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2022-05-04 04:43:56 +02:00
Dan Halbert
ce959a9af4
Merge pull request #6342 from dhalbert/pin-hash
make Pin hashable
2022-05-03 22:43:46 -04:00
Dan Halbert
e25e177a6f
Merge pull request #6343 from dhalbert/missing-board-LED
add board.LED to Metro M4 AirLift LIte and PyRuler
2022-05-03 19:17:04 -04:00
Dan Halbert
e5c9f3b320
Merge pull request #6341 from tekktrik/doc/add-time-module-link
Link to CPython docs for subset modules
2022-05-03 19:16:50 -04:00
Dan Halbert
68acd14342 use generic hash routine where possible 2022-05-03 19:11:54 -04:00
Dan Halbert
4da73ac0f1
Merge pull request #6344 from dhalbert/adabot-website-pr
run circuitpython.org website PR action with adafruit-adabot instead of adafruit-blinka
2022-05-03 18:57:29 -04:00
Alec Delaney
024ab1974b Fix typo 2022-05-03 16:42:40 -04:00
KurtE
6378343bb3 As I mentioned in issue #6332,
there return of a read operation that times out with no data received
is inconsistent:
```
Adafruit CircuitPython 7.3.0-beta.1-31-g73f6b4867-dirty on 2022-04-30; Adafruit Feather RP2040 with rp2040
>>>
>>> import board, busio
>>> print(board.UART().read(5))
None

Adafruit CircuitPython 6.3.0 on 2021-06-01; FeatherS2 with ESP32S2
>>> import board,busio
>>> print(board.UART().read(5))
None

Adafruit CircuitPython 7.3.0-beta.1 on 2022-04-07; Adafruit Feather STM32F405 Express with STM32F405RG
>>> import board, busio
>>> print(board.UART().read(5))
None

Adafruit CircuitPython 7.3.0-beta.1-31-g73f6b4867-dirty on 2022-04-28; Teensy 4.1 with IMXRT1062DVJ6A
>>> import board, busio
>>> print(board.UART().read(5))
b''
```

Since I have a PR on this file anyway, I thought I would put in the change to make it consistent
with the other 3 board types I tried.  Can not say about any of the others.
2022-05-03 13:39:49 -07:00
Dan Halbert
814640e25a run circuitpython.org website PR action with adafruit-adabot instead of adafruit-blinka 2022-05-03 16:29:54 -04:00
Dan Halbert
b181caaefc add board.LED to Metro M4 AirLift LIte and PyRuler 2022-05-03 16:08:01 -04:00
Dan Halbert
9717fd235d make Pin hashable 2022-05-03 15:28:42 -04:00
Alec Delaney
24fb138311 Use shortcut "directive" for subset note 2022-05-03 14:56:12 -04:00