Jeff Epler
e6fe55349d
run_tests: Parallelism improvements, partial sync with micropython
...
Take changes from https://github.com/micropython/micropython/pull/3694
(expected to be merged soon) as well as other accumulated stuff from
upstream that we want.
Leave our desired differences, including:
* silencing warnings in python3
* renaming the file descriptors returned by openpty()
* adding ulab tests
* Adding "." to the import path for skip_if
This speeds up `make test_full` and should also reduce the time in CI
a little bit.
2021-06-03 16:17:47 -05:00
Scott Shawcroft
934a14b327
Merge pull request #4853 from t-ikegami/fix_terminalio_esc_sequence
...
Fix move cursor esc sequence of terminalio to meet ANSI standard
2021-06-03 12:43:43 -07:00
leo chung
fad0efdcf2
esp32/Makefile: Fix wrong target for partition-table.bin.
...
"$(BUILD)/partition_table/partition -table.bin" is typing mistake.
Signed-off-by: leo chung <gewalalb@gmail.com>
2021-06-04 01:04:35 +10:00
robert-hh
53fea8598e
mimxrt/boards: Add board configuration files for Teensy 4.1.
...
These are at the moment more or less identical to the Teensy 4.0 files,
except for the pins.csv file and the flash size.
2021-06-04 01:00:39 +10:00
Philipp Ebensberger
b8c65b174f
mimxrt/machine_adc: Add the ADC class to the machine module.
...
This adds the machine.ADC class with the read_u16() method. make-pins.py
and supporting files are updated to generate ADC information.
2021-06-04 00:51:58 +10:00
ZodiusInfuser
6011db3aec
Added board definition
2021-06-03 15:49:23 +01:00
robert-hh
bbdc98f72e
mimxrt: Enable many Python and some extmod features.
...
Besides Python features this includes the extmod modules which make use of
the Pin module, especially machine.softSPI, machine.SoftI2C and onewire.
2021-06-04 00:38:18 +10:00
robert-hh
a40e1473dc
mimxrt: Add floating point support.
...
Since not all boards support double fp, all board specific .mk files are
affected too.
2021-06-04 00:37:22 +10:00
Jeff Epler
c7df5e9980
Merge pull request #4852 from stonehippo/sparkfun-micromod-samd51
...
Sparkfun micromod samd51
2021-06-03 07:14:25 -06:00
Tsutomu IKEGAMI
a4be61912c
Fix move cursor esc sequence of terminalio to meet ANSI standard
2021-06-03 20:40:37 +09:00
George White
9cde8a2265
MicroMod SAMD51 - correct I2C_INT pin
2021-06-03 06:05:13 -04:00
George White
26c6bd2346
MicroMod SAMD51 - correct SCL2
2021-06-03 05:39:09 -04:00
George White
6e36f30d9f
MicroMod SAMDt1 - correct board nane
2021-06-03 05:36:05 -04:00
robert-hh
2f365d234e
mimxrt/machine_rtc: Add the RTC class to the machine module.
...
Initial version, using the LP RTC clock. It provides setting the date and
time with rtc.init() or rtc.datetime(), and reading the date and time with
rtc.datetime() or rtc.now(). The method weekday() reports the weekday of
the current date. It starts with 0 for Monday.
The tuple order for datetime() and now() matches the CPython sequence:
(year, month, day, hour, minute, second, microsecond, TZ). TZ is ignored
and reported as None. Microsecond is provided at a best effort.
If a battery is not supplied, the default boot date/time is 1970/1/1 0:0:0.
With a battery, the clock continues to run even when the board is not
powered. The clock is quite precise. If not, using rtc.calibration() may
help.
2021-06-03 15:24:04 +10:00
George White
2b068414e1
Fix missing comma
...
Doh
2021-06-02 23:13:08 -04:00
robert-hh
d79105d7c0
mimxrt/machine_timer: Leave the Timer clock source at IPG clock.
...
Setting it to OSC_CLK interferes the utime module's functionality. This is
still an area demanding an understanding.
2021-06-03 13:03:02 +10:00
robert-hh
cdd95ce737
mimxrt/machine_timer: Reuse any existing timer objects.
...
So there is a 1-1 mapping of hardware timer to Python object.
2021-06-03 13:02:51 +10:00
George White
0437199706
Fix some pin mappings
...
Conflicts:
ports/atmel-samd/boards/sparkfun_samd51_micromod/pins.c
2021-06-02 22:22:04 -04:00
robert-hh
5226d6e1ee
mimxrt: Remove __WFE() from MICROPY_EVENT_POLL_HOOK.
...
The device is unreliable with the WFE included. This needs further
investigation.
2021-06-03 12:21:36 +10:00
George White
4c493c86c8
Add Sparkfun MicroMod SAMD51
2021-06-02 22:05:58 -04:00
George White
db1830d62b
Add Sparkfun MicroMod SAMD51
2021-06-02 21:53:23 -04:00
Jeff Epler
26751c9afe
Merge pull request #4848 from dhalbert/usb_cdc-data-only-fixes
...
Fix usb_cdc.enable(console=False, data=True)
2021-06-02 15:27:44 -06:00
Dan Halbert
95cbf3faa5
handle CIRCUITPY_USB_CDC = 0 properly (fix simmel build)
2021-06-02 15:27:20 -04:00
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