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
Alec Delaney
bbc29e84a7
Add os, "socket", atexit, ssl, struct, traceback, math links
2022-05-03 12:31:20 -06:00
Alec Delaney
de7a90ab00
Add link to CPython os module
2022-05-03 14:00:52 -04:00
Alec Delaney
5bd8fa6842
Add link to CPython random module
2022-05-03 13:59:13 -04:00
Alec Delaney
664a92c2df
Add link to CPython math module
2022-05-03 13:57:22 -04:00
Dan Halbert
a7c074b8ff
Merge pull request #6339 from jepler/servo2040-neopixel-name
...
Add NEOPIXEL pin
2022-05-03 13:54:41 -04:00
Alec Delaney
2457b2bdf4
Link to CPython docs for time module
2022-05-03 13:49:00 -04:00
Alec Delaney
49918299f2
Update docs with links to tutorials for I2C, SPI, and UART
2022-05-03 13:42:42 -04:00
Jeff Epler
7d7986b041
Add NEOPIXEL pin
...
Closes : #6307
2022-05-03 12:21:15 -05:00
Jeff Epler
b292a925d5
remove stray semicolon
2022-05-03 09:23:47 -05:00
Jeff Epler
030d5fefa0
Ignore SH1107 quirk if not 1bpp
2022-05-03 09:23:36 -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
5b9f0681ad
Get some getter props defined through another macro
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
Jeff Epler
dddf541ede
Fix some property declarations that were slightly different
2022-05-03 08:48:37 -05:00