Jeff Epler
f232aef786
supervisor.mk: Compute USB_DEVICES; remove from boards and ports
...
Since Actions passed on the previous commit, where this computed value
was checked against the specified value (if any), this is no net change,
except that we no longer need to specify it for particular boards or
ports.
2020-06-23 12:59:01 -05:00
Scott Shawcroft
741e1d9828
Merge pull request #3043 from DavePutz/Issue-2865
...
Issue #2865 -Clean up after ctrl-c interrupt in sleep
2020-06-23 10:58:45 -07:00
Scott Shawcroft
f67b307371
Merge pull request #3045 from k0d/stm32_alignment_issue
...
Fixes issue with memory alignment in STM32
2020-06-23 10:54:08 -07:00
DavePutz
b80abf1a90
Update handing of a CTRL-C exception
2020-06-23 12:15:01 -05:00
Jeff Epler
93d3629da2
stm: Sort configuration options and make them all conditional
...
This makes them all overridable on the board level, tersely
2020-06-23 11:02:38 -05:00
Jeff Epler
0110463811
stm: Disable USB MIDI and most USB HID
...
.. it was not in the USB descriptors anyway (lack of enough endpoints?)
2020-06-23 11:01:36 -05:00
Jeff Epler
3f112d28e3
mimxrt10xx: Disable USB MIDI
...
.. it was not in the USB descriptors anyway (lack of enough endpoints?)
2020-06-23 10:57:32 -05:00
Jeff Epler
458eef052e
esp32s2: Disable USB MIDI
...
.. it was not in the USB descriptors anyway (lack of enough endpoints?)
2020-06-23 10:57:25 -05:00
Jeff Epler
38659b566c
atmel-samd: Finish disabling USB MIDI and/or HID on certain boards
2020-06-23 10:56:27 -05:00
Jeff Epler
d5074220a8
atmel-samd: Add SAM E54 Xplained board
...
Few peripherals are actually tested. However, USB, I2C and GPIO seem to work.
Most pins are silkscreened with the "PX00" style, so the board module
only includes the small number that are screened differently.
The default SPI, I2C, and UART are the ones on the EXT2 header. This is
arbitrary, but the I2C on this connector is shared with the on-board I2C
devices and the PCC header, making it the most versatile.
2020-06-23 10:41:48 -05:00
Jeff Epler
da733c01da
atmel-samd: Add support for SAM E54 family MCUs
...
This introduces the new macro SAM_D5X_E5X. This is mostly the same
as SAMD51 before, except in a few places where a special case for
SAME54 is required
2020-06-23 10:41:48 -05:00
DavePutz
30a1624d59
Removed unneeded #includes
2020-06-22 20:18:55 -05:00
Scott Shawcroft
0b99baccb8
Merge pull request #3050 from florin-trutiu/loc-ber-m4-base-board
...
PID request for a new board configuration
2020-06-22 15:09:42 -07:00
Scott Shawcroft
54b66d9484
Merge pull request #3052 from dhalbert/samd51-voltage-check-delay
...
delay 1ms on SAMD51 when reading processor voltage
2020-06-22 14:29:43 -07:00
DavePutz
65512cef1c
Update tick.c
2020-06-22 15:59:15 -05:00
Dan Halbert
f1a497e293
Merge pull request #3060 from jepler/misc-fixes
2020-06-22 16:16:14 -04:00
Jeff Epler
d43449a6d6
sparkfun samd51 thing plus: Fix board.I2C()
...
This had the SDA and SCL pins transposed, so nothing worked.
2020-06-22 10:45:27 -05:00
Jeff Epler
a7b36f724f
circuitpy_defns.mk: Sort several lists of source files
...
and regularize whitespace in one spot
2020-06-22 10:45:27 -05:00
Jeff Epler
a770b5a919
never_reset_pin: Move pin validity check before first use of pin number
2020-06-22 10:45:27 -05:00
Jeff Epler
6638bc32c3
samd: Makefile: Regularize whitespace
2020-06-22 10:45:27 -05:00
Jeff Epler
8a760b0657
stm: Pin.c: Compute GPIO_PORT_COUNT instead of specifying manually
2020-06-22 10:45:27 -05: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
5a3a0a5092
stm: Makefile: sort files in SRC_STM32
2020-06-22 10:45:23 -05:00
Jeff Epler
de14b5b02f
flash: Correctly signal error on invalid flash read
...
This logic was intended to mirror what is done for "write", but
the wrong variable name was repeated twice.
2020-06-22 10:24:21 -05:00
Jeff Epler
1504d9005d
Merge pull request #3057 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2020-06-22 06:29:37 -05:00
Hosted Weblate
579784c4a0
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/
2020-06-22 12:36:00 +02:00
Alvaro Figueroa
ac2a4608da
Translated using Weblate (Spanish)
...
Currently translated at 77.7% (594 of 764 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-06-22 12:35:58 +02:00
Jeff Epler
04c562cae6
Merge pull request #3056 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2020-06-22 05:35:44 -05:00
Alvaro Figueroa
dff1c07e18
Translated using Weblate (Spanish)
...
Currently translated at 69.7% (533 of 764 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-06-22 06:41:48 +02:00
DavePutz
182a8733a4
Rework handling of ctrl-c interrupt
2020-06-21 13:28:26 -05:00
sommersoft
5d158d884d
ci_check_duplicate_usb_vid_pid.py: change 'whitelist' terminology to 'ignorelist'
2020-06-20 08:44:24 -05:00
sommersoft
023054e67a
Merge branch 'main' of https://github.com/adafruit/circuitpython into ci_check_vid_pid
2020-06-20 08:41:41 -05:00
DavePutz
0b52359190
Generate stacktrace and reset exception for ctrl-c interrupt
...
Added code in mp_hal_delay_ms() to generate stacktrace and reset exception for ctrl-c interrupt
2020-06-19 19:02:43 -05:00
DavePutz
e381f593ff
Moved changes to supervisor/shared/tick.c
2020-06-19 19:00:03 -05:00
Jeff Epler
986664659e
Merge pull request #3041 from weblate/weblate-circuitpython-master
...
Translations update from Weblate
2020-06-19 15:47:57 -05:00
Dan Halbert
1687c8b1e3
delay 1ms on SAMD51 when reading processor voltage
2020-06-19 15:25:04 -04:00
DavePutz
beb80e7545
removed trailing whitespace
2020-06-19 12:38:55 -05:00
DavePutz
99789289d8
Update __init__.c
2020-06-19 12:33:43 -05:00
DavePutz
6a76e1571b
Added stack trace after a sleep ctrl-c interrupt
2020-06-19 12:30:18 -05:00
Florin Trutiu
b316549590
Added the new assigned VID/PID pair
2020-06-19 19:26:29 +03:00
Florin Trutiu
178be2e3c9
loc_ber_m4_base_board
2020-06-19 18:56:20 +03:00
Mark Olsson
23da0fa99c
Fixes issue with memory alignment in STM32
...
When compiling with optimizations on, an issue occurs where the claimed_pins/never_reset_pins memory location is shared with another variable. This causes some bad memory read, so the USB pins ended up being reset. Setting these to have an alignment of 4 bytes resolves this.
Tested on nucleo_f746zg
2020-06-18 00:51:04 +02:00
Andreas Buchen
80fdb18da1
Translated using Weblate (German)
...
Currently translated at 98.0% (749 of 764 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/de/
2020-06-17 17:56:52 +02:00
Scott Shawcroft
25d5f2cfc6
Merge pull request #3039 from hierophect/stm32-meowbit-uf2-web
...
STM32: make Meowbit default to UF2 on website
2020-06-17 08:56:45 -07:00
DavePutz
73ce75c3f8
Merge pull request #9 from adafruit/main
...
update from adafruit
2020-06-16 15:12:15 -05:00
DavePutz
47425f21cc
Handle a sleep exit with ctrl-c
2020-06-16 15:10:23 -05:00
Scott Shawcroft
0e3cad04b7
Merge pull request #3036 from dhalbert/prefix-match-all
...
Fix ScanEntry prefix matching for any=False
2020-06-16 11:54:05 -07:00
Scott Shawcroft
a345223dac
Merge pull request #3031 from jepler/improve-shared-bindings-links
...
docs: Improve 5.0.x <-> main branch doc linkrot
2020-06-16 11:49:27 -07:00
Scott Shawcroft
dffac11c2f
Merge pull request #3040 from hierophect/stm32-portd-hotfix
...
STM32: Add port D to LQFP64
2020-06-16 11:24:28 -07:00
Lucian Copeland
fd4aafacbe
Add port D to LQFP64
2020-06-16 12:33:15 -04:00