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
1cea871c70
enable rainbowio on unix coverage port
2021-11-12 17:31:14 -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
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
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
microDev
b5dd8891e2
turn off onewireio
on feather_m0_adalogger
2021-11-12 20:02:22 +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
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
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
cd6599ce65
A few more missing-prototypes fixes
2021-11-11 08:42:30 -06:00
lady ada
bcec249091
displaaaaaaaaay
2021-11-10 23:13:22 -05:00
Dan Halbert
f058c5ec8c
fix kicksat-sprite
2021-11-10 23:05:06 -05:00
Jeff Epler
340d6b9213
more missing-prototypes fixes
2021-11-10 21:00:17 -06:00
Dan Halbert
e7d9dc323b
shrink kicksat-sprite, simmel, pyb_nano_v2
2021-11-10 21:12:41 -05:00
ladyada
d30c3ba4c6
nu board w tft
2021-11-10 17:23:29 -05:00
Dan Halbert
58485bc0b1
Switch SAMD51 and SAME51 back to -Os from -O2
...
The SAMx51 builds were getting very close to full on larger translations. This PR
adds 1400 bytes of enabled features, and pushed some over the edge.
2021-11-10 16:00:38 -05:00
Jeff Epler
ebc8359c67
disable missing-prototypes diagnostics in yet another tinyusb file
2021-11-10 12:47:55 -06:00
Jeff Epler
5cba23e04d
More missing-prototypes fixes
2021-11-10 12:22:07 -06:00
Jeff Epler
017b52c455
further raspberrypi fixes
2021-11-10 12:11:06 -06:00
microDev
a62675a81a
fix wifi reset and monitor deinit routine
2021-11-10 23:38:44 +05:30
Jeff Epler
9e799a7c74
-Werror=missing-prototypes for nRF
2021-11-10 11:26:54 -06:00
Jeff Epler
c9475adb00
Enable -Werror=missing-prototypes on espressif port
2021-11-10 11:07:45 -06:00
lady ada
afd035eb56
remove old nopsram version
2021-11-10 12:05:16 -05:00
Jeff Epler
621953c960
Additional missing-prototypes fixes
...
I think this correctly enables missing-prototypes in atmel-samd
and raspberrypi ports.
2021-11-10 10:55:53 -06:00
Dan Halbert
a69496b0e7
Merge pull request #5562 from microDev1/traceback
...
Refactor traceback handling
2021-11-10 11:53:35 -05:00
microDev
53a68f7ce6
turn off onewireio
on arduino_nano_33_iot
2021-11-10 20:25:46 +05:30
Jeff Epler
63fbf98186
Enable -Wmissing-prototypes for atmel-samd
2021-11-09 20:05:00 -06:00
Jeff Epler
20cbd5e635
Disable bitmapio on some boards where it no longer fits
2021-11-08 18:58:33 -06:00
Jeff Epler
cbfa41f238
Merge remote-tracking branch 'origin/main' into dither3
2021-11-08 16:46:36 -06:00
Scott Shawcroft
bb71f8c9b3
Merge pull request #5544 from jepler/alphablend
...
bitmaptools: add alphablend
2021-11-08 10:50:03 -08:00
Jeff Epler
6351de6ad1
espressif: Allow -DENABLE_JTAG=0 to force JTAG off
...
With the Kaluga devkit, the camera interferes with the JTAG function.
However, having DEBUG turned on e.g., to get extended debug information
on the UART debug connection remains useful.
Now, by arranging to add to CFLAGS += -DDEBUG -DENABLE_JTAG=0, this
configuration is easy to achieve.
2021-11-08 10:38:05 -06:00
EmergReanimator
94866fc1e3
Merge branch 'adafruit:main' into stm
2021-11-07 14:19:54 +01:00
EmergReanimator
a0074c36d8
Improved accuracy of common_hal_mcu_delay_us of STM port.
...
SysTick Current Value Register must be cleared before enabling.
2021-11-07 14:19:01 +01:00
Jeff Epler
6790f95953
Fix disabling of FRAMEBUFFERIO on atmel-samd
...
.. this needs to imply the disabling of RGBMATRIX too
2021-11-05 15:19:01 -05:00