Hosted Weblate
58e6159629
Merge remote-tracking branch 'origin/main' into main
2021-05-21 19:55:16 +02:00
Scott Shawcroft
20946d97a1
Merge pull request #4743 from tannewt/simplify_status_led
...
Simplify the status LED to save power
2021-05-21 10:55:11 -07:00
Hosted Weblate
2426ac9884
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-05-21 19:47:53 +02:00
Hosted Weblate
69eca4090b
Merge remote-tracking branch 'origin/main' into main
2021-05-21 19:47:51 +02:00
hexthat
2d18384cb9
Translated using Weblate (Chinese (Pinyin))
...
Currently translated at 100.0% (993 of 993 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-05-21 19:47:51 +02:00
Hugo Dahl
25b4b4ce37
Translated using Weblate (French)
...
Currently translated at 96.0% (954 of 993 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-05-21 19:47:50 +02:00
Jose David M
e7dc5c9911
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (993 of 993 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-05-21 19:47:49 +02:00
Scott Shawcroft
22e8b20907
Merge pull request #4792 from Neradoc/nera-fix-IPv4Address
...
Fix ipaddress.IPv4Address from returning invalid values
2021-05-21 10:47:41 -07:00
Scott Shawcroft
9a7a2bb27d
Merge pull request #4784 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-05-21 10:02:59 -07:00
Maureen Helm
a7a9f2fe89
tools/ci.sh: Update zephyr docker image to v0.17.3.
...
Updates the zephyr docker image and SDK to the latest versions.
Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-05-21 21:55:46 +10:00
Tobias Thyrrestrup
247d7e2e8e
tools/pydfu.py: Remove default VID/PID values.
...
As the new default behaviour, this allows PyDFU to be used with all
devices, not just the ones matching a specific set of VID/PID values. But
it's still possible to specify VID/PID if needed to narrow down the
selection of the USB device.
Signed-off-by: Tobias Thyrrestrup <tt@LEGO.com>
2021-05-21 15:39:40 +10:00
Kevin Matocha
b14d573655
reduce SPI display baudrate from 60 MHz to 5 MHz to reduce display glitch
2021-05-20 21:23:59 -05:00
Hosted Weblate
baa729aef6
Merge remote-tracking branch 'origin/main' into main
2021-05-21 02:00:31 +02:00
Dan Halbert
3bcbf2bdbb
Merge pull request #4790 from Neradoc/nera-fix-USER_SAFE_MODE-message
...
Don't print out "hard crash" when USER_SAFE_MODE demanded
2021-05-20 20:00:26 -04:00
Neradoc
9fa7fb7092
fix ipaddress.IPv4Address from returning invalid values
2021-05-20 23:17:56 +02:00
Scott Shawcroft
561ffec693
Merge remote-tracking branch 'adafruit/main' into simplify_status_led
2021-05-20 13:46:42 -07:00
Hosted Weblate
a6b4c3f16a
Merge remote-tracking branch 'origin/main' into main
2021-05-20 22:00:58 +02:00
Dan Halbert
f5aa55c247
Merge pull request #4606 from hierophect/sleep-revamp
...
Internal API revisions to sleep
2021-05-20 16:00:52 -04:00
Lucian Copeland
af43f956d3
Merge remote-tracking branch 'upstream/main' into sleep-revamp
2021-05-20 15:56:34 -04:00
Neradoc
a8b6232402
don't print out "hard crash" when USER_SAFE_MODE demanded
2021-05-20 21:23:25 +02:00
Scott Shawcroft
5643355e90
Merge remote-tracking branch 'adafruit/main' into simplify_status_led
2021-05-20 08:35:15 -07:00
Damien George
ea81bcf1c0
stm32/mboot: Leave bootloader from thread mode, not from IRQ.
...
Leaving the bootloader from an IRQ (eg USB or I2C IRQ) will not work if
MBOOT_LEAVE_BOOTLOADER_VIA_RESET is disabled, ie if mboot jumps directly to
the application. This is because the CPU will still be in IRQ state when
the application starts and IRQs of lower priority will be blocked.
Fix this by setting a flag when the bootloader should finish, and exit the
bootloader always from the main (top level) thread.
This also improves the USB behaviour of mboot: it no longer abruptly
disconnects when the manifest command is sent.
Signed-off-by: Damien George <damien@micropython.org>
2021-05-21 00:46:01 +10:00
Damien George
748339b281
stm32/uart: Configure pull-up only on RX and CTS, not TX and RTS.
...
RX and CTS are the input pins and pull-ups are enabled so they don't cause
a problem if left unconnected. But the output pins don't need a pull up
(they were originally all configured with pull up in commit
8f7491a109a555ca897ae49efe98f4cc2b080311).
If needed, the pull-ups can be disabled in Python using machine.Pin after
the UART is constructed.
See issue #4369 .
Signed-off-by: Damien George <damien@micropython.org>
2021-05-21 00:38:04 +10:00
Damien George
a96afae90f
stm32/sdio: Fix case of SDIO DMA turning off mid transfer.
...
The DMA driver will turn off DMA if it hasn't been used for an amount of
time (to save power). The SDIO driver for cyw43 WLAN was not informing the
DMA driver that it was using DMA and there was a chance that the DMA would
turn off in the middle of an SDIO DMA transfer. The symptoms of this would
be printing of SDIO error messages and a failure to communicate with the
cyw43 WLAN module.
This commit fixes this issue by changing the SDIO driver to use the
dma_nohal_XXX API to initialise and start the DMA.
Signed-off-by: Damien George <damien@micropython.org>
2021-05-21 00:08:13 +10:00
Damien George
5176a2d732
py/emitnative: Fix x86-64 emitter to generate correct 8/16-bit stores.
...
Fixes issue #6643 .
Signed-off-by: Damien George <damien@micropython.org>
2021-05-20 23:43:25 +10:00
Damien George
f49d47c167
py/asmx64: Support use of top 8 regs in src_r64 argument.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-05-20 23:43:25 +10:00
Damien George
04927dfaca
tools/mpy_ld.py: Support R_X86_64_GOTPCREL reloc for x86-64 arch.
...
This can be treated by the linker the same as R_X86_64_REX_GOTPCRELX,
according to https://reviews.llvm.org/D18301 .
Signed-off-by: Damien George <damien@micropython.org>
2021-05-20 23:34:20 +10:00
Mike Causer
47b778332a
all: Replace busses with buses.
...
"buses" is the widely accepted plural form of "bus".
2021-05-20 23:22:03 +10:00
Mike Causer
1ca66efbf7
stm32/boards: Add VCC_GND_F407ZG board.
2021-05-20 23:17:51 +10:00
Mike Causer
c24003abec
stm32/boards: Add VCC_GND_F407VE board.
2021-05-20 23:15:56 +10:00
Andrew Leech
9d58d46e0a
docs/library/pyb.Pin.rst: Update the arguments for Pin.init().
...
Add details for Pin.init() value and alt arguments.
2021-05-20 23:08:43 +10:00
Hosted Weblate
132185238a
Merge remote-tracking branch 'origin/main' into main
2021-05-20 15:02:41 +02:00
Jonny Bergdahl
0c2c725978
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (993 of 993 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-05-20 15:02:41 +02:00
Wellington Terumi Uemura
131cdda2e2
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (993 of 993 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-05-20 15:02:41 +02:00
Noel Gaetan
c82286e39b
Translated using Weblate (French)
...
Currently translated at 96.0% (954 of 993 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-05-20 15:02:40 +02:00
Dan Halbert
74355e8281
Merge pull request #4783 from tannewt/fix_sm_rp2040_7
...
Fix safe mode on rp2040 (in 7.x)
2021-05-20 09:02:35 -04:00
Hosted Weblate
dbc0118f9a
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-05-20 04:41:56 +02:00
Dan Halbert
7511e1c782
Merge pull request #3493 from gabewillen/main
...
Implemented the ability to set the transmitter power on nRF52 devices
2021-05-19 22:41:47 -04:00
Scott Shawcroft
499a4388cf
Handle inverted neopixel power
2021-05-19 17:29:02 -07:00
Scott Shawcroft
65813ef358
Fix ble_hci builds
2021-05-19 14:14:32 -07:00
Scott Shawcroft
42ee48ccb5
Improve error for invalid parameters
2021-05-19 14:09:11 -07:00
Scott Shawcroft
ee7a701487
Switch to start_advertising arg
2021-05-19 12:21:48 -07:00
gabewillen
e29158483e
Update Adapter.h
...
Added the tx_power to the adapter object
2021-05-19 11:56:49 -07:00
gabewillen
6b39df406a
Update Adapter.c
...
Added support for setting transmitter power currently done during every time advertising starts as implemented in the Arduino library
2021-05-19 11:55:47 -07:00
gabewillen
806b39fb22
Update Adapter.c
...
Added support for setting transmitter power
2021-05-19 11:55:01 -07:00
gabewillen
7dee378ade
Update Adapter.h
...
Added support for setting transmitter power
2021-05-19 11:55:01 -07:00
Scott Shawcroft
b78e9fcd19
Improve STM reset reason
...
This causes safe mode to skip the wait for reset when waking up
from an alarm. (It also means we don't flash the LED for it.)
2021-05-19 11:48:02 -07:00
EmergReanimator
7805392b9e
Update UART.c
...
Incorporating feedback: https://github.com/adafruit/circuitpython/pull/4772#discussion_r634112839
2021-05-19 20:19:16 +02:00
Scott Shawcroft
642fbcf87a
Handle status led power
...
This no longer turns on status LED power before running user code.
Therefore, use of the status LED on some boards will also have to
enable the power.
2021-05-19 10:57:14 -07:00
Scott Shawcroft
9dabe882f1
Fix safe mode on rp2040
2021-05-19 10:18:43 -07:00