Yihui Xiong
e7da652711
able to change ble mac address
2020-08-13 16:54:29 +08:00
Jeff Epler
c1400bae9b
sharpmemory: Implement support for Sharp Memory Displays in framebufferio
2020-08-12 07:32:18 -05:00
Jeff Epler
9c4f644641
framebufferio: add dirty row tracking
2020-08-12 07:32:18 -05:00
Dan Halbert
06f3b4048a
fix #3228 for nrf; still needs to be fixed for HCI; tested
2020-08-11 16:21:16 -04:00
Roy Hooper
1b7709f325
use the stack
2020-08-10 18:42:05 -04:00
Roy Hooper
ef1782f85e
fix trailing whitespace
2020-08-10 12:04:44 -04:00
Roy Hooper
00a3a25b94
revert error to avoid translation changes
2020-08-08 18:40:45 -04:00
sommersoft
ce9bc1258a
support_matrix.rst: pre-process space chars in internal link names; would cause a no-id situation when names like 'ndGarage[n°] Bit6: FeatherSnow-v2' were parsed.
2020-08-08 11:37:49 -05:00
Dan Halbert
0f4b969d62
discovery of Nordic UART service working
2020-08-08 00:29:37 -04:00
sommersoft
c374368053
support_matrix.rst: add internal links to boards in the table
2020-08-07 22:52:34 -05:00
Roy Hooper
e73dba21d2
make pixelbuf handle floats and iterables
2020-08-07 18:42:06 -04:00
Margaret Matocha
64c9baa6aa
Added bitmap.insert function for slice copy into a bitmap from another bitmap
2020-08-07 15:46:00 -05:00
Jeff Epler
354edd9431
Merge pull request #3252 from ciscorn/pyi
...
Some improvements to the core module docs
2020-08-07 10:11:40 -05:00
Taku Fukada
56c898da80
Modify some Python stubs
2020-08-07 01:01:28 +09:00
Taku Fukada
887eb3b6d9
Apply a Sphinx transform to make the core module docs look better
2020-08-07 00:01:31 +09:00
Jeff Epler
93b373d617
"pop from empty %q"
...
Saves 12 bytes code on trinket m0
2020-08-04 18:42:09 -05:00
Jeff Epler
c37a25f0e5
Use qstrs to save an additional 4 bytes
2020-08-04 14:45:45 -05:00
Jeff Epler
dddd25a776
Combine similar strings to reduce size of translations
...
This is a slight trade-off with code size, in places where a "_varg"
mp_raise variant is now used. The net savings on trinket_m0 is
just 32 bytes.
It also means that the translation will include the original English
text, and cannot be translated. These are usually names of Python
types such as int, set, or dict or special values such as "inf" or
"Nan".
2020-08-04 13:34:29 -05:00
Dan Halbert
0a60aee3e4
wip: compiles
2020-08-02 11:36:38 -04:00
Jeff Epler
d69f081c04
Merge remote-tracking branch 'origin/main' into blm_badge
2020-07-30 07:24:48 -05:00
Christian Walther
8498e7f2cd
Fix inability to set values in 32-bit Bitmap.
2020-07-30 00:35:25 +02:00
Scott Shawcroft
5e86262694
Merge pull request #3187 from jepler/ulab-restructure-document
...
Upgrade ulab
2020-07-29 10:48:27 -07:00
Scott Shawcroft
05a1519e5d
Merge pull request #3214 from kmatch98/bitmap_write
...
Updated Group.c to correct bug with insert into displayio.Group
2020-07-29 10:46:33 -07:00
Jeff Epler
9b8df7f635
Upgrade ulab
...
This version
* moves source files to reflect module structure
* adds inline documentation suitable for extract_pyi
* incompatibly moves spectrogram to fft
* incompatibly removes "extras"
There are some remaining markup errors in the specific revision of
extmod/ulab but they do not prevent the doc building process from
completing.
2020-07-28 16:57:48 -05:00
Margaret Matocha
0887bc2112
Updated to remove else statment, attempt to remove excess mpy-cross... file
2020-07-28 15:03:51 -05:00
Margaret Matocha
076c5f946f
Updated to remove unnecessary else statement
2020-07-28 14:53:50 -05:00
Margaret Matocha
fd7801415a
Deleted mpy-cross file
2020-07-28 14:53:09 -05:00
Dan Halbert
aa97ea2501
Merge remote-tracking branch 'adafruit/main' into blm_badge
2020-07-28 14:15:02 -04:00
Dan Halbert
e5e132a364
add blm_badge; add CIRCUITPY_AUDIOBUSIOIO_I2SOUT
2020-07-28 11:49:54 -04:00
Margaret Matocha
db26e894fb
Updated Group.c to correct bug with insert into groups
2020-07-27 22:25:21 -05:00
Taku Fukada
d356581651
Fix several type hints
2020-07-27 18:05:13 +09:00
Taku Fukada
54a342a7f5
Add and correct some type hints
2020-07-24 18:20:03 +09:00
Scott Shawcroft
543708416b
Merge pull request #3195 from tannewt/remove_i2c_stop
...
Remove stop kwarg from I2C writeto.
2020-07-23 14:39:51 -07:00
Scott Shawcroft
4b6e02949d
Remove stop kwarg from I2C writeto.
...
Fixes #2082
2020-07-23 11:06:14 -07:00
Scott Shawcroft
2bd6d05663
Add externs. GCC10 complains about duplicate defines
2020-07-22 16:26:46 -07:00
Scott Shawcroft
049921fec8
Merge branch 'main' into memmonitor
2020-07-22 14:00:28 -07:00
Scott Shawcroft
1ec3580946
Merge branch 'main' into memmonitor
2020-07-22 12:24:19 -07:00
Scott Shawcroft
eb24653d3f
Fix BluetoothError doc typo we copied
2020-07-21 18:30:29 -07:00
Scott Shawcroft
ee019a96ba
Updates based on review
2020-07-21 16:08:41 -07:00
dherrada
9e3fa863f1
Merge branch 'main' into type_hints
2020-07-21 16:18:51 -04:00
Scott Shawcroft
0c6935e336
Merge branch 'main' into disable_network
2020-07-20 16:28:22 -07:00
Kenny
efeae0d84f
fix 3169: Polygon.points property
...
The getter for vectorio.Polygon#points was not updated with the data type change of the stored points list.
This moves the implementation to shared_module and updates the data type to reflect the actual state.
2020-07-19 12:27:35 -07:00
Scott Shawcroft
610e0171aa
Disable existing native networking.
...
We're moving towards a co-processor model and a Wiznet library is
already available.
New native APIs will replace these for chips with networking like the
ESP32S2 but they won't be these.
2020-07-17 17:43:02 -07:00
Scott Shawcroft
07f031c708
Add ignore() and fix docs
2020-07-17 17:15:04 -07:00
Scott Shawcroft
a1e4814a27
Get AllocationAlarm working
2020-07-17 17:15:03 -07:00
Scott Shawcroft
518d909b2c
Add memorymonitor module
2020-07-17 17:15:03 -07:00
dherrada
612c6bb86b
Merge branch 'main' into type_hints
2020-07-17 14:55:30 -04:00
dherrada
d64b4e3059
Made more requested changes
2020-07-17 14:53:51 -04:00
Dan Halbert
6494bbdc64
snapshot
2020-07-16 23:14:49 -04:00
dherrada
bfcaa4b2b4
Made requested changes in displayio
2020-07-16 16:11:22 -04:00
Dan Halbert
b08b0264cc
back to working; check for extended advertising support
2020-07-15 09:46:13 -04:00
Scott Shawcroft
08375c7930
Merge pull request #2780 from AndrewR-L/patch-1
...
busio/UART: Correct and clarify readline() return.
2020-07-13 16:29:58 -07:00
Scott Shawcroft
51c888d4be
Merge pull request #3003 from Flameeyes/master
...
License tagging according to REUSE specifications.
2020-07-13 16:28:49 -07:00
Dan Halbert
f6869c69c5
wip: advertising; not tested
2020-07-12 19:45:23 -04:00
Dan Halbert
f03045b97e
address working; improved pkt dump
2020-07-08 23:15:48 -04:00
Jeff Epler
6d97f6fccc
audioio: Remove compatibility code
...
These items were aliased from audiocore to audioio for compatibility
with 4.x, but according to our deprecation schedule can be removed
in 6.0.
2020-07-08 20:31:35 -05:00
Dan Halbert
a5ab2829eb
use zephyr include files; wip: compiles
2020-07-08 09:33:41 -04:00
Diego Elio Pettenò
34b4993d63
Add license to some obvious files.
2020-07-06 19:16:25 +01:00
dherrada
bce77adecd
Added type hints previously missed
2020-07-03 16:03:19 -04:00
dherrada
9911b64fa1
Added type hints to ustack
2020-07-03 15:52:53 -04:00
dherrada
657c651e0e
Added type hints to uheap
2020-07-03 15:51:39 -04:00
dherrada
4c5a9d1e3a
Added type hints to time
2020-07-03 15:49:51 -04:00
dherrada
4758081e10
Added type hints to struct
2020-07-03 15:45:29 -04:00
dherrada
45b6e0174e
Added type hints to storage
2020-07-03 15:38:40 -04:00
dherrada
a88004e509
Added type hints to rtc
2020-07-03 15:27:11 -04:00
dherrada
97d405e109
Added type hints to random
2020-07-03 15:25:58 -04:00
dherrada
e237dfe3c5
Added type hints to os
2020-07-03 15:18:44 -04:00
dherrada
aaa550b33e
Added type hints to network
2020-07-03 15:10:56 -04:00
dherrada
9122d0b9f4
Added type hints to multiterminal
2020-07-03 15:08:16 -04:00
dherrada
591cc1a243
Added type hints to math
2020-07-03 15:04:43 -04:00
dherrada
f56deb60c6
Added type hints to _eve
2020-07-03 14:48:16 -04:00
dherrada
d0d949cd24
Made every init return None
2020-07-03 14:23:34 -04:00
dherrada
d358c915c3
Fixed init formatting
2020-07-03 14:00:06 -04:00
dherrada
3df03a5650
Made most of the requested changes
2020-07-03 13:49:00 -04:00
dherrada
843ff5d302
Added type hints to wiznet
2020-07-03 11:44:16 -04:00
dherrada
5163618d23
Added type hints to watchdog
2020-07-03 11:42:07 -04:00
dherrada
9c842c5a67
Added type hints to usb_midi
2020-07-03 11:40:20 -04:00
dherrada
e089862a6c
Added type hints to usb_hid
2020-07-03 11:38:02 -04:00
dherrada
0a657091c6
Added type hints to touchio
2020-07-03 11:34:45 -04:00
dherrada
f8229372bd
Added type hints to terminalio
2020-07-03 11:31:57 -04:00
dherrada
6e4c76a926
Added type hints to _stage
2020-07-03 11:26:48 -04:00
dherrada
9116470fd7
Added type hints to socket
2020-07-03 11:24:53 -04:00
dherrada
71ec419da6
Added type hints to sdioio
2020-07-03 11:16:41 -04:00
dherrada
48443ce02b
Added type hints to sdcardio
2020-07-03 11:15:22 -04:00
dherrada
d9a98bd05c
Added type hints to rotaryio
2020-07-03 11:13:16 -04:00
dherrada
c8437e6595
Added type hints to rgbmatrix
2020-07-03 11:10:13 -04:00
dherrada
93d20077cc
Added type hints to pulseio
2020-07-03 11:04:03 -04:00
dherrada
a2c7e2795b
Added type hints to ps2io
2020-07-03 10:51:39 -04:00
dherrada
41f12a7a6c
Added type hints to pixelbuf
2020-07-03 10:47:44 -04:00
dherrada
e273b9a11f
Added type hints to _pew
2020-07-03 10:42:57 -04:00
dherrada
0abf45a446
Added type hints to nvm
2020-07-03 10:37:55 -04:00
dherrada
0a8d9eed45
Added type hints to microcontroller
2020-07-03 10:33:28 -04:00
dherrada
2e8b8c7b95
Added type hints to i2cperipheral
2020-07-03 10:29:39 -04:00
dherrada
6a3968d805
Added type hints to gnss
2020-07-03 10:26:31 -04:00
dherrada
d73348f673
Added type hints to gamepadshift
2020-07-03 10:19:34 -04:00
dherrada
ff8604bb82
Added type hints to gamepad
2020-07-03 10:17:35 -04:00
dherrada
51841447be
Added type hints to frequencyio
2020-07-03 10:14:40 -04:00
dherrada
ca0e8ea1eb
Added type hints to framebufferio
2020-07-03 10:12:04 -04:00
dherrada
48ea2271b7
Added type hints to fontio
2020-07-03 10:08:25 -04:00
dherrada
783cc4de39
Added type hints to displayio
2020-07-03 10:05:14 -04:00
Scott Shawcroft
70fdde4aaa
Remove trailing space
2020-07-02 15:11:40 -07:00
dherrada
9b4ffc0571
Changed unions to ReadableBuffer and WriteableBuffer
2020-07-02 17:47:52 -04:00
Scott Shawcroft
c33542f978
Merge branch 'main' into patch-1
2020-07-02 13:56:09 -07:00
dherrada
dd27fdfbe3
Added type hints to countio
2020-07-02 14:15:43 -04:00
dherrada
51fd286cbf
Added type hints to board
2020-07-02 14:14:05 -04:00
dherrada
26f1fd0071
Added type hints to _bleio
2020-07-02 14:11:25 -04:00
dherrada
54cb1feea0
Removed all 'self, )'
2020-07-02 13:28:36 -04:00
dherrada
522b17ca93
Made suggested changes
2020-07-02 13:25:07 -04:00
dherrada
ac113fdc81
Changed bytearray to a union
2020-07-02 12:39:17 -04:00
dherrada
ffc5f0c338
Added type hints to bitbangio
2020-07-02 12:37:03 -04:00
dherrada
ed476a417c
Added type hints to audiopwmio
2020-07-02 12:07:03 -04:00
dherrada
e114b31a7a
Added type hints to audiomp3
2020-07-02 12:02:21 -04:00
dherrada
24bca06db0
Added type hints to audiomixer
2020-07-02 12:02:13 -04:00
dherrada
3d1e0051e6
Added type hints to audioio
2020-07-02 12:02:07 -04:00
dherrada
b26ee6c1f6
Added type hints to audiocore
2020-07-02 12:02:02 -04:00
dherrada
2681bd52b5
Did audiobusio
2020-07-02 11:33:18 -04:00
dherrada
627ecadb3f
Did aesio
2020-07-02 11:10:53 -04:00
dherrada
cb259de5ef
Did busio, fixed up analogio
2020-07-02 10:23:17 -04:00
dherrada
6fd6747e9e
Added type hints for analogio
2020-07-02 09:36:22 -04:00
Jeff Epler
fcddfd0f39
Merge pull request #3083 from tannewt/esp32s2_busio
...
Add busio support for the ESP32-S2
2020-07-01 21:02:08 -05:00
Jeff Epler
e33accae4d
ulab: document sosfilt
2020-07-01 10:15:09 -05:00
Dan Halbert
11cb3e3b4b
hci skeleton done; not working yet
2020-06-30 23:19:40 -04:00
Dan Halbert
f879114c43
do HCI pin init in Python, not here
2020-06-26 19:27:05 -04:00
Dan Halbert
1bc2e979eb
wip; compiles; much commented out
2020-06-26 17:23:20 -04:00
Jeff Epler
472a04ba4b
sdioio: Remove junk in comments
2020-06-26 13:17:00 -05:00
Jeff Epler
0f2fb93d14
Update shared-bindings/sdcardio/SDCard.c
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2020-06-26 13:15:30 -05:00
Jeff Epler
05837b2841
sdioio: Add shared-bindings
...
There is no implementation yet.
2020-06-26 11:50:25 -05:00
Jeff Epler
159728b550
shared-bindings: Factor out validate_list_is_free_pins
...
This will ultimately be used by SDIO, where a variable length list
of data lines is called for.
2020-06-26 11:50:24 -05:00
Jeff Epler
57fde2e07b
sdcardio: implement new library for SD card I/O
...
Testing performed: That a card is successfully mounted on Pygamer with
the built in SD card slot
This module is enabled for most FULL_BUILD boards, but is disabled for
samd21 ("M0"), litex, and pca10100 for various reasons.
2020-06-26 11:50:23 -05:00
Dan Halbert
759929c24a
hci early wip; refactor supervisor bluetooth.c for nrf: tested
2020-06-25 20:57:17 -04:00
Jeff Epler
1d2cc0b968
I2CPeripheral: Rename class and its module
...
This is an incompatible change.
2020-06-25 11:44:19 -05:00
Jeff Epler
9110e36636
Use main/selected terminology in docstrings
...
Also copy some notes from busio docstrings to bitbangio docstrings
2020-06-25 11:42:23 -05:00
Scott Shawcroft
c5fa9730a8
Compiles!
2020-06-24 12:47:59 -07:00
Scott Shawcroft
a26102607e
Add UART support
2020-06-24 12:47:58 -07:00
Kamil Tomaszewski
ab4c09cea7
gnss: Add timestamp
2020-06-24 11:14:44 +02:00
Kamil Tomaszewski
3509dad5b3
gnss: Remove start and stop
2020-06-24 11:14:44 +02:00
Kamil Tomaszewski
c49f4bcc85
gnss: add a comment about the units
2020-06-24 11:14:44 +02:00
Kamil Tomaszewski
84f424f631
gnss: Implement new library for GNSS
2020-06-24 11:14:44 +02:00
Jeff Epler
a580f0f1c4
_pew: move to common-hal
...
I noticed that this code was referring to samd-specific functionality,
and isn't enabled except in one samd board (pewpew10). Move it.
There is incomplte support for _pew in mimxrt10xx which then caused build
errors; adding a #if guard to check for _pew being enabled fixes it.
The _pew module is not likely to be important on mimxrt but I'll leave the
choice to remove it to someone else.
2020-06-22 10:45:27 -05:00
Jeff Epler
32a29ffdff
shared-bindings: Change docstrings with '\x...' chars to raw strings
...
Closes : #3032
2020-06-14 13:05:08 -05:00
Jeff Epler
3c3cad5ae6
docs: Improve 5.0.x <-> main branch doc linkrot
...
This improves, but does not entirely fix, the broken links that result
from the autoapi change. It fixes module-level links, but class links
still do not work (e.g., /shared-bindings/displayio/Palette.html (5.0.x)
is now just /shared-bindings/displayio/#displayio.Palette).
2020-06-14 11:12:35 -05:00
Diego Elio Pettenò
dd5d7c86d2
Fix up end of file and trailing whitespace.
...
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-06-03 10:56:35 +01:00
Scott Shawcroft
959f7297da
Merge remote-tracking branch 'adafruit/master' into wdt-nrf
2020-06-01 17:01:16 -07:00
Scott Shawcroft
a170c5e13a
Merge branch 'master' into update-ulab
2020-06-01 15:19:21 -07:00
Scott Shawcroft
323cca8910
Merge remote-tracking branch 'adafruit/master' into wdt-nrf
2020-06-01 15:18:12 -07:00
Jeff Epler
8af77cb91f
ulab: docs: Fix markup error
2020-06-01 11:02:51 -05:00
Jeff Epler
5061405eb3
fix spelling
2020-06-01 09:16:55 -05:00
Jeff Epler
18c659780e
ulab: update
...
.. add new modules and functions to our shared-bindings stubs
2020-06-01 09:02:29 -05:00
Jeff Epler
89bd87d9fc
shared-bindings: Fix docs of storage.VfsFat
...
This is almost, but not entirely, a whitespace change.
"..." was missing or mis-placed in several places
The invalid syntax 'def f(self, ):' was used in several places.
2020-05-31 10:35:42 -05:00
Scott Shawcroft
2fd7a43f2f
Merge remote-tracking branch 'adafruit/master' into wdt-nrf
2020-05-29 10:16:24 -07:00