Damien George
db8704ecbd
esp8266,esp32: Update manifest to point to new dirs in micropython-lib.
...
Following a refactoring of micropython-lib.
Signed-off-by: Damien George <damien@micropython.org>
2021-05-28 18:32:56 +10:00
Hosted Weblate
688d6a9ee1
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-28 04:44:49 +02:00
Dan Halbert
fdc7f5f2aa
Merge pull request #4819 from dhalbert/fix-out_report_length
...
fix check of usb_hid.Device out_report_length
2021-05-27 22:44:42 -04:00
Dan Halbert
e7f82f864a
fix check of usb_hid.Device out_report_length
2021-05-27 21:29:38 -04:00
Lucian Copeland
24041f34b0
Merge remote-tracking branch 'upstream/main' into rp2040-alarms
2021-05-27 18:40:40 -04:00
Lucian Copeland
8e1892ac6f
Implement RP2040 Alarm module
...
Adds light and deep sleep functionality for the TimeAlarm and PinAlarm
alarm categories. Adds board deinit for all platforms.
2021-05-27 18:33:29 -04:00
Jeff Epler
9ff6ccba48
remove commented-out code
2021-05-27 11:33:17 -05:00
Damien George
211c3e41f1
stm32/boards/PYBD_SF2: Disable GCC 11 warnings for array bounds.
...
With GCC 11 there is now a warning about array bounds of OTP-mac, due to
the OTP being a literal address.
Signed-off-by: Damien George <damien@micropython.org>
2021-05-27 23:57:51 +10:00
Kong Wai Weng
da7c74f614
Initial commit.
2021-05-27 18:02:52 +08:00
Damien George
62f75376dd
stm32/boards/NUCLEO_L432KC: Fix FS size and enable LFS1 filesystem.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-05-27 12:18:41 +10:00
Dan Halbert
6e71f6099f
Merge pull request #4812 from dhalbert/remove-a-few-boards
...
Remove non-product Adafruit boards
2021-05-26 18:22:26 -04:00
Dan Halbert
5eb4cc6489
Remove non-product Adafruit boards
2021-05-26 16:01:17 -04:00
Jeff Epler
11288c1c28
esp32s2: Add rgbmatrix support
2021-05-26 11:21:59 -05:00
Jeff Epler
0d7f257eae
displayio: Pause rgbmatrix during soft-reset
...
We can't handle rgbmatrix's interrupts from here until the display is
reinitialized, so set the display as paused.
With this change, I can survive multiple cycles with wifi+rgbmatrix
on an esp32s2. Before, it usually failed.
2021-05-26 11:18:02 -05:00
Jeff Epler
4de8fa09ab
esp32s2: peripherals: store address of timer peripheral in its struct
...
.. this is helpful if we need to go down to the esp-idf low level
I/O routines
2021-05-26 11:18:02 -05:00
Jeff Epler
60c9a57815
esp32s2: Add pin_number, reset_pin_number needed by rgbmatrix
2021-05-26 11:18:02 -05:00
Jeff Epler
6750d3feab
esp32s2: Introduce, use NO_PIN
...
GPIO_NUM_NC is -1 so it's equivalent to the existing code.
2021-05-26 11:18:02 -05:00
Damien George
6a127810c0
extmod/moduhashlib: Put hash obj in final state after digest is called.
...
If digest is called then the hash object is put in a "final" state and
calling update() or digest() again will raise a ValueError (instead of
silently producing the wrong result).
See issue #4119 .
Signed-off-by: Damien George <damien@micropython.org>
2021-05-26 21:44:46 +10:00
Damien George
0abf6f830c
esp8266/boards/GENERIC_512K: Add custom manifest without FS modules.
...
The 512k build does not have a filesystem so there is no reason to include
the filesystem-related modules. This commit provides a custom manifest.py
for this board which no longer includes: _boot.py, flashbdev.py,
inisetup.py, upip.py, upip_utarfile.py. This cuts the build down by about
9k of flash.
Signed-off-by: Damien George <damien@micropython.org>
2021-05-26 21:41:40 +10:00
Damien George
ef16834887
github/workflows: Add workflow to build and run unix port on MIPS.
...
This adds a coverage build and running of the test suite on a MIPS 32-bit
big endian architecture. It uses the feature of qemu to execute foreign
code as though it were native to the system (using qemu user mode). The
code compiled for MIPS will run under the qemu VM, but all syscalls made by
this code go to the host (Linux) system.
See related #7268 and #7273 .
Signed-off-by: Damien George <damien@micropython.org>
2021-05-26 16:33:18 +10:00
Damien George
dc86e04476
tests: Make float and framebuf tests skip or run on big-endian archs.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-05-26 16:33:18 +10:00
Damien George
e7c0a8bca3
tools/ci.sh: Build Cortex-A9 sabrelite board as part of qemu-arm CI.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-05-26 16:24:00 +10:00
Damien George
b84406f313
qemu-arm: Add support for Cortex-A9 via sabrelite board.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-05-26 16:24:00 +10:00
Damien George
f5cba77e50
tools/tinytest-codegen.py: Add command-line option to exclude tests.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-05-26 16:24:00 +10:00
Damien George
2c1a6a237d
tools/mpy-tool.py: Support relocating ARMv6 arch.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-05-26 16:24:00 +10:00
Damien George
4ee8ec6931
py/asmarm: Use builtin func to flush I- and D-cache on ARM 7 archs.
...
The inline assembler code does not work for __ARM_ARCH == 7.
Signed-off-by: Damien George <damien@micropython.org>
2021-05-26 16:24:00 +10:00
Scott Shawcroft
f26528dfa6
Merge pull request #4808 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-05-25 19:18:06 -07:00
Hosted Weblate
d78467dd47
Merge remote-tracking branch 'origin/main' into main
2021-05-25 23:13:26 +02:00
Scott Shawcroft
7190b3ee6a
Merge pull request #4798 from dhalbert/hid_devices-gc
...
gc all pointers in hid_devices properly
2021-05-25 14:13:19 -07:00
root
24e641a834
Fix for Issue #4266
2021-05-25 16:06:00 -05:00
robert-hh
c732b80f05
mimxrt: Extend the Pin module for SoftI2C, SoftSPI support.
...
This change consists mostly of changing and extending the required
definitions in mphalport.h.
2021-05-25 20:43:52 +02:00
Hosted Weblate
cb6b834d26
Merge remote-tracking branch 'origin/main' into main
2021-05-25 19:41:43 +02:00
hexthat
323b8b7edd
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-25 19:41:43 +02:00
Wellington Terumi Uemura
0e10244f2b
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-25 19:41:42 +02:00
Dan Halbert
d79d68705b
Merge pull request #4763 from jepler/esp32s2-build-memory-info
...
Add build_memory_info for esp32s2
2021-05-25 13:41:35 -04:00
Jeff Epler
f21eec5fe1
Work for non-psram builds
...
This is more or less a complete re-organization of the code.
* Use the actual byte size of the .bin file as the flash size,
as the algorithm for packing sections into the flash is complicated
* Match each section to a data region & find the high water mark in the
region
* Report on all the RAM regions, separately
Note that elftools is a requirement of esp-idf and so does not need to
be listed in our requirements.txt.
2021-05-25 10:06:31 -05:00
Philipp Ebensberger
5f68f0d08a
github/workflows: Add CI workflow for mimxrt port.
2021-05-26 00:12:45 +10:00
Philipp Ebensberger
c326d9a67b
mimxrt: Enable built-in help.
2021-05-26 00:12:45 +10:00
Philipp Ebensberger
ff5d39529c
mimxrt: Implement machine.Pin class.
...
- modified pin type from pin_obj_t to machine_pin_obj_t
- created machine_pin.c
- implemented basic version of make-pins.py to genertate pins.c/.h files
automatically; the only alternate function currently supported is GPIO
- added af.csv files for all supported MCUs
- replaced pins.c/pins.h files with pin.csv for all boards
- implemented on/off/high/low/value/init methods
- Implemented IN/OUT/OPEN_DRAIN modes
- modified LDFLAGS for DEBUG build to get usefull .elf file for debugging
Signed-off-by: Philipp Ebensberger
2021-05-26 00:12:42 +10:00
Dan Halbert
0f66832829
Merge branch 'main' into hid_devices-gc
2021-05-24 18:17:52 -04:00
Hosted Weblate
665950c9f6
Merge remote-tracking branch 'origin/main' into main
2021-05-24 23:26:45 +02:00
Scott Shawcroft
0d92558012
Merge pull request #4800 from dhalbert/too-many-hid-devices
...
Handle too many HID devices properly
2021-05-24 14:26:41 -07:00
Hosted Weblate
a84998adb4
Merge remote-tracking branch 'origin/main' into main
2021-05-24 23:25:09 +02:00
Jonny Bergdahl
cd2530401c
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-24 23:25:08 +02:00
Jose David M
9895fae66e
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-24 23:25:08 +02:00
Scott Shawcroft
de89fc7011
Merge pull request #4801 from dhalbert/unlock-board-i2c-on-reset
...
unlock board.I2C() on reset
2021-05-24 14:25:03 -07:00
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