iabdalkader
3745c393c8
rp2: Add support for Nina-W10 WiFi/BT module.
...
This commit integrates the Nina-W10 driver as an optional component in the
rp2 port.
2021-11-13 23:01:37 +11:00
iabdalkader
43079aaf86
drivers/ninaw10: Add ublox Nina-W10 WiFi/BT module driver.
...
- Add WiFi/BT drivers for ublox Nina-W10 (esp32 based) module.
- Add ublox Nina-W10 Python module in extmod.
2021-11-13 23:01:03 +11:00
Jeff Epler
59cb8e91b2
mimxrt1011: enable -Werror=missing-prototypes
2021-11-12 19:30:47 -06:00
Jeff Epler
535f4b3c54
mimxrt10xx: enable Werror
2021-11-12 19:30:43 -06:00
Mike Teachman
b6dbbbe82f
rp2/machine_i2s: Add I2S protocol support.
...
This commit adds I2S protocol support for the rp2 port:
- I2S API is consistent with STM32 and ESP32 ports
- I2S configurations supported:
- master transmit and master receive
- 16-bit and 32-bit sample sizes
- mono and stereo formats
- sampling frequency
- 3 modes of operation:
- blocking
- non-blocking with callback
- uasyncio
- internal ring buffer size can be tuned
- DMA IRQs are managed on an I2S object basis, allowing other
RP2 entities to use DMA IRQs when I2S is not being used
- MicroPython documentation
- tested on Raspberry Pi Pico development board
- build metric changes for this commit: text(+4552), data(0), bss(+8)
Signed-off-by: Mike Teachman <mike.teachman@gmail.com>
2021-11-13 12:27:42 +11:00
MikeTeachman
6d5296e65e
stm32,esp32: In machine_i2s, make object reference arrays root pointers.
...
This change eliminates the risk of the IRQ callback accessing invalid data.
Discussed here:
https://github.com/micropython/micropython/pull/7183#discussion_r660209875
Signed-off-by: Mike Teachman <mike.teachman@gmail.com>
2021-11-13 12:22:42 +11:00
Jeff Epler
ac978969f7
litex: Enable -Werror=missing-prototypes
2021-11-12 19:13:51 -06:00
Jeff Epler
1039e1116b
same54: Use the same optimization as other sam d5x/e5x
...
It's likely that this is a relic of my early testing.
2021-11-12 18:54:56 -06:00
Jeff Epler
edac675c48
rainbowio: optimize for code size
...
.. this saves 76 bytes on trinket_m0
2021-11-12 17:31:22 -06:00
Jeff Epler
9646d3f963
rainbowio: No need for the ternary here
...
.. mp_obj_get_float handles the case where the arg is an int already.
This saves 12 bytes of code size on trinket_m0.
2021-11-12 17:31:15 -06:00
Jeff Epler
d4dd06904a
add a test of rainbows
2021-11-12 17:31:14 -06:00
Jeff Epler
1cea871c70
enable rainbowio on unix coverage port
2021-11-12 17:31:14 -06:00
Jeff Epler
010a822b8c
tests: run circuitpython tests during make test
...
.. there are none that aren't skipped now, but it'll change
2021-11-12 17:31:14 -06:00
Jeff Epler
1c73e2e466
tests: Remove a non-useful test
2021-11-12 17:31:13 -06:00
Jeff Epler
c91901dc37
rainbowio: Fix some things the unix build errors about
2021-11-12 17:31:13 -06:00
Jeff Epler
dfef5014ed
enable rainbowio with newly free space
2021-11-12 17:31:12 -06:00
Jeff Epler
12c95ee9e9
oofatfs: Allow fat32 mkfs to be compiled out
...
Saves 508 bytes
2021-11-12 17:31:12 -06:00
anecdata
31d45a3f32
fix old bug that was masking new bug
2021-11-12 16:27:13 -06:00
Dan Halbert
b9ecb0fdb4
Merge pull request #5575 from jepler/bitmaptools-on-host
...
Enable bitmaptools on the 'unix' build, 'coverage' variant
2021-11-12 16:16:53 -05:00
Dan Halbert
28b5733bd8
Merge pull request #5576 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2021-11-12 15:33:53 -05:00
Jeff Epler
06bb6ea5a2
use MP_OBJ_NULL in preference to 0
2021-11-12 13:21:53 -06:00
Jeff Epler
6afe732151
changes in ports/unix don't trigger any board builds
2021-11-12 13:09:33 -06:00
River Wang
839db7791f
Translated using Weblate (Chinese (Pinyin))
...
Currently translated at 99.9% (1021 of 1022 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-11-12 19:46:06 +01:00
Paul Leung
8871338f53
Translated using Weblate (Chinese (Pinyin))
...
Currently translated at 99.9% (1021 of 1022 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-11-12 19:46:06 +01:00
Scott Shawcroft
1d76be2dbd
Merge pull request #5574 from microDev1/traceback
...
Fix traceback object init
2021-11-12 09:30:57 -08:00
Scott Shawcroft
6a8c82d542
Merge pull request #5573 from ladyada/main
...
fix speed by not rotating
2021-11-12 09:27:46 -08:00
Jeff Epler
167665f8b7
fix build
2021-11-12 11:03:45 -06:00
Jeff Epler
d55388a17d
Add bitmaptools to unix build
2021-11-12 10:47:18 -06:00
Jeff Epler
c6dbc7df3a
Add displayio bitmaps to unix build
2021-11-12 10:47:17 -06:00
Jeff Epler
a1069ebcc2
check size of integers if possible
2021-11-12 10:45:50 -06:00
microDev
b5dd8891e2
turn off onewireio
on feather_m0_adalogger
2021-11-12 20:02:22 +05:30
microDev
ac1ca57a17
fix traceback object init
2021-11-12 18:37:29 +05:30
MikeTeachman
0be3b91f11
stm32,esp32: In machine_i2s, send null samples in underflow situations.
...
Eliminate noise data from being sent to the I2S peripheral when the
transmitted sample stream is stopped.
Signed-off-by: Mike Teachman <mike.teachman@gmail.com>
2021-11-12 16:50:15 +11:00
Magnus von Wachenfeldt
6d9da27c21
esp32: Support building with latest IDF v5.
...
The latest ESP-IDF v5.0-dev declares MAJOR_VERSION 5 and MINOR_VERSION 0.
timer_ll_set_alarm_enable() is also changed to timer_ll_set_alarm_value().
2021-11-12 16:40:46 +11:00
anecdata
e4f06f69cd
maybe fewer bytes
2021-11-11 23:23:52 -06:00
anecdata
bb8e9ef483
tweak exception messages (re-tested)
2021-11-11 21:54:41 -06:00
lady ada
104af801b7
fix speed by not rotating
2021-11-11 21:39:23 -05:00
anecdata
85301cb0e5
fix typo
2021-11-11 17:26:07 -06:00
anecdata
18f2019300
Set Station MAC address & validate connect SSID len
2021-11-11 17:04:35 -06:00
Limor "Ladyada" Fried
accadf9c25
Merge pull request #5570 from ladyada/main
...
add esp32s2 tft feather rev A
2021-11-11 17:06:34 -05:00
Dan Halbert
27d0f1d419
Merge pull request #5569 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2021-11-11 15:56:58 -05:00
Hosted Weblate
90d5a90567
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-11 19:10:47 +01:00
Hosted Weblate
e471217a00
Merge remote-tracking branch 'origin/main'
2021-11-11 19:10:45 +01:00
Jonny Bergdahl
e8e7e0a66e
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1020 of 1020 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-11-11 19:10:44 +01:00
Scott Shawcroft
c1177662cd
Merge pull request #5537 from microDev1/monitor-mode
...
Add Monitor Mode
2021-11-11 10:10:39 -08:00
Dan Halbert
adac5ee596
Merge pull request #5563 from jepler/enable-error-missing-prototypes
...
Additional missing-prototypes fixes
2021-11-11 11:57:43 -05:00
lady ada
0ba47ed115
comma on
2021-11-11 11:43:44 -05:00
Jeff Epler
a817a6007a
Merge pull request #5564 from dhalbert/asyncio
...
enable running asyncio
2021-11-11 08:49:05 -06:00
Jeff Epler
cd6599ce65
A few more missing-prototypes fixes
2021-11-11 08:42:30 -06:00
Jeff Epler
25ff6b080e
ble_hci: instead of deleting code, disable unused function warnings
2021-11-11 08:39:12 -06:00