Commit Graph

27307 Commits

Author SHA1 Message Date
Scott Shawcroft 3b7d2f1dc3
Merge pull request #5593 from anecdata/ap_extras
Set AP MAC address
2021-11-17 10:26:36 -08:00
Nathan Young 0ff3c0dac0 Board definition for SparkFun Thing Plus - STM32 2021-11-17 19:18:28 +01:00
Kamil Tomaszewski 00426dc232 camera: Update camera_make_new arguments 2021-11-17 16:42:47 +01:00
retsyo e5f9e2febc windows/mpconfigport.h: Enable help and help("modules").
Following a similar change to the unix port in
6430cd3e02
2021-11-17 14:52:39 +11:00
Matt van de Werken a4c0f52714 stm32/led: Support an extra 2 LEDs in board configuration.
Although the pyboard has only 4 LEDs, there are some boards that (may) have
more.  This commit adds 2 more LEDs to the led.c file that if defined in
the board-specific config file will be compiled in.
2021-11-17 14:46:58 +11:00
Sebastian Wicki 8f3510799d docs/library/framebuf.rst: Adjust dimensions in example.
This commit swaps the dimensions of the `framebuffer.FrameBuffer` in the
docs example from 10x100 to 100x10 pixels to avoid clipping.

This is done to better fit the subsequent example code, which writes
text of size 96x8 followed by a 96x1 horizontal line.

The y coordinate of the horizontal line is also adjusted such that it is
drawn inside of the new canvas bounds.
2021-11-17 14:36:33 +11:00
Pooya Moradi 95ccd9a005 nrf/Makefile: Improve Black Magic Probe commands.
Used batch mode to get rid of the confirmation prompt on flashing.
Used 'compare-sections' to verify flash.
Removed the unnecessary `quit` at the end.
2021-11-17 14:32:02 +11:00
jc_.kim 19f09414a6 tests/micropython/const.py: Add comment about required config for test.
Expected result of const.py will be matched only when MICROPY_COMP_CONST is
enabled.  For easy understanding, added description at the first of the
test code.
2021-11-17 14:28:20 +11:00
Damien George 43d08688c3 extmod/uasyncio: Fix gather returning exceptions from a cancelled task.
Fixes issue #5882.
2021-11-17 14:11:31 +11:00
Alexey 'alexxy' Shvetsov 5cf71b5596 shared/libc/string0: Don't include string.h, and provide __memcpy_chk.
Some toolchains will have string.h defining various macros which can lead
to compile errors for string function implementations.  Not including
string.h fixes this.

An implementation of __memcpy_chk is provided for toolchains that enable
_FORTIFY_SOURCE.

Fixes issue #6046.

Signed-off-by: Alexey 'alexxy' Shvetsov <alexxyum@gmail.com>
2021-11-17 13:58:07 +11:00
Henk Vergonet d11ff0499f unix/modos: Add support for uos.urandom(n).
Use getrandom function if available, otherwise read from /dev/urandom.

Signed-off-by: Henk.Vergonet@gmail.com
2021-11-17 12:59:38 +11:00
Kattni a4be846d67
Merge pull request #5587 from dhalbert/update-frozen-libs-2021-11
update frozen libraries, especially adafruit_hid
2021-11-16 19:23:58 -05:00
Dan Halbert e77de3c73e
Merge pull request #5595 from adafruit/anecdata-patch-1
INVERT the sense of the I2C_POWER pin (active low)
2021-11-16 19:20:50 -05:00
robert-hh 5ed7a748f0 rp2/boards: Add neopixel.py to manifest.py.
Because machine.bitstream is now implemented on the rp2 port.
2021-11-17 10:02:32 +11:00
robert-hh b73d8b045a rp2/machine_bitstream: Implement the machine.bitstream driver.
Timing error is ~20ns at 125MHz, and ~10ns at 250MHz.
2021-11-17 10:01:15 +11:00
Pierre Constantineau da1ce6e80b
Merge branch 'adafruit:main' into board-pykey87 2021-11-16 15:53:42 -06:00
anecdata c2a5ca2fa2
INVERT the sense of the I2C_POWER pin (active low)
I don't have the board to test, but this was reported and discussed on Discord.
2021-11-16 14:47:53 -06:00
Dan Halbert c8b7206248
Merge pull request #5592 from dhalbert/add-ru-builds
add ru to language_allow_list
2021-11-16 13:34:31 -05:00
anecdata 193e936807 like #5571, but for AP 2021-11-16 12:21:50 -06:00
Dan Halbert 98bd5dc204 add ru to language_allow_list 2021-11-16 10:45:28 -05:00
Dan Halbert 93e5f3ed10
Merge pull request #5591 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2021-11-16 10:44:32 -05:00
Hosted Weblate 29615c0248
Merge remote-tracking branch 'origin/main' 2021-11-16 14:32:16 +01:00
Clay e39c874db4
Translated using Weblate (Russian)
Currently translated at 10.8% (111 of 1026 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ru/
2021-11-16 14:32:16 +01:00
Jonny Bergdahl 295ba8c48e
Translated using Weblate (Swedish)
Currently translated at 100.0% (1026 of 1026 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-11-16 14:32:15 +01:00
Dan Halbert 582a923ec9
Merge pull request #5579 from jepler/fix-optimization-same54
same54: Use the same optimization as other sam d5x/e5x
2021-11-16 08:32:08 -05:00
robert-hh 7d7d29dbe2 mimxrt: Fix mp_hal_quiet_timing_enter()/exit() so timer still runs.
The initial code disabled IRQs, which caused the us-ticks timer to stop.
The change here changes the priotity level, such that the timer still runs.
2021-11-16 23:20:06 +11:00
robert-hh 7cc9b257a9 mimxrt/boards: Update the board.json files and add deploy_xx.md files.
- Add board.md files for MIMXRT1060_EVK and MIMXRT1064_EVK warning about
  their experimental state.
- Add separate deploy_teensy.md and deploy_mimxrt.md files.
2021-11-16 23:17:42 +11:00
robert-hh d72d699dad mimxrt/boards: Add the Seeed ARCH MIX board.
The ARCH MIX board exposes the Ethernet Pins at it's connectors.  Therefore
the software is configured for using a LAN8720 PHY device.  Breakout boards
with the LAN8720 are easily available.
2021-11-16 23:11:21 +11:00
iabdalkader c3dceb1c32 rp2/boards: Add support for Arduino Nano RP2040. 2021-11-16 15:05:10 +11:00
iabdalkader f082793ac4 drivers/lsm6dsox: Add LSM6DSOX driver and examples. 2021-11-16 15:05:00 +11:00
Dan Halbert 73430af78b
-O2 without -fno-inline-functions 2021-11-15 22:36:23 -05:00
Hosted Weblate 5d8acca777
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-11-16 02:34:03 +01:00
Hosted Weblate 924769c2ee
Merge remote-tracking branch 'origin/main' 2021-11-16 02:34:00 +01:00
River Wang 1b20580640
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.4% (1016 of 1022 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-11-16 02:34:00 +01:00
Dan Halbert bd22667eb5
Merge pull request #5571 from anecdata/set_mac
Set Station MAC address & validate connect SSID len
2021-11-15 20:33:54 -05:00
Dan Halbert 41d4e5724e
Merge pull request #5589 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2021-11-15 20:25:29 -05:00
Dan Halbert 2e83e3053b update frozen libraries, especially adafruit_hid 2021-11-15 19:18:56 -05:00
Pierre Constantineau 4f0fc1eb17
Merge branch 'adafruit:main' into board-pykey87 2021-11-15 16:45:15 -06:00
Hosted Weblate 59fb15f83f
Merge remote-tracking branch 'origin/main' 2021-11-15 19:57:31 +01:00
Scott Shawcroft ba2f32e374
Merge pull request #5578 from jepler/disable-mkfs-fat32
oofatfs: Allow fat32 mkfs to be compiled out.  optimize rainbowio & enable everywhere
2021-11-15 10:57:25 -08:00
Hosted Weblate a957d8b000
Merge remote-tracking branch 'origin/main' 2021-11-15 19:23:04 +01:00
Scott Shawcroft 894adc78e9
Merge pull request #5580 from jepler/litex-prototypes
litex: Enable -Werror=missing-prototypes
2021-11-15 10:22:59 -08:00
Hosted Weblate 42c5e1a090
Merge remote-tracking branch 'origin/main' 2021-11-15 19:21:38 +01:00
River Wang ca6dbf8fc9
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.6% (1018 of 1022 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-11-15 19:21:38 +01:00
Wellington Terumi Uemura c450fcd48d
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1022 of 1022 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-11-15 19:21:37 +01:00
Maxime Leroy 3ffd738461
Translated using Weblate (French)
Currently translated at 98.8% (1010 of 1022 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-11-15 19:21:36 +01:00
Scott Shawcroft ef2b6374b9
Merge pull request #5582 from jepler/mimxrt10xx-prototypes
Mimxrt10xx: enable -Werror=missing-prototypes
2021-11-15 10:21:30 -08:00
Scott Shawcroft e1767bbe76
Added translation using Weblate (Russian) 2021-11-15 19:06:20 +01:00
microDev 7a89f62e6a
update translation 2021-11-15 20:58:50 +05:30
microDev 733bfbc10a
Merge branch 'main' into set_mac 2021-11-15 20:44:30 +05:30