Commit Graph

24187 Commits

Author SHA1 Message Date
Dan Halbert 050b5f4cf0 fix check of usb_hid.Device out_report_length 2021-06-02 12:41:07 -04:00
Dan Halbert 51fc9027eb Remove non-product Adafruit boards 2021-06-02 12:41:07 -04:00
hexthat a7ce843920 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-06-02 12:41:07 -04:00
Wellington Terumi Uemura dd3e129802 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-06-02 12:41:07 -04:00
Jonny Bergdahl 3b11e6f194 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-06-02 12:41:07 -04:00
Jose David M b8132c5c07 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-06-02 12:41:07 -04:00
Hosted Weblate e09a771ab2 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-06-02 12:41:07 -04:00
Dan Halbert 3930440bc5 Fix usb_cdc.enable(console=False, data=True) 2021-06-02 11:29:56 -04:00
Scott Shawcroft 850ede78d1
Merge pull request #4844 from FoamyGuy/stub_package
stubs package with data_files
2021-06-02 08:29:49 -07:00
Scott Shawcroft a25872dcb3
Merge pull request #4845 from t-ikegami/mpz_crash_fix
Fix bit_length() method to work with zero-valued mpz integer.
2021-06-02 08:28:24 -07:00
Dan Halbert 6bc4f80e61
Merge pull request #4843 from dhalbert/7.0.0-a3-update-frozen-libraries
update frozen libraries for 7.0.0-alpha.3
2021-06-02 10:24:38 -04:00
Dan Halbert 1e74857866
Merge pull request #4847 from dhalbert/rp2040-xosc-startup
lengthen RP2040 xosc startup time
2021-06-02 10:24:11 -04:00
Dan Halbert 6af36757a7 lengthen RP2040 xosc startup time 2021-06-02 08:50:20 -04:00
Tsutomu IKEGAMI 9490010d7d Fix format (expand tab) 2021-06-02 12:10:41 +09:00
Tsutomu IKEGAMI 6278c2bb9f Fix bit_length() method to work with zero-valued mpz integer. 2021-06-02 11:57:55 +09:00
foamyguy 6737bbdcf3 stubs package with data_files 2021-06-01 20:38:56 -05:00
Dan Halbert b49ee62af9
Merge pull request #4840 from adafruit/jepler-patch-1
Update __init__.c
2021-06-01 21:14:14 -04:00
Dan Halbert d6f47d2182 update frozen libraries for 7.0.0-alpha.3 2021-06-01 21:09:59 -04:00
Jeff Epler d888238dfe
Update __init__.c
some small typos
2021-06-01 19:15:51 -05:00
Scott Shawcroft 6ee9acc900
Merge pull request #4755 from jepler/esp32s2-protomatter
Esp32s2 protomatter
2021-06-01 13:32:34 -07:00
Scott Shawcroft a94b8cf972
Merge pull request #4823 from jepler/ondiskbitmap-palette
OnDiskBitmap: INCOMPATIBLE CHANGE: Allow them to use palettes
2021-06-01 13:18:51 -07:00
Scott Shawcroft 892dfa84ed
Merge pull request #4826 from jepler/actions-windows-build
Check that select firmwares build on Windows with MSYS2
2021-06-01 13:04:06 -07:00
Scott Shawcroft dea5c82d51
Merge pull request #4834 from reppad/muselab_nanoesp32_s2_wrover
Muselab nanoESP32-S2 w/WROVER
2021-06-01 12:46:47 -07:00
Scott Shawcroft 4a127de002
Merge pull request #4829 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-06-01 12:41:46 -07:00
Hosted Weblate 66fb0acca9 Merge remote-tracking branch 'origin/main' into main 2021-06-01 20:43:30 +02:00
Dan Halbert d3238e0778
Merge pull request #4836 from jepler/mpy-cross-m1-nlr
mpy-cross: Remove bug workaround, debug print
2021-06-01 14:43:25 -04:00
Jeff Epler dbf9918f78 mpy-cross: Remove bug workaround, debug print 2021-06-01 12:46:31 -05:00
robert-hh 4c407c790f mimxrt: Add the Timer class to the machine module.
It supports three hardware timer channels based on the PIT timers of the
MIMXRT MCU.  The timer id's are 0, 1 and 2.  On soft reboot all active
timers will be stopped via finalisers.
2021-06-02 00:33:13 +10:00
Damien George 934505ac33 tools/ci.sh: Build mpy-cross as part of ci_mimxrt_build.
Signed-off-by: Damien George <damien@micropython.org>
2021-06-02 00:02:21 +10:00
robert-hh 745b4319a2 mimxrt/boards/TEENSY40: Re-create the flash FS after deploy.
This is required since the Teensy Halfkay loader attempts to erase all of
the flash but fails to do so, at least in my tests.  Formatting brings it
back to a known state.
2021-06-01 23:52:45 +10:00
robert-hh dfd4324eb1 mimxrt: Add flash storage support with VFS and littlefs filesystem.
This commit adds full support for a filesystem on all boards, with a block
device object mimxrt.Flash() and uos.VfsLfs2 enabled.

Main changes are:
- Refactoring of linker scripts to accomodate reserved area for VFS.  VFS
  will take up most of the available flash. 1M is reserved for code.  9K is
  reserved for flash configuration, interrupts, etc.
- Addition of _boot.py with filesystem init code, called from main.c.
- Definition of the mimxrt module with a Flash class in modmimxrt.[ch].
- Implementation of a flash driver class in mimxrt_flash.c.  All flashing
  related functions are stored in ITCM RAM.
- Addition of the uos module with filesystem functions.
- Implementation of uos.urandom() for the sake of completeness of the uos
  module.

It uses sample code from CircuitPython supplied under MIT license, which
uses the NXP SDK example code.

Done in collaboration with Philipp Ebensberger aka @alphaFred who
contributed the essential part to enable writing to flash while code is
executing, among other things.
2021-06-01 23:42:57 +10:00
Hosted Weblate 8a04a3c714 Merge remote-tracking branch 'origin/main' into main 2021-06-01 15:10:12 +02:00
hexthat 9eed85dd12
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-06-01 15:10:11 +02:00
Jeff Epler 623b935263
Merge pull request #4835 from djix123/main
Fix mpy-cross build on Apple M1 machines
2021-06-01 07:10:04 -06:00
robert-hh c303b15f10 mimxrt: Enable frozen modules. 2021-06-01 22:57:09 +10:00
robert-hh fdaf2b80d9 mimxrt: Add custom help text and enable help("modules"). 2021-06-01 22:52:44 +10:00
Jonathan Giles 064e6881ed Fix mpy-cross build on Apple M1 machines 2021-05-31 14:14:20 -04:00
Hosted Weblate 0a8d8439ed Merge remote-tracking branch 'origin/main' into main 2021-05-31 15:05:59 +02:00
Dan Halbert aade07492f
Merge pull request #4832 from jepler/mpy-cross-macos-arm64-universal
mpy-cross: Build an arm64 (M1) bin and a universal bin
2021-05-31 09:05:52 -04:00
reppad 61d25f197a Add requested Espressif PID 2021-05-30 20:18:49 +02:00
Jeff Epler ed977e9f25 mpy-cross: Build an arm64 (M1) bin and a universal bin 2021-05-30 13:03:12 -05:00
root 8761e4bfd7 Initialize pacing timer 2021-05-30 12:12:38 -05:00
reppad 625fa881c6 Add Muselab Nanoesp32_s2 w/Wrover 2021-05-30 16:14:21 +02:00
Joseph Chiu c5d2095e59 esp32/espneopixel: Add support for GPIO32 and GPIO33.
Adds support for NeoPixels on GPIO32 and GPIO33 on ESP32.  Otherwise,
NeoPixels wired to GPIO32/33 wll silently fail without any hints to the
user.

With thanks to @robert-hh.

Fixes issue #7221.
2021-05-30 23:36:50 +10:00
Jonny Bergdahl 017c6d5aa8
Translated using Weblate (Swedish)
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-05-30 15:32:13 +02:00
Wellington Terumi Uemura e18d67cdc5
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-05-30 15:32:12 +02:00
Alvaro Figueroa b25ad6dcdb
Translated using Weblate (Spanish)
Currently translated at 100.0% (994 of 994 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-05-30 15:32:12 +02:00
IAMLIUBO a18f695e29 esp32/boards: Add M5STACK_ATOM board definition.
ATOM is a very small ESP32 development board produced by M5Stack, with a
size of 24mm * 24mm, with peripherals such as WS2812, IR, button, MPU6886
(Only Matrix), and 8 GPIO extensions.  It also has a plastic shell.
2021-05-30 23:15:13 +10:00
Matt Trentini a6a8941d84 docs/rp2: Add skeleton docs for the rp2 port. 2021-05-30 22:31:34 +10:00
Damien George 53519e322a py/builtinimport: Change relative import's ValueError to ImportError.
Following CPython change, see https://bugs.python.org/issue37444.

Signed-off-by: Damien George <damien@micropython.org>
2021-05-30 19:35:03 +10:00