Commit Graph

24113 Commits

Author SHA1 Message Date
Hosted Weblate
3b986e65c4
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-24 22:32:57 +02:00
Scott Shawcroft
533a84fe80
Merge pull request #4804 from bergdahl/errormessages-ip
Removed 'raw' from error message 'raw int'
2021-05-24 13:32:50 -07:00
Scott Shawcroft
038c9d6194
Merge pull request #4796 from Neradoc/nera-pwmrgb-status-pimoroni
Enable the PWM status LED on Pimoroni Tiny 2040 and PicoSystem
2021-05-24 13:30:55 -07:00
Scott Shawcroft
cc6f493da2
Merge pull request #4806 from lesamouraipourpre/patch-3
Update comment in persistentcode.c
2021-05-24 13:28:08 -07:00
Scott Shawcroft
6546d1330f
Merge pull request #4805 from lesamouraipourpre/patch-2
Docs: Incompatible .mpy file
2021-05-24 13:27:22 -07:00
Scott Shawcroft
186d382a61
Merge pull request #4795 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-05-24 13:19:33 -07:00
Damien George
0aa01b0205 lib/mbedtls: Switch to currently latest commit of LTS branch v2.16.
Signed-off-by: Damien George <damien@micropython.org>
2021-05-25 00:04:01 +10:00
James Carr
61a7212b28
Update comment in persistentcode.c
Update comment in mp_raw_code_save so that it matches the code.
2021-05-23 08:57:41 +01:00
James Carr
c665eb9bb5
Incompatible .mpy file
Update the *ValueError: Incompatible .mpy file* section for the upcoming 6 to 7 transition.
2021-05-23 08:51:35 +01:00
Hosted Weblate
21d5b0096e Merge remote-tracking branch 'origin/main' into main 2021-05-22 19:58:37 +02:00
Jonny Bergdahl
9d017ae883
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-22 19:58:37 +02:00
Wellington Terumi Uemura
34c2701e5d
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-22 19:58:36 +02:00
Alvaro Figueroa
262ad3dce0
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-22 19:58:36 +02:00
Limor "Ladyada" Fried
7df5d74d95
Merge pull request #4802 from BlitzCityDIY/main
Adding Arduino Nano RP2040 Connect
2021-05-22 13:58:28 -04:00
lady ada
2e90d5ed07 clang a bit 2021-05-22 12:39:42 -04:00
lady ada
d52f149e84 add ESP CS pin to make wifi demos easier 2021-05-22 12:22:28 -04:00
lady ada
ac855afb48 Some pin neatening and updated PID to unused Adafruit one! 2021-05-22 11:57:46 -04:00
Damien George
3b950ed295 tools/ci.sh: Use FROZEN_MANIFEST in an esp32 build to test feature.
This tests that FROZEN_MANIFEST works with cmake (on esp32 at least).

Signed-off-by: Damien George <damien@micropython.org>
2021-05-23 00:01:37 +10:00
Damien George
e61ac453dc py/mkrules.cmake: Add MPY_LIB_DIR and BOARD_DIR to makemanifest call.
So that the FROZEN_MANIFEST option in cmake works the same as make.

Signed-off-by: Damien George <damien@micropython.org>
2021-05-23 00:00:39 +10:00
Jonny Bergdahl
38177aff33 Removed 'raw' from error message 'raw in' 2021-05-22 12:36:28 +02:00
BlitzCityDIY
14dbec7c04 Merge branch 'main' of https://github.com/blitzcitydiy/circuitpython into main 2021-05-22 01:02:21 -04:00
BlitzCityDIY
9f4eb48e70 Updating MISO
While testing WIFI realized MISO was defined incorrectly
2021-05-22 01:02:06 -04:00
BlitzCityDIY
352281e23e Adding Arduino Nano RP2040 Connect
Re-commiting to fix local GitHub config issues. Adding CircuitPython support for the Arduino Nano RP2040 Connect. Have tested all digital and analog I/O, I2C, onboard LSM6DSOX. Uses the AT25SF128A external flash.
2021-05-21 20:44:11 -04:00
Dan Halbert
5a9b95e611 unlock board.I2C() on reset 2021-05-21 17:49:50 -04:00
Dan Halbert
c6eb0283dc Don't set num_hid_devices before it's validated 2021-05-21 17:34:30 -04:00
Dan Halbert
5a81f275cf Don't change number of HID devices until it's vetted 2021-05-21 17:29:21 -04:00
Dan Halbert
7d0cda2614 gc all pointers in hid_devices properly 2021-05-21 16:32:55 -04:00
Neradoc
6808d04d53 enable the PWM status LED on Pimonoroni Tiny 2040 and PicoSystem 2021-05-21 20:13:30 +02:00
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
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
8f7491a109).

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