Commit Graph

1920 Commits

Author SHA1 Message Date
Dan Halbert
d0b2544f88 Add precision info to time.monotonic() 2021-10-08 10:21:35 -04:00
Scott Shawcroft
75db5a21a7
Merge pull request #5392 from dhalbert/report-id-0
allow usb_hid.Device(..., report_ids=(0,), ...)
2021-10-07 10:08:35 -07:00
Dan Halbert
de8f7b11ef
fix error message 2021-10-07 10:36:00 +05:30
microDev
a46aa48e23
Convert more modules to use MP_REGISTER_MODULE
Convert espidf, os, rp2pio, samd and time to use MP_REGISTER_MODULE.

Related to #5183.
2021-10-05 16:58:24 +05:30
Neradoc
ab65e88a87 add board_id to the board module documentation 2021-09-30 19:21:03 +02:00
microDev
3da86b0ac2
add initial esp32c3 support 2021-09-26 09:39:40 +05:30
Dan Halbert
d4ec3e2927 allow usb_hid.Device(..., report_ids=(0,) 2021-09-25 18:09:41 -04:00
Jeff Epler
10fdc80b9c
Merge pull request #5378 from jepler/esp32s2-paralleldisplay-i2s
Espressif: Use i2s peripheral for parallel LCD displays
2021-09-23 20:25:43 -05:00
Dan Halbert
f7c9147f66
Merge pull request #5383 from michthom/michthom-patch-1
Enable CS "active-high" device support
2021-09-23 18:04:42 -04:00
Michael Thomson
94ca3f594e Enable CS "active-high" device support
Reference https://github.com/adafruit/Adafruit_CircuitPython_BusDevice/issues/71

Add a new parameter cs_active_value for devices that require CS to use "active high" logic.

Update mpconfigboard.mk to disable pyb_nano_v2 from core build as its flash is too small now.
2021-09-23 09:14:39 +01:00
Dan Halbert
bb2dbf4aa3
Merge pull request #5379 from dhalbert/improve-usb_hid-Device-doc
Correct and improve usb_hid.Device doc
2021-09-22 11:53:13 -04:00
Dan Halbert
24774246f9 Correct and improve usb_hid.Device doc 2021-09-22 07:56:04 -04:00
Jeff Epler
30c363d7cd doc markup fix 2021-09-21 19:36:56 -05:00
Jeff Epler
4714861f38 espressif: Implement parallel display using i2s 2021-09-21 14:38:12 -05:00
Dan Halbert
651350a957
Merge pull request #5360 from jepler/keypad-ticks
keypad: Event: add timestamp.
2021-09-21 10:19:28 -04:00
Jeff Epler
91223c8d97 fix type annotations and default argument 2021-09-21 07:43:06 -05:00
Scott Shawcroft
276d425899
Merge pull request #5302 from maholli/pycubed_v05c
updating pycubed firmware for mainboardv05
2021-09-20 15:00:25 -07:00
James Carr
f5c015285f
Update Display.fill_row() to accept all WriteableBuffers 2021-09-19 17:55:52 +01:00
James Carr
db936f8a20
bitmaptools.__init__ minor update
Update the error message in bitmaptools_readinto() to match the code.
2021-09-18 21:04:45 +01:00
Max Holliday
818020d4c9
Merge branch 'adafruit:main' into pycubed_v05c 2021-09-17 14:35:17 -06:00
Neradoc
23e4f08bc6 Remove leftover stop from I2C.writeto docs 2021-09-17 15:17:39 +02:00
Jeff Epler
72bfd39a17 keypad: Event: add timestamp.
this will probably need simplification before it fits on constrained
boards.
2021-09-16 21:08:05 -05:00
Jeff Epler
2916167bf4 paralleldisplay: make it actually importable 2021-09-16 14:11:16 -05:00
Max Holliday
5b69aa0a58
Merge branch 'adafruit:main' into pycubed_v05c 2021-09-15 14:23:56 -06:00
Dan Halbert
59b1bedcda
Merge pull request #5333 from microDev1/patch
Make `next_code_allocation` and `prev_traceback_allocation` movable
2021-09-14 19:27:40 -04:00
Dan Halbert
31e1b89f9f Restore sdioio name (was sdio) 2021-09-14 11:01:12 -04:00
James Carr
5f519b8ba9
Update shared-bindings/vectorio/Polygon.c
As per microDev1

Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com>
2021-09-13 17:04:46 +01:00
microDev
7316c742cf
make next_code_allocation and prev_traceback_allocation movable 2021-09-12 18:06:03 +05:30
Max Holliday
d9ae2c00b4
Merge branch 'adafruit:main' into pycubed_v05c 2021-09-11 20:09:59 -06:00
James Carr
f35d1578cc
Update the docs for vectorio 2021-09-11 23:37:41 +01:00
James Carr
2bc260a102
Rework of changes to bounds checking of location in VectorShape, moving most of the code into shared-module. 2021-09-10 21:48:01 +01:00
Max Holliday
aaf2c3752e
boot counter using existing nvm object 2021-09-10 13:43:04 -06:00
James Carr
1f446916c3
Improve the bounds checking on the location (the x, y co-ordinates) of a
VectorShape object so that it is consistent no matter where it is set from:
 * the constructor
 * the x and y setters
 * the location setter
2021-09-10 09:39:12 +01:00
Robert Pafford
65f8804816
Implement reset_reason for raspberrypi port 2021-09-08 18:34:34 -04:00
microDev
119cc8488b
Merge pull request #5300 from kamtom480/fix_movable
Fix incorrect use of allocate_memory()
2021-09-05 09:46:07 +05:30
Kamil Tomaszewski
ff807f8f19 Fix incorrect use of allocate_memory() 2021-09-04 11:17:39 +02:00
Neradoc
8625e53817 change board dicts to include a common macro with __name__ 2021-09-03 21:03:55 +02:00
James Carr
a1e4105f1e
Documentation update for ColorConverter 2021-09-02 20:29:53 +01:00
James Carr
b3aea212cb
Documentation update for Display.refresh()
Update the documentation for `Display.refresh()` which had two paragraphs starting 'When auto refresh is off,'
2021-09-02 14:00:23 +01:00
James Carr
9fffb5bada
Document missing 'frequency' parameter on ParallelBus.c 2021-09-02 11:01:15 +01:00
foamyguy
6af0038a84 update TileGrid docstrings to include OnDiskBitmap 2021-09-01 20:01:15 -05:00
Scott Shawcroft
cf7e29da6c
Merge pull request #5281 from capellini/mp-register-module-non-pybadge
Convert more modules to use MP_REGISTER_MODULE
2021-09-01 09:02:43 -07:00
Rob Capellini
9002f351b4 Convert more modules to use MP_REGISTER_MODULE
Convert _eve, _pew, aesio, alarm, audiopwmio, bitops, camera, canio, dualbank, gnss, i2cperipheral, imagecapture, ipaddress, memorymonitor, sdioio, socketpool, ssl, uheap, ustack, watchdog, and wifi modules to use MP_REGISTER_MODULE.

Related to #5183.
2021-09-01 00:19:05 -04:00
foamyguy
b1d7b6efd2 update TileGrid docstrings to include Shape 2021-08-31 19:52:43 -05:00
Rob Capellini
1c8828223f Convert more modules to use MP_REGISTER_MODULE
Convert neopixel_write, onewireio, ps2io, pulseio, pwmio, rainbowio, random, rgbmatrix, rotaryio, rtc, sdcardio, sharpdisplay, _stage, storage, struct, supervisor, synthio, touchio, traceback, usb_cdc, usb_hid, usb_midi, and vectorio modules to use MP_REGISTER_MODULE.

Related to #5183.
2021-08-30 22:29:51 -04:00
Scott Shawcroft
838d30b3a4
Fix incorrect macros 2021-08-30 14:40:14 -07:00
Jeff Epler
83120eb1b2 Actually fix building ports without parallel displays 2021-08-29 11:49:47 -05:00
Jeff Epler
f4bb3cc2c8 Fix stubs & doc redirects 2021-08-29 11:43:51 -05:00
Jeff Epler
7520feed1c Move ParallelBus to its own module 2021-08-29 07:33:54 -05:00
Scott Shawcroft
b17216d9d4
Merge pull request #5199 from aramcon-badge/aramcon/quick-refresh
Adding quick refresh support
2021-08-27 08:54:44 -07:00