Jeff Epler
4a9ad8a942
Translate & compress some repl messages
2021-08-23 20:23:23 -05:00
Dan Halbert
7587a521cb
Merge pull request #5145 from FoamyGuy/bitmaptools_paint_fill
...
Bitmaptools boundary_fill
2021-08-23 16:20:38 -04:00
microDev
25437dcb33
Merge branch 'main' into atexit
2021-08-20 09:45:54 +05:30
Mark
f9f106b58d
Merge pull request #5123 from gamblor21/keypad_dup_pin_check
...
Check for duplicate pins in rows and columns
2021-08-19 22:20:04 -05:00
gamblor21
47db00f0af
Made error message clear and reduce calls
2021-08-19 20:03:49 -05:00
gamblor21
168ed355b1
Made check function generic
2021-08-17 17:55:26 -05:00
Dan Halbert
3dc2b4c2d3
at least original functionality with new API
2021-08-14 12:36:40 -04:00
Dan Halbert
4f8ff12afa
wip
2021-08-14 12:36:40 -04:00
foamyguy
ec8b31e7b4
code format and translations
2021-08-13 10:13:38 -05:00
Scott Shawcroft
ebf0901558
Merge pull request #5079 from dhalbert/debug-audio
...
Fix various RP2040 and SAMD audio issues
2021-08-11 11:19:53 -07:00
gamblor21
e18ceea9ba
Check for duplicate pins in rows and columns
2021-08-10 18:18:21 -05:00
microDev
93c9d59960
Merge branch 'main' into getpass
2021-08-10 01:00:10 +05:30
microDev
3495cc1ff6
Merge pull request #5110 from jepler/format-exception
...
Implement `traceback.format_exception`
2021-08-10 00:47:18 +05:30
Kattni
c87d90ec4b
Merge pull request #5090 from WarriorOfWire/draw_protocol
...
Draw protocol
2021-08-09 15:04:36 -04:00
Dan Halbert
2cd80d1074
wip, with debugging printf's
2021-08-09 09:47:13 -04:00
Jeff Epler
9a932a5a48
traceback: Implement format_exception
2021-08-09 08:27:28 -05:00
Jeff Epler
bfea6947e5
Improve mp_printf with support for compressed strings
...
* The new nonstandard '%S' format takes a pointer to compressed_string_t
and prints it
* The new mp_cprintf and mp_vcprintf take a format string that is a
compressed_string_t
2021-08-09 08:27:28 -05:00
microDev
51f8603783
add getpass module
2021-08-09 17:50:28 +05:30
Kenny
a1fff320fb
add location property to vectorshape and all composed shapes
2021-08-08 00:14:53 -07:00
microDev
063e3946d6
Merge pull request #5094 from jepler/quirc
...
Add qrio: Decode QR codes with quirc lib
2021-08-07 09:30:20 +05:30
Scott Shawcroft
be2342f32f
Merge pull request #5072 from microDev1/traceback
...
Add traceback module
2021-08-06 12:10:17 -07:00
Jeff Epler
bd903f2f03
Add qrio: Decode QR codes with quirc lib
2021-08-04 09:16:00 -05:00
microDev
fb0f2583db
update traceback module
2021-08-04 12:22:21 +05:30
microDev
a3998d0626
add atexit module
2021-07-30 09:32:28 +05:30
microDev
f371c0a609
add traceback module
2021-07-28 18:06:23 +05:30
Scott Shawcroft
412eb87080
Switch to pin, frequency and duty_cycle PulseOut
...
Passing in a PWMOut still works but is deprecated. It will be
removed in CircuitPython 8.0.0
This also switches STM32 timer indices and channel indices to
0-based in our pin data rather than `- 1` everywhere. The latter is
more bug prone.
Most of the way for #3264
Tested on Metro M0, Metro M4, Feather S2, Feather nRF52840, Feather
STM32F4 and Arduino RP2040.
2021-07-26 18:35:49 -07:00
microDev
c9ac8e77e8
Merge pull request #5042 from NathanY3G/add-support-for-jmp-pin
...
Added support for specifying the JMP pin (RP2 PIO)
2021-07-23 18:15:43 +05:30
Nathan Young
3b7cf7d3bb
Updated translation for jmp_pin exception
2021-07-23 13:40:34 +02:00
Scott Shawcroft
9c8c4a301d
Merge pull request #5028 from jepler/ulab-fix-docs
...
ulab: move documentation to the right location
2021-07-22 16:51:32 -07:00
Jeff Epler
8cf6fd7fec
make translate
2021-07-22 13:29:35 -05:00
Jeff Epler
02b094b638
make translate
2021-07-21 19:38:58 -05:00
Scott Shawcroft
fece0fb432
Fix crash when UART construct fails
...
After the script stops with the exception thrown the final gc_sweep
will call any finalizers and they usually call deinit. deinit on
invalid objects can wreak havoc by changing random memory or
(hopefully) crashing. This fixes ensures the object is deinited
until initialization succeeds and the object is valid.
Do the same fix for I2C and SPI too.
Fixes #4700 and fixes #5005
2021-07-20 17:15:19 -07:00
Lucian Copeland
bd39641f7e
Fix PWM timer leak and varfreq conflicts
2021-07-13 18:05:47 -04:00
Jeff Epler
a19a48f4b6
make translate
2021-07-07 09:08:04 -05:00
Jeff Epler
d83a21b984
ColorConverter: Add "BGR" color modes.
...
The BGR565_SWAPPED mode is needed for OV2640 cameras.
2021-06-30 10:29:31 -05:00
Scott Shawcroft
5a4a80336f
Merge pull request #4195 from askpatrickw/update-idf
...
Update esp-idf to v4.3
2021-06-25 11:15:40 -07:00
Scott Shawcroft
d67fb852a1
Merge pull request #3454 from cwalther/setnextcode
...
Add supervisor.set_next_code_file()
2021-06-25 11:00:53 -07:00
Scott Shawcroft
dc76306cfa
Enable a BLE workflow
...
nRF CircuitPython boards will now provide the file transfer
service defined here: https://github.com/adafruit/Adafruit_CircuitPython_BLE_File_Transfer
USB capable boards will only advertise if previously bonded to a
device or if the reset button is pressed during the fast blue
flashes on start up. When pressed, the board will restart again but
the blue period will not flash.
Boards without USB will always advertise.
When previously bonded, the advertisement is private so that no
other peers can connect. If advertising publicly, the tx power is
lowered to reduce the likelihood of bonding from a distance.
This PR also fixes issues with loading identities of bonded peers
so that our address can now be resolved and we can resolve others'
addresses when scanning.
2021-06-24 12:59:14 -07:00
microDev
e0eecd2f76
update idf to v4.3
...
- update idf submodule to release/v4.3
- finish todo tasks held due to idf@v4.2
- update SPI & I2C to make them v4.3 compatible
2021-06-24 23:14:08 +05:30
Scott Shawcroft
b81573d439
Merge pull request #4891 from dhalbert/keypad-scanning-events
...
keypad: support for vector and matrix key scanning
2021-06-24 10:25:21 -07:00
Dan Halbert
836db4e4a1
Merge pull request #4816 from hierophect/rp2040-alarms
...
RP2040: add Alarm module
2021-06-24 08:15:57 -04:00
Scott Shawcroft
a7e353b80e
Merge pull request #4897 from jepler/merge-1.16
...
Merge 1.16
2021-06-23 10:15:10 -07:00
Dan Halbert
51c547a5b9
add generic arg validation routines; add interval args to keypad
2021-06-21 12:13:39 -04:00
Dan Halbert
ed41acd879
merge from upstream to fix translations
2021-06-21 08:26:44 -04:00
Dan Halbert
154e91ab85
add EventQueue.store_next() to allow reusing event objects
2021-06-21 08:18:06 -04:00
Lucian Copeland
1f3d69d87c
Clean up sleep memory, mark as not-implemented
2021-06-20 17:57:51 -04:00
Lucian Copeland
cf9741bd3a
Merge remote-tracking branch 'upstream/main' into setnextcode
2021-06-20 15:25:37 -04:00
Limor "Ladyada" Fried
6dbeb75a4f
Merge pull request #4880 from jepler/esp32s2-imagecapture
...
Esp32s2: implement ParallelImageCapture
2021-06-19 16:17:56 -04:00
Dan Halbert
8cd7e774e7
add KeyMatrix columns_to_anodes arg
2021-06-18 12:03:47 -04:00
Jeff Epler
87d3740c64
Merge tag 'v1.16'
2021-06-18 10:54:19 -05:00
Dan Halbert
a152bd3b72
add .num_keys and .store_states() to Keys and KeyMatrix
2021-06-17 12:02:54 -04:00
Dan Halbert
f97e0ec631
fix ulab commit
2021-06-15 11:51:28 -04:00
Dan Halbert
a192f1ca2f
merge from upstream
2021-06-15 11:21:08 -04:00
Dan Halbert
627c426259
wip
2021-06-14 16:00:15 -04:00
Jeff Epler
046dc28d4c
make translate
2021-06-10 13:00:21 -05:00
Jeff Epler
2cbdd18a20
esp32s2: Implement parallel image capture
2021-06-10 11:27:49 -05:00
Jeff Epler
268717e427
ParallelImageCapture: Switch to taking a list of pins
...
.. adopting validate_pins from RGBMatrix into shared-bindings
.. updating other platforms for API change
2021-06-10 11:15:18 -05:00
Dan Halbert
abe29fc6d9
merge from upstream
2021-06-08 18:03:43 -04:00
Dan Halbert
44b876f769
Inital keypad work: Keys working: one pin per key
...
keypad.Buttons and keypad.State
Buttons -> Keys; further work
wip
wip
wip: compiles
about to try
keypad.Keys working
2021-06-08 17:47:21 -04:00
Lucian Copeland
b6a268fca4
Further deinit additions
2021-06-07 14:13:59 -04:00
Lucian Copeland
63c1791d87
Merge remote-tracking branch 'upstream/main' into rp2040-alarms
2021-06-07 14:11:41 -04:00
Dan Halbert
050b5f4cf0
fix check of usb_hid.Device out_report_length
2021-06-02 12:41:07 -04:00
Lucian Copeland
feff243e8f
Add RTC deep sleep alarm support
2021-05-28 13:52:05 -04:00
Dan Halbert
e7f82f864a
fix check of usb_hid.Device out_report_length
2021-05-27 21:29:38 -04:00
Lucian Copeland
24041f34b0
Merge remote-tracking branch 'upstream/main' into rp2040-alarms
2021-05-27 18:40:40 -04:00
Lucian Copeland
8e1892ac6f
Implement RP2040 Alarm module
...
Adds light and deep sleep functionality for the TimeAlarm and PinAlarm
alarm categories. Adds board deinit for all platforms.
2021-05-27 18:33:29 -04:00
Jonny Bergdahl
38177aff33
Removed 'raw' from error message 'raw in'
2021-05-22 12:36:28 +02:00
Neradoc
9fa7fb7092
fix ipaddress.IPv4Address from returning invalid values
2021-05-20 23:17:56 +02:00
Scott Shawcroft
42ee48ccb5
Improve error for invalid parameters
2021-05-19 14:09:11 -07:00
Scott Shawcroft
689ec86225
Merge pull request #4754 from dhalbert/fix-endpoint-checking
...
Fix endpoint checking; Clean up safe mode printing
2021-05-14 11:25:01 -07:00
Scott Shawcroft
35ee4add63
Merge pull request #4388 from hierophect/stm-alarm
...
STM32: Alarms and sleep
2021-05-13 10:27:51 -07:00
Dan Halbert
0651ef17dd
Fix endpoint checking; Clean up safe mode printing.
2021-05-12 15:53:52 -04:00
Scott Shawcroft
a70fc0caee
Merge pull request #4744 from tannewt/merge_1.14
...
Merge MicroPython 1.14
2021-05-11 16:11:58 -07:00
Scott Shawcroft
e02a26453c
Merge MicroPython 1.14 into CircuitPython
2021-05-11 15:07:40 -07:00
ajs256
3c8b8cdba7
make translate
2021-05-10 16:57:38 -07:00
Lucian Copeland
0d3c5222d8
Merge remote-tracking branch 'upstream/main' into stm-alarm
2021-05-10 17:30:33 -04:00
Scott Shawcroft
42f4065c8a
Merge remote-tracking branch 'adafruit/main' into merge_1.13
2021-05-06 11:17:53 -07:00
Dan Halbert
ebf9dcb47a
Merge pull request #4689 from dhalbert/dynamic-usb-descriptors
...
Dynamic USB descriptors
2021-05-06 13:51:38 -04:00
Dan Halbert
fc8e1c4c2e
address review comments
2021-05-05 12:35:12 -04:00
Scott Shawcroft
30c7aa8fc9
Merge pull request #4650 from anecdata/ap
...
wifi.radio Access Point modes
2021-05-05 08:47:55 -07:00
Jeff Epler
2c0664ea3f
slice: restore ability to construct a slice
2021-05-05 08:47:15 -05:00
Scott Shawcroft
f0bb26d70f
Merge MicroPython 1.13 into CircuitPython
2021-05-04 18:06:33 -07:00
Dan Halbert
d2b558993e
merge from main, including MicroPython 1.12 merge
2021-05-03 20:56:04 -04:00
Scott Shawcroft
b35fa44c8a
Merge MicroPython 1.12 into CircuitPython
2021-05-03 14:01:18 -07:00
microDev
6640db9555
make authmode settable
2021-04-30 21:35:02 +05:30
microDev
7c845818b3
Merge branch 'main' into ap
2021-04-30 17:11:22 +05:30
Dan Halbert
71a8cadb09
working!
2021-04-29 22:26:38 -04:00
Dan Halbert
f06d54524d
merge from adafruit
2021-04-28 23:48:26 -04:00
Lucian Copeland
9feef41c82
Merge remote-tracking branch 'upstream/main' into stm-alarm
2021-04-28 15:10:55 -04:00
Dan Halbert
d4d96bb25f
Merge pull request #4236 from jun2sak/nrf52-sleep
...
sleep and wakeup for nrf52
2021-04-28 12:11:31 -04:00
Dan Halbert
f98a54628b
wip: compiles
2021-04-27 14:37:36 -04:00
Scott Shawcroft
17fcd499b2
Merge pull request #4649 from tannewt/merge_1.11_2
...
Merge MicroPython v1.11 into CircuitPython
2021-04-27 11:02:02 -07:00
Scott Shawcroft
76033d5115
Merge MicroPython v1.11 into CircuitPython
2021-04-26 15:47:41 -07:00
anecdata
a328cff209
translate
2021-04-25 18:51:00 -05:00
Dan Halbert
9d1fcc3b14
merge from main
2021-04-25 10:27:52 -04:00
jun2sak
7accb8b173
modify copyright notice.
2021-04-25 19:57:21 +09:00
Scott Shawcroft
80e8b4ac14
Merge pull request #4635 from jepler/pcc
...
WIP: Implement 'ParallelImageCapture' for samd51
2021-04-23 13:31:53 -07:00
Dan Halbert
2b4c88d633
wip: partial HID, still needs rework
2021-04-23 00:18:05 -04:00
Dan Halbert
8f73270f2b
Merge pull request #4646 from tannewt/merge_mp1.10
...
Merge in MicroPython v1.10
2021-04-22 13:16:27 -04:00
Scott Shawcroft
09f7b43c64
Merge MicroPython 1.10 into CircuitPython
2021-04-21 15:59:17 -07:00