oli
f72b49756d
docs/library/rp2.rst: Update function asm_pio_encode to add sideset_opt.
2021-11-19 13:38:56 +11:00
oli
0a9335ecaa
rp2/rp2_pio: Support exec with sideset.
...
The rp2.StateMachine.exec errors when supplying a sideset action. This
commit passes the sideset_opt from the StateMachine though to the parser.
It also adds some value validation to the sideset operator.
Additionally, the "word" method is added to the exec to allow any other
unsupported opcodes.
Fixes issue #7924 .
2021-11-19 13:35:28 +11:00
Peter van der Burg
3dc9a42bc2
samd/README.md: Update README to reflect new features and boards.
2021-11-19 11:49:10 +11:00
Peter van der Burg
b991902983
samd/boards/SEEED_XIAO: Add new board definition.
2021-11-19 11:48:25 +11:00
Peter van der Burg
ef4e63aabc
samd/boards/SEEED_WIO_TERMINAL: Add new board definition.
2021-11-19 11:48:12 +11:00
Peter van der Burg
771d673e5c
samd/boards/SAMD21_XPLAINED_PRO: Update for flash and pins.
...
- mpconfigboard.h: flash and USART config
- mpconfigboard.mk: enable LFS1
- pins.c: define pins and LEDs
- pins.h: define structs and consts
2021-11-19 11:47:43 +11:00
Peter van der Burg
fb79e58636
samd/boards/ADAFRUIT_TRINKET_M0: Update for flash and pins.
...
- mpconfigboard.h: flash and USART config
- mpconfigboard.mk: enable LFS1
- pins.c: define pins and LEDs
- pins.h: define structs and consts
2021-11-19 11:47:19 +11:00
Peter van der Burg
3d33dbedc9
samd/boards/MINISAM_M4: Update for flash and pins.
...
- mpconfigboard.h: flash and USART config
- mpconfigboard.mk: enable LFS1
- pins.c: define pins and LEDs
- pins.h: define structs and consts
2021-11-19 11:46:53 +11:00
Peter van der Burg
199b6a8a8b
samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS: Update for flash and pins.
...
- mpconfigboard.h: flash and USART config
- mpconfigboard.mk: enable LFS1
- pins.c: define pins and LEDs
- pins.h: define structs and consts
2021-11-19 11:46:30 +11:00
Peter van der Burg
72cb4ff596
samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS: Update for flash and pins.
...
- mpconfigboard.h: flash and USART config
- mpconfigboard.mk: enable LFS1
- pins.c: define pins and LEDs
- pins.h: define structs and consts
2021-11-19 11:44:07 +11:00
Peter van der Burg
2f65ded1a2
samd: Add Pin and LED classes, and machine.unique_id.
2021-11-19 11:43:06 +11:00
Peter van der Burg
2121353602
samd: Add internal flash block device, filesystem and uos support.
2021-11-19 11:42:58 +11:00
Peter van der Burg
4c132614e1
samd/samd_soc: Allow a board to configure the low-level MCU config.
...
The board specific #defines will be moved to individual boards.
2021-11-19 11:42:47 +11:00
Peter van der Burg
cd2223b8fe
samd: Integrate latest asf4, add help, more time funcs and uPy features.
...
- Makefile: update to use new ASF4 files, support frozen manifest, and
include source files in upcoming commits
- boards/manifest.py: add files to freeze
- boards/samd51p19a.ld: add linker script for this MCU
- help.c: add custom help text
- main.c: execute _boot.py, boot.py and main.py on start-up
- modules/_boot.py: startup file to freeze
- modutime.c: add gmtime, localtime, mktime, time functions
- mpconfigport.h: enabled more features for sys and io and modules
- mphalport.h: add mp_hal_pin_xxx macros
- mphalport.c: add mp_hal_stdio_poll
2021-11-19 11:05:05 +11:00
Jeff Epler
932131b4ff
Merge pull request #5596 from kamtom480/camera_fix
...
camera: Update camera_make_new arguments
2021-11-18 09:06:50 -05:00
microDev
4fefb71b9f
Merge pull request #5599 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2021-11-18 14:31:18 +05:30
Aivar Annamaa
146e8830f9
Don't run main script when soft-rebooting in raw mode
2021-11-18 10:21:51 +02:00
Damien George
f27be2d78a
lib/asf4: Point submodule to latest commit on circuitpython branch.
2021-11-18 12:44:30 +11:00
stijn
5900257dd6
extmod/uplatform: Use generic custom platform string.
...
Don't force the 'HAL' string to be part of the platform string because
it doesn't have a sensible meaning for all possible platforms, and
swap it with the PLATFORM_ARCH string so the strings which most platforms
have come first.
2021-11-18 10:46:14 +11:00
stijn
1e5875557a
extmod/uplatform: Remove unused definitions.
2021-11-18 10:46:14 +11:00
Hosted Weblate
9dff70adb2
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-11-17 19:26:47 +01:00
Hosted Weblate
6296a73aa9
Merge remote-tracking branch 'origin/main'
2021-11-17 19:26:45 +01:00
Clay
a51bfdf88a
Translated using Weblate (Russian)
...
Currently translated at 31.7% (326 of 1026 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ru/
2021-11-17 19:26:44 +01:00
Wellington Terumi Uemura
3871926e44
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1026 of 1026 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-11-17 19:26:42 +01:00
Scott Shawcroft
3b7d2f1dc3
Merge pull request #5593 from anecdata/ap_extras
...
Set AP MAC address
2021-11-17 10:26:36 -08:00
Nathan Young
0ff3c0dac0
Board definition for SparkFun Thing Plus - STM32
2021-11-17 19:18:28 +01:00
Kamil Tomaszewski
00426dc232
camera: Update camera_make_new arguments
2021-11-17 16:42:47 +01:00
retsyo
e5f9e2febc
windows/mpconfigport.h: Enable help and help("modules").
...
Following a similar change to the unix port in
6430cd3e02d4ec4a8fc949754b434f745b1973e6
2021-11-17 14:52:39 +11:00
Matt van de Werken
a4c0f52714
stm32/led: Support an extra 2 LEDs in board configuration.
...
Although the pyboard has only 4 LEDs, there are some boards that (may) have
more. This commit adds 2 more LEDs to the led.c file that if defined in
the board-specific config file will be compiled in.
2021-11-17 14:46:58 +11:00
Sebastian Wicki
8f3510799d
docs/library/framebuf.rst: Adjust dimensions in example.
...
This commit swaps the dimensions of the `framebuffer.FrameBuffer` in the
docs example from 10x100 to 100x10 pixels to avoid clipping.
This is done to better fit the subsequent example code, which writes
text of size 96x8 followed by a 96x1 horizontal line.
The y coordinate of the horizontal line is also adjusted such that it is
drawn inside of the new canvas bounds.
2021-11-17 14:36:33 +11:00
Pooya Moradi
95ccd9a005
nrf/Makefile: Improve Black Magic Probe commands.
...
Used batch mode to get rid of the confirmation prompt on flashing.
Used 'compare-sections' to verify flash.
Removed the unnecessary `quit` at the end.
2021-11-17 14:32:02 +11:00
jc_.kim
19f09414a6
tests/micropython/const.py: Add comment about required config for test.
...
Expected result of const.py will be matched only when MICROPY_COMP_CONST is
enabled. For easy understanding, added description at the first of the
test code.
2021-11-17 14:28:20 +11:00
Damien George
43d08688c3
extmod/uasyncio: Fix gather returning exceptions from a cancelled task.
...
Fixes issue #5882 .
2021-11-17 14:11:31 +11:00
Alexey 'alexxy' Shvetsov
5cf71b5596
shared/libc/string0: Don't include string.h, and provide __memcpy_chk.
...
Some toolchains will have string.h defining various macros which can lead
to compile errors for string function implementations. Not including
string.h fixes this.
An implementation of __memcpy_chk is provided for toolchains that enable
_FORTIFY_SOURCE.
Fixes issue #6046 .
Signed-off-by: Alexey 'alexxy' Shvetsov <alexxyum@gmail.com>
2021-11-17 13:58:07 +11:00
Henk Vergonet
d11ff0499f
unix/modos: Add support for uos.urandom(n).
...
Use getrandom function if available, otherwise read from /dev/urandom.
Signed-off-by: Henk.Vergonet@gmail.com
2021-11-17 12:59:38 +11:00
Kattni
a4be846d67
Merge pull request #5587 from dhalbert/update-frozen-libs-2021-11
...
update frozen libraries, especially adafruit_hid
2021-11-16 19:23:58 -05:00
Dan Halbert
e77de3c73e
Merge pull request #5595 from adafruit/anecdata-patch-1
...
INVERT the sense of the I2C_POWER pin (active low)
2021-11-16 19:20:50 -05:00
robert-hh
5ed7a748f0
rp2/boards: Add neopixel.py to manifest.py.
...
Because machine.bitstream is now implemented on the rp2 port.
2021-11-17 10:02:32 +11:00
robert-hh
b73d8b045a
rp2/machine_bitstream: Implement the machine.bitstream driver.
...
Timing error is ~20ns at 125MHz, and ~10ns at 250MHz.
2021-11-17 10:01:15 +11:00
Pierre Constantineau
da1ce6e80b
Merge branch 'adafruit:main' into board-pykey87
2021-11-16 15:53:42 -06:00
anecdata
c2a5ca2fa2
INVERT the sense of the I2C_POWER pin (active low)
...
I don't have the board to test, but this was reported and discussed on Discord.
2021-11-16 14:47:53 -06:00
Dan Halbert
c8b7206248
Merge pull request #5592 from dhalbert/add-ru-builds
...
add ru to language_allow_list
2021-11-16 13:34:31 -05:00
anecdata
193e936807
like #5571 , but for AP
2021-11-16 12:21:50 -06:00
Dan Halbert
98bd5dc204
add ru to language_allow_list
2021-11-16 10:45:28 -05:00
Dan Halbert
93e5f3ed10
Merge pull request #5591 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2021-11-16 10:44:32 -05:00
Hosted Weblate
29615c0248
Merge remote-tracking branch 'origin/main'
2021-11-16 14:32:16 +01:00
Clay
e39c874db4
Translated using Weblate (Russian)
...
Currently translated at 10.8% (111 of 1026 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ru/
2021-11-16 14:32:16 +01:00
Jonny Bergdahl
295ba8c48e
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1026 of 1026 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-11-16 14:32:15 +01:00
Dan Halbert
582a923ec9
Merge pull request #5579 from jepler/fix-optimization-same54
...
same54: Use the same optimization as other sam d5x/e5x
2021-11-16 08:32:08 -05:00
robert-hh
7d7d29dbe2
mimxrt: Fix mp_hal_quiet_timing_enter()/exit() so timer still runs.
...
The initial code disabled IRQs, which caused the us-ticks timer to stop.
The change here changes the priotity level, such that the timer still runs.
2021-11-16 23:20:06 +11:00