microDev
df13bef3a1
Merge pull request #5220 from tannewt/fix_esp_i2c_display
...
Allocate I2C mutex with IDF
2021-08-25 08:42:11 +05:30
Scott Shawcroft
0552ce2d3b
Allocate I2C mutex with IDF
...
This keeps the mutex info in the same spot in memory. "Statically
allocating it" with CircuitPython meant that the buffer moved when
the I2C object is moved to keep it alive for a display.
Fixes #4962
2021-08-24 16:06:14 -07:00
Scott Shawcroft
f9f3894888
Support multiple status dotstars
...
Only supporting one left a white dotstar stranded.
Fixes #5170
2021-08-24 14:35:11 -07:00
Jeff Epler
379461df7d
Deprecate Display's constructor arg set_vertical_scroll
2021-08-23 09:17:59 -05:00
microDev
f6d1caabc9
Merge pull request #5182 from tannewt/fix_imx
...
Check background pending before sleep
2021-08-21 08:00:10 +05:30
Scott Shawcroft
d2860b58b0
Check background pending before sleep
...
There is a race between when we run background tasks and when we
sleep. If an interrupt happens between the two, then we may delay
executing the background task. On some ports we checked this for
TinyUSB already. On iMX RT, we didn't which caused USB issues.
This PR makes it more generic for all background tasks including
USB.
Fixes #5086 and maybe others.
2021-08-19 12:18:13 -07:00
Jeff Epler
371f166de1
canio: Run background tasks while waiting for message reception
...
Closes : #5004
2021-08-19 13:55:30 -05:00
Dan Halbert
a0c340f727
Update ports/esp32s2/boards/microdev_micro_s2/mpconfigboard.h
...
Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com>
2021-08-17 11:26:43 -04:00
Dan Halbert
064e086570
correct some status LED pin defns per #5161
2021-08-17 09:33:34 -04:00
Seth Kerr
3b491ac0f3
ran pre-commit locally
2021-08-15 14:02:43 -06:00
Seth Kerr
2ebeeb5daf
add ODT PixelWing ESP32S2
2021-08-15 14:02:43 -06:00
codetyphon
fd8fe6f013
Update ports/esp32s2/boards/ai_thinker_esp_12k_nodemcu/mpconfigboard.h
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-08-15 20:39:53 +08:00
codetyphon
7a48fc05b4
fix ai-tinker-esp-12k path
2021-08-15 13:29:42 +08:00
codetyphon
e29346b79a
ai_thinker_esp_12k_nodemcu
2021-08-15 10:18:40 +08:00
codetyphon
8945d17aa2
Update mpconfigboard.mk
2021-08-14 23:32:40 +08:00
codetyphon
c577d3b6a4
add ai_thinker_esp_12k
2021-08-14 20:29:33 +08:00
codetyphon
221d66c603
Create board.c
2021-08-14 20:27:51 +08:00
Dan Halbert
ffb9ecfeca
Merge pull request #5139 from tannewt/onewireio
...
Move OneWire to `onewireio`
2021-08-13 18:10:04 -04:00
Scott Shawcroft
d528386d4e
Merge pull request #5143 from tylercrumpton/add-crumps2
...
Add CrumpS2 ESP32-S2 board
2021-08-13 12:03:42 -07:00
Scott Shawcroft
de796e2304
Move OneWire to `onewireio` from `busio`
...
This will allow finer grained inclusion in 8.0.0
Fixes #5135
2021-08-12 10:47:14 -07:00
Bruce Segal
f35afa8239
Formatting and build.yml
2021-08-11 13:43:08 -07:00
Bruce Segal
4be64cd8a9
Initial MorphESP-240 support
2021-08-11 13:11:17 -07:00
microDev
052c53efc3
Merge pull request #5116 from eddieespinal/atmegazero_esp32s2
...
Fixes the MOSI and MISO pins mapping
2021-08-09 22:45:41 +05:30
Eddie Espinal
6764af182a
Fixes the MOSI and MISO pins. By mistake I added them backward in this mapping
2021-08-09 11:31:20 -04:00
microDev
063e3946d6
Merge pull request #5094 from jepler/quirc
...
Add qrio: Decode QR codes with quirc lib
2021-08-07 09:30:20 +05:30
Jeff Epler
2e8eb43dcc
Use new quirc define for small stacks
...
.. and revert stack enlargement of esp32-s2
2021-08-05 12:52:43 -05:00
anecdata
10f74618cf
Cucumber M, MS, R, and RS boards
2021-08-04 19:09:43 -05:00
Jeff Epler
131dbf1e87
Remove hard-coded disable of USB_HID for kaluga devkits
2021-08-04 18:17:20 -05:00
Jeff Epler
38f392f318
esp32s2: Increase C stack size
...
The QR decoder has a single item that is 8908 bytes big and placed
on the stack. (struct datastream)
Without enlarging the stack, this will reliably crash.
2021-08-03 13:40:27 -05:00
Jeff Epler
dfc992b7be
Make it easier to disable wifi
2021-08-03 13:40:27 -05:00
Tyler Crumpton
5f2cd41bf2
Update PID/VID to real values
2021-07-31 18:05:43 -05:00
Tyler Crumpton
f7727405d3
Add CrumpSpace CrumpS2 board definition
2021-07-31 17:01:48 -05:00
Scott Shawcroft
bfe29786ce
Merge pull request #5074 from tannewt/break_deep_sleep
...
Fix a couple fake sleep bugs on nrf and esp
2021-07-30 09:19:08 -07:00
Scott Shawcroft
bc0f8ac55d
Use all four LEDs for status on MagTag
...
Fixes #5051
2021-07-28 14:17:31 -07:00
Scott Shawcroft
cdf978f3af
Fix a couple fake sleep bugs on nrf and esp
...
On ESP ctrl-c during fake sleep will now stop the sleep. A crash
on real deep sleep is now fixed as well. (Exception string saving
was crashing on reading the deep sleep exception.) Fixes #4010
This also fixes nRF fake sleep after the first time. The internal
variable wasn't being reset early enough. Fixes #4869
2021-07-28 13:27:48 -07:00
Scott Shawcroft
412eb87080
Switch to pin, frequency and duty_cycle PulseOut
...
Passing in a PWMOut still works but is deprecated. It will be
removed in CircuitPython 8.0.0
This also switches STM32 timer indices and channel indices to
0-based in our pin data rather than `- 1` everywhere. The latter is
more bug prone.
Most of the way for #3264
Tested on Metro M0, Metro M4, Feather S2, Feather nRF52840, Feather
STM32F4 and Arduino RP2040.
2021-07-26 18:35:49 -07: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
Scott Shawcroft
beda1f7998
Merge pull request #5037 from hierophect/getprevtraceback
...
Add supervisor.get_previous_traceback() function.
2021-07-22 17:00:14 -07:00
Lucian Copeland
ace04ef600
Formatting fixes
2021-07-22 12:57:10 -04:00
Scott Shawcroft
f84cb94819
Remove OSError(0) and old network modules
...
The newer modules are `socketpool` and `ssl`.
Fixes #3924 , related to #2021 , closes #1880 , closes #2273 , closes #2274
2021-07-21 17:33:40 -07:00
Dan Halbert
5e773b863f
Merge pull request #4793 from kmatch98/funhouse_spi_speed
...
reduce SPI display baudrate from 60 MHz to 5 MHz to eliminate display glitch
2021-07-19 18:24:48 -04:00
microDev
9ac607dffa
update run-mode
...
- add microcontroller.RunMode.UF2
- add UF2, NORMAL and BOOTLOADER run-modes to esp32s2
2021-07-18 00:00:58 +05:30
Lucian Copeland
bd39641f7e
Fix PWM timer leak and varfreq conflicts
2021-07-13 18:05:47 -04:00
microDev
cece6492a5
Merge pull request #4963 from rsbohn/main
...
Enable audiomixer for esp32s2.
2021-07-03 22:48:12 +05:30
Randall Bohn
6bb44674a5
Enable audiomixer for esp32s2.
...
Allows playing sounds via Mixer on I2SOut. Tested on the feathers2.
2021-07-03 04:34:55 -06:00
microDev
a4bd4e916b
esp32s2 - fix spi_never_reset()
2021-07-02 14:40:41 +05:30
Scott Shawcroft
5a4a80336f
Merge pull request #4195 from askpatrickw/update-idf
...
Update esp-idf to v4.3
2021-06-25 11:15:40 -07:00
microDev
e0eecd2f76
update idf to v4.3
...
- update idf submodule to release/v4.3
- finish todo tasks held due to idf@v4.2
- update SPI & I2C to make them v4.3 compatible
2021-06-24 23:14:08 +05:30
Scott Shawcroft
a7e353b80e
Merge pull request #4897 from jepler/merge-1.16
...
Merge 1.16
2021-06-23 10:15:10 -07:00
Dan Halbert
624a53adee
Merge pull request #4900 from hathach/fix-nrf-control-race-condition
...
update tinyusb to fix nrf control race condition
2021-06-21 09:39:43 -04:00