Commit Graph

24785 Commits

Author SHA1 Message Date
Scott Shawcroft fb6b438580
Make `getpass` and `traceback` full build only
This leaves much more space on SAMD21 builds that aren't "full builds".
These are new APIs that we don't need to add to old boards.

Also, tweak two Arduino boards to save space on them.
2021-08-11 14:47:35 -07:00
Scott Shawcroft 0c1d6cef75
Merge remote-tracking branch 'adafruit/main' into fix_cp_irremote 2021-08-11 13:43:59 -07:00
Bruce Segal f35afa8239 Formatting and build.yml 2021-08-11 13:43:08 -07:00
Bruce Segal 4be64cd8a9 Initial MorphESP-240 support 2021-08-11 13:11:17 -07:00
Hosted Weblate 8283682e5a
Merge remote-tracking branch 'origin/main' into main 2021-08-11 21:19:22 +02:00
Scott Shawcroft 0632a1e681
Merge pull request #5060 from cdwilson/cdwilson/circuitpython/sparkfun-stm32f405-micromod
stm/boards: Add support for SparkFun STM32 MicroMod Processor board.
2021-08-11 12:19:16 -07:00
Scott Shawcroft 7f016ae11e
Fix build with filter to do OR 2021-08-11 12:10:51 -07:00
Scott Shawcroft 083960ce90
Fix SAMD51 builds and Prox Trinkey
Adds CIRCUITPY_BUSIO_UART to disable UART by raising ValueError
that no pins work.
2021-08-11 11:53:26 -07:00
Hosted Weblate b8e526be3b
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/
2021-08-11 20:20:03 +02: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
Scott Shawcroft b56455ffbb
Allow sleep while paused 2021-08-11 10:48:39 -07:00
Scott Shawcroft 67c6932ca2
Reset timers separate from pwmio
This prevents timer leakage on builds without pwmio.

Fixes #5057
2021-08-11 09:58:31 -07:00
Dan Halbert 4608877c12 address review comments 2021-08-11 12:10:49 -04:00
Dan Halbert 35aac3d26b display SPI now 10MHz; set PWM duty cycle to zero at stop to quiet output 2021-08-11 10:48:53 -04:00
Dan Halbert 24e61a7da8 Track more carefully which audio buffers to fill, based on interrupt channels 2021-08-10 22:00:09 -04:00
Jeff Epler 1e53cf40ad
Merge pull request #5114 from jpconstantineau/board-bluemicro840
Add Board bluemicro840
2021-08-10 19:17:05 -05:00
gamblor21 e18ceea9ba Check for duplicate pins in rows and columns 2021-08-10 18:18:21 -05:00
Scott Shawcroft f0859ac954
Switch SAMD21 ticks to PER event
The EVSYS is used to generate an interrupt from the event. This
simplifies timing used in pulseio that conflicted with the
auto-reload countdown.

Fixes #3890
2021-08-10 15:23:45 -07:00
Scott Shawcroft 88a0088d12
Merge pull request #5121 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-08-10 11:45:32 -07:00
ZodiusInfuser e587bd7dc0 Added final USB PIDs 2021-08-10 11:17:06 +01:00
Chris Wilson c0902dade6 stm/boards: Add support for SparkFun STM32 MicroMod Processor board. 2021-08-09 23:11:13 -07:00
Chris Wilson e741330ca8 Consistent pin naming for SparkFun MicroMod processor boards. 2021-08-09 23:10:52 -07:00
Hosted Weblate 10884e0a0d
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/
2021-08-10 04:41:03 +02:00
Hosted Weblate 34eb2a5ac0
Merge remote-tracking branch 'origin/main' into main 2021-08-10 04:41:01 +02:00
Jonny Bergdahl f384367086
Translated using Weblate (Swedish)
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-10 04:41:01 +02:00
Wellington Terumi Uemura 46ad22143a
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-08-10 04:41:00 +02:00
microDev 8da98eb1f4
Merge pull request #5115 from microDev1/getpass
Add getpass module
2021-08-10 08:10:52 +05:30
Scott Shawcroft f805e63297
Merge pull request #5117 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-08-09 16:04:09 -07:00
Pierre Constantineau aec965e6d9 changed PID as suggested by Scott 2021-08-09 15:25:06 -06:00
microDev 93c9d59960
Merge branch 'main' into getpass 2021-08-10 01:00:10 +05:30
Hosted Weblate 9fab48dad2
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/
2021-08-09 21:17:26 +02:00
Hosted Weblate 4a06adc120
Merge remote-tracking branch 'origin/main' into main 2021-08-09 21:17:23 +02:00
microDev 3495cc1ff6
Merge pull request #5110 from jepler/format-exception
Implement `traceback.format_exception`
2021-08-10 00:47:18 +05:30
Hosted Weblate 185d0f2a24
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/
2021-08-09 21:04:49 +02:00
Kattni c87d90ec4b
Merge pull request #5090 from WarriorOfWire/draw_protocol
Draw protocol
2021-08-09 15:04:36 -04:00
foamyguy fd372cf06c it works! 2021-08-09 13:15:58 -05:00
microDev 32ee06b293
fix crash when traceback object is supplied 2021-08-09 22:53:23 +05:30
microDev 052c53efc3
Merge pull request #5116 from eddieespinal/atmegazero_esp32s2
Fixes the MOSI and MISO pins mapping
2021-08-09 22:45:41 +05:30
Eddie Espinal 6764af182a Fixes the MOSI and MISO pins. By mistake I added them backward in this mapping 2021-08-09 11:31:20 -04:00
Dan Halbert 2451c788f4 valid channels in audio_dma_stop; cleaner supervisor_ticks mgmt in keypad 2021-08-09 09:47:13 -04:00
Dan Halbert 59b89fdc5c Fix various audio DMA issues:
RP2040 and SAMD51:
- Detect when DMA has finished, and stop DMA audio explicitly.
- Do not accidentally reuse `first_buffer` supplied by WaveFile or RawSample. Always realloc `first_buffer` and `second_buffer`

RP2040:
- When audio playing is stopped, write a final zero to the output register. This prevents residual PWM tones.
- Handle buffer size for 8-bit samples properly for 16-bit output.
- Fail on some edge cases (which may not be possible at the moment).
2021-08-09 09:47:13 -04:00
Dan Halbert 2cd80d1074 wip, with debugging printf's 2021-08-09 09:47:13 -04:00
Dan Halbert fd71d924d2 partial buffer mgmt fix 2021-08-09 09:47:13 -04:00
foamyguy 87358f81b2 trying to check next pixel 2021-08-09 08:30:12 -05:00
Jeff Epler 9a932a5a48 traceback: Implement format_exception 2021-08-09 08:27:28 -05:00
Jeff Epler c1ffab7476 Reduce code duplication in traceback module 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
microDev f6d7b87bd8
Merge pull request #5112 from NathanY3G/add-board-led-to-gcm4
Add board.LED for Grand Central M4 Express
2021-08-09 11:45:06 +05:30
Pierre 7d02fd42f8 removed trailing spaces at end of pins.c 2021-08-08 21:56:24 -06:00