Commit Graph

26054 Commits

Author SHA1 Message Date
Scott Shawcroft
8258f51132
Merge pull request #5061 from evildave666/blackpill-remove-nvm
remove unused nvm reserved space from stm32f411ce_blackpill_with_flash
2021-07-26 14:13:29 -07:00
microDev
a5d700392e
Merge pull request #5065 from jepler/remote-settings-txt
Remove settings.py/txt as alternatives for boot.py
2021-07-27 00:39:26 +05:30
Jeff Epler
4e786494dd Remove settings.py/txt as alternatives for boot.py
Closes: #5064
2021-07-26 13:04:41 -05:00
Jeff Epler
b9fa06cf6b
Merge pull request #5056 from cdwilson/cdwilson/circuitpython/fix-feather-stm32f405-express-can-pins
Fix CAN pin assignment on Feather STM32F405 Express board.
2021-07-26 09:00:11 -05:00
evildave666
f059bab253 Modify mpconfigboard.mk to point to the new linker file and re-include modules 2021-07-26 14:13:41 +09:00
evildave666
57c6279b40 Added new linker file 2021-07-26 13:59:25 +09:00
Matúš Olekšák
0f0006f4e1 stm32/boards/STM32F429DISC: Set correct UART2 pins and add UART3/6. 2021-07-26 14:38:39 +10:00
Damien George
aa0cf873bf stm32/uart: Support low baudrates on LPUART1.
By selecting a larger prescaler when needed.

Signed-off-by: Damien George <damien@micropython.org>
2021-07-26 13:53:50 +10:00
Damien George
fef2114404 stm32/uart: Fix LPUART1 baudrate set/get.
It needs to use a different function because the formula to compute the
baudrate on LPUART1 is different to a normal UART.

Fixes issue #7466.

Signed-off-by: Damien George <damien@micropython.org>
2021-07-26 13:53:50 +10:00
Limor "Ladyada" Fried
a9735fbe7c
Merge pull request #5058 from ladyada/main
can we add busdevice and have room?
2021-07-25 16:29:05 -04:00
lady ada
f3a286a7ea can we add busdevice and have room? 2021-07-25 14:45:35 -04:00
robert-hh
ee49ae8f82 rp2/machine_uart: Fix read when FIFO has chars but ringbuf doesn't.
Prior to this fix, if the UART hardware FIFO had a few chars but still
below the FIFO trigger threshold, and the ringbuf was empty, the read
function would timeout if timeout==0 (the default timeout).

This fix follows the suggestion of @iabdalkader.
2021-07-25 17:48:50 +10:00
iabdalkader
2e62e13455 rp2/machine_uart: Fix poll ioctl to also check hardware FIFO.
The RX IRQ does not trigger if the FIFO is less than the trigger level, in
which case characters may be available in the FIFO, yet not in the ringbuf,
and the ioctl returns false.
2021-07-25 17:11:03 +10:00
Chris Wilson
49dc5805ee Fix CAN pin assignment on Feather STM32F405 Express board. 2021-07-24 22:01:50 -07:00
Jeff Epler
0a3c75c43d
Merge pull request #5055 from todbot/main
Add alternative IS25LP128F flash chip to Arduino Nano RP2040 Connect
2021-07-24 20:16:57 -05:00
Tod Kurt
0d401e7bc8 fix whitespace on new flash chip for Arduino Nano RP2040 2021-07-24 13:22:02 -07:00
Tod Kurt
dcd5b5ab50 added Arduino Nano RP2040 Connect alternate flash chip 2021-07-24 13:12:44 -07:00
Limor "Ladyada" Fried
3b98d8269e
Merge pull request #5053 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-07-24 15:53:43 -04:00
Jeff Epler
f2b9e98a21 docs: Add list of supported board to module page 2021-07-24 14:11:04 -05:00
Hosted Weblate
5908c56b0e
Merge remote-tracking branch 'origin/main' into main 2021-07-24 18:56:16 +02:00
Jeff Epler
fa906357fa
Merge pull request #5052 from tannewt/playground_status
Support multiple status neopixels
2021-07-24 11:56:08 -05:00
Jonny Bergdahl
df9be614ea
Translated using Weblate (Swedish)
Currently translated at 100.0% (1012 of 1012 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-07-24 17:35:48 +02:00
Wellington Terumi Uemura
0808ce3224
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1012 of 1012 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-07-24 17:35:47 +02:00
Scott Shawcroft
e7fe0d9a71
Fix single neopixel status boards 2021-07-23 15:42:06 -07:00
Scott Shawcroft
70cbb4eddb
Support multiple status neopixels
Use the 10 neopixels on the playgrounds for status.

Fixes #5039
2021-07-23 15:17:09 -07:00
Scott Shawcroft
5fbe6d4805
Merge pull request #5050 from cwalther/getprevtraceback-cleanup
Remove addressed TODO comments
2021-07-23 14:13:27 -07:00
Christian Walther
0bdff4fd5f Remove addressed TODO comments 2021-07-23 21:00:00 +02:00
Scott Shawcroft
108a9f2901
Merge pull request #5046 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-07-23 11:19:37 -07:00
Hosted Weblate
c402c1efb0
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-07-23 14:45:52 +02:00
Hosted Weblate
b01764e33c
Merge remote-tracking branch 'origin/main' into main 2021-07-23 14:45:50 +02:00
Wellington Terumi Uemura
8aed927fea
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1012 of 1012 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-07-23 14:45:50 +02:00
microDev
c9ac8e77e8
Merge pull request #5042 from NathanY3G/add-support-for-jmp-pin
Added support for specifying the JMP pin (RP2 PIO)
2021-07-23 18:15:43 +05:30
Chris Wilson
aecb697c72 stm32/boards: Add support for SparkFun STM32 MicroMod Processor board.
Signed-off-by: Chris Wilson <christopher.david.wilson@gmail.com>
2021-07-23 22:03:16 +10:00
Jim Mussared
341158c251 extmod/nimble: Add "memory stalling" mechanism for l2cap_send.
When l2cap_send detects that the sys mempool is running low (used to store
the outgoing HCI payloads), it will report stalled back to the application,
and then only unstall once these HCI payloads have been sent.

This prevents a situation where a remote receiver with very large MTU can
cause NimBLE to queue up more than MYNEWT_VAL_MSYS_1_BLOCK_COUNT (i.e. 12)
payloads, causing further attempts to send to fail with ENOMEM (even though
the channel is not stalled and we have room in the channel mbufs). The
regular credit/stall flow control is not effective here because the
receiver's MTU is large enough that it will not activate (i.e. there are
lots of credits available).

Thresholds of 1/2 (stall) and 1/4 (unstall) chosen to allow headroom for
other payloads (e.g. notifications) and that when a regular stall occurs it
might keep sending (and creating more payloads) in the background.
2021-07-23 21:58:10 +10:00
Jim Mussared
edfb5d56c8 extmod/nimble: Allow modbluetooth binding to hook "sent HCI packet". 2021-07-23 21:58:04 +10:00
Jim Mussared
53dfb279da extmod/modbluetooth: Clamp MTU values to 32->UINT16_MAX. 2021-07-23 21:57:58 +10:00
Nathan Young
3b7cf7d3bb Updated translation for jmp_pin exception 2021-07-23 13:40:34 +02:00
Nathan Young
04ce6a6e8c Check jmp_pin specified when JMP PIN opcodes used 2021-07-23 13:35:20 +02:00
microDev
e790ff7327
Merge pull request #5036 from tannewt/esp_oserror0
Remove OSError(0) and old network modules
2021-07-23 11:00:56 +05:30
microDev
295f63ddd6
Merge pull request #5038 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-07-23 09:36:29 +05:30
microDev
79aaa3cc3a
make pre-commit happy
fix formatting
2021-07-23 09:27:54 +05:30
Michel Bouwmans
92464f11b0 tools/mpremote: Raise OSError on unsupported RemoteFile.seek.
Signed-off-by: Michel Bouwmans <m.bouwmans@ep-games.eu>
2021-07-23 13:21:53 +10:00
Michel Bouwmans
7870ec0370 tools/mpremote: Add seek whence for mounted files.
Fixes issue #7534.

Signed-off-by: Michel Bouwmans <m.bouwmans@ep-games.eu>
2021-07-23 13:21:42 +10:00
Jim Mussared
4e39ff221a py/runtime: Fix bool unary op for subclasses of native types.
Previously a subclass of a type that didn't implement unary_op, or didn't
handle MP_UNARY_OP_BOOL, would raise TypeError on bool conversion.

Fixes #5677.
2021-07-23 12:40:00 +10:00
Damien George
14b853eae0 minimal/Makefile: Add support for building with user C modules.
Fixes issue #5750.

Signed-off-by: Damien George <damien@micropython.org>
2021-07-23 12:02:03 +10:00
Hosted Weblate
48a2db31bd
Merge remote-tracking branch 'origin/main' into main 2021-07-23 02:00:18 +02:00
Scott Shawcroft
beda1f7998
Merge pull request #5037 from hierophect/getprevtraceback
Add supervisor.get_previous_traceback() function.
2021-07-22 17:00:14 -07:00
Hosted Weblate
63e88e7f77
Merge remote-tracking branch 'origin/main' into main 2021-07-23 01:56:21 +02:00
Scott Shawcroft
779b5c1850
Merge pull request #5040 from lesamouraipourpre/max-size
Remove the max_size parameter from displayio.Group
2021-07-22 16:56:14 -07:00
Hosted Weblate
da44a6b091
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-07-23 01:51:45 +02:00