Jeff Epler
a2919a6fb2
esp32s2: Use the device's EUI-48 address as unique ID
...
On my hardware, esptool reports
MAC: 7c:df:a1:02:6c:b8
after this change, the USB descriptor says SerialNumber: 7CDFA1026CB8
and microcontroller.cpu.id has
>>> "".join("%02x" % byte for byte in microcontroller.cpu.uid)
'c7fd1a20c68b'
Note that the nibble-swapping between USB and cpu.uid is typical.
For instance, an stm32 board has USB SerialNumber
24002500F005D42445632302 but hex-converted microcontroller.cpu.id
420052000f504d4254363220.
2020-07-15 11:45:13 -05:00
Scott Shawcroft
a6c20208b3
Merge pull request #3148 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2020-07-14 11:20:27 -07:00
Hosted Weblate
a2233ced87
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-07-14 02:14:25 +02:00
Scott Shawcroft
90ad9beff5
Merge pull request #3136 from xiongyihui/master
...
Add 2 boards nRF52840 M.2 devkit and M60 Keyboard
2020-07-13 17:14:18 -07: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
Scott Shawcroft
3ddb598f0d
Merge pull request #3131 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2020-07-13 16:04:03 -07:00
Scott Shawcroft
d712d1281c
Merge branch 'main' into master
2020-07-13 15:53:44 -07:00
Alvaro Figueroa
0ab2c7b10a
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (779 of 779 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-07-13 22:26:18 +02:00
_fonzlate
f1b3c88d6e
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (779 of 779 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/nl/
2020-07-13 22:26:18 +02:00
Jonny Bergdahl
7b31ededcd
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (779 of 779 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2020-07-13 22:26:17 +02:00
Alvaro Figueroa
8e7dab34c2
Translated using Weblate (Spanish)
...
Currently translated at 99.8% (778 of 779 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-07-13 22:26:17 +02:00
Wellington Terumi Uemura
9f81922be3
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (779 of 779 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-07-13 22:26:17 +02:00
Hosted Weblate
0354d4a225
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-07-13 22:26:17 +02:00
Dan Halbert
3fcd999130
Merge pull request #3130 from pewpew-game/brownout-level
...
SAMD: make the brownout detection level configurable per board
2020-07-13 16:26:11 -04:00
Scott Shawcroft
b81195d1d5
Merge pull request #3141 from pewpew-game/main
...
Fluff M0: additional pins on version 1.3 of the board
2020-07-13 12:24:17 -07:00
Yihui Xiong
c8752ff93e
use RGB LEDs as status indicators
2020-07-11 21:25:32 +08:00
Yihui Xiong
8e26fdc0e9
add LED status, remove unused macros
2020-07-11 10:51:31 +08:00
Radomir Dopieralski
742f9cfdb0
Fluff M0: additional pins on version 1.3 of the board
2020-07-10 20:40:58 +02:00
Scott Shawcroft
37e77b21cd
Merge pull request #3140 from dunkmann00/docs-version-conf
...
Set version and release in build workflow
2020-07-10 11:15:23 -07:00
Yihui Xiong
7ff499046b
use VID & PIDs granted by Seeed
2020-07-11 00:37:45 +08:00
George Waters
a7634e8bf2
Set version and release in build workflow
2020-07-09 15:32:19 -04:00
Scott Shawcroft
41fe62929f
Merge pull request #3137 from jepler/update-mp3-lib
...
lib/mp3: update to 1.2.2 release
2020-07-09 10:31:42 -07:00
Scott Shawcroft
0068c76fa6
Merge pull request #3135 from arms22/bless_dev_board_multi_sensor
...
Add new board BLE-SS dev board Multi Sensor
2020-07-09 10:29:57 -07:00
Scott Shawcroft
121044cd57
Merge pull request #3132 from jepler/remove-audioio-compat
...
audioio: Remove compatibility code
2020-07-09 10:23:40 -07:00
Jeff Epler
f1509debc3
lib/mp3: update to 1.2.2 release
...
This fixes the audio clipping bug
2020-07-09 10:05:08 -05:00
Yihui Xiong
678f266394
fix pre-commit check
2020-07-09 10:25:46 +00:00
Radomir Dopieralski
e0733d153e
SAMD: configurable brownout, separate the variables
2020-07-09 12:17:07 +02:00
Yihui Xiong
8fef69809c
add m60 keyboard and nrf52840 m.2 devkit to build action
...
Signed-off-by: Yihui Xiong <yihui.xiong@hotmail.com>
2020-07-09 10:04:26 +00:00
Yihui Xiong
96f6ce222c
add makerdiary m60 keyboard
...
Signed-off-by: Yihui Xiong <yihui.xiong@hotmail.com>
2020-07-09 10:02:27 +00:00
Yihui Xiong
e81d22cd67
add makerdiary nrf52840 m.2 devkit
...
Signed-off-by: Yihui Xiong <yihui.xiong@hotmail.com>
2020-07-09 10:01:04 +00:00
arms22
bb5cdcf954
Add new board BLE-SS dev board Multi Sensor
2020-07-09 11:26:45 +09: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
Scott Shawcroft
ce214e82a5
Merge pull request #3127 from Arudinne/Raytac_MDBT50Q-DB-40
...
Add new board Raytac MDBT50Q-DB-40
2020-07-08 11:34:56 -07:00
Scott Shawcroft
dcf80e39dc
Merge pull request #3067 from jepler/stm-spi-pin-search
...
STM32: revamp SPI pin search code
2020-07-08 11:32:26 -07:00
Radomir Dopieralski
83a27edd20
SAMD: make the brownout detection level configurable per board
...
Not all boards have external flash or other components that make them
require 2.7V -- sometimes we can get considerably longer battery life
by decreasing this requirement.
In particular, pewpew10 and pewpew_m4 are powered directly from
battery, with no LDO, and should work fine down to 1.6V.
2020-07-08 19:59:53 +02:00
Arudinne
768149fb01
modified: ports/nrf/boards/raytac_mdbt50q-db-40/pins.c
2020-07-08 10:36:41 -05:00
Jeff Epler
959b4da9bb
make translate
2020-07-07 14:38:34 -05:00
Arudinne
5a9aac472a
modified: ports/nrf/boards/raytac_mdbt50q-db-40/pins.c
2020-07-07 14:37:59 -05:00
Jeff Epler
57ab4f1329
stm: SPI: revamp pin search code
...
I discussed with Hierophect on Discord about how to "de-nest" the code
for configuring SPI objects on STM, because the problems with one
nesting level per pin becomes unmanageable with the up to 10 pins of
SDIO.
This code (which is only compile-tested so far) demonstrates the concept
we discussed.
The SCK pin is always required. Loop over all possibilities of the SCK
pin. When we are considering a particular item in the mcu_spi_sck_list
we have now become committed to using a particular periph_index. If all
the other pins can be satisfied by that periph_index, then we have a
working combination. Once we have a working combination that is not
reserved, we can return that combination. On reaching the end, we have
checked all the possible possibilities and can give the same errors as
before: One if there was a possibility that worked but was reserved;
and another if no possibility worked.
2020-07-07 14:37:50 -05:00
Arudinne
dc2f729d19
modified: ports/nrf/boards/raytac_mdbt50q-db-40/mpconfigboard.mk
...
modified: ports/nrf/boards/raytac_mdbt50q-db-40/pins.c
2020-07-07 14:37:08 -05:00
Jeff Epler
9b4b655b03
Merge pull request #3124 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2020-07-07 14:35:09 -05:00
Arudinne
3a9e01e185
modified: .github/workflows/build.yml
2020-07-07 13:01:21 -05:00
Arudinne
b5af05cd31
new file: ports/nrf/boards/raytac_mdbt50q-db-40/board.c
...
new file: ports/nrf/boards/raytac_mdbt50q-db-40/bootloader/6.0.0/pca10056_bootloader_6.0.0_s140.zip
new file: ports/nrf/boards/raytac_mdbt50q-db-40/mpconfigboard.h
new file: ports/nrf/boards/raytac_mdbt50q-db-40/mpconfigboard.mk
new file: ports/nrf/boards/raytac_mdbt50q-db-40/pins.c
2020-07-07 12:27:23 -05:00
Alvaro Figueroa
cceab2af65
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (778 of 778 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-07-07 17:59:36 +02:00
oon arfiandwi
d73d7488b7
Translated using Weblate (Indonesian)
...
Currently translated at 43.0% (335 of 778 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/id/
2020-07-07 17:59:36 +02:00
Scott Shawcroft
965a4961ce
Merge pull request #3120 from DavePutz/issue#3049
...
Issue#3049 -PulseIn not working in CP5.4
2020-07-07 08:59:22 -07:00
DavePutz
0932b64ae7
Correct for SAMD51 build
2020-07-06 23:25:33 -05:00
DavePutz
1b3cb17abd
Corrected file for SAMD51 build
2020-07-06 21:47:11 -05:00
DavePutz
ab4a453006
Made requested changes
2020-07-06 21:40:38 -05:00