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
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
Limor "Ladyada" Fried
6dbeb75a4f
Merge pull request #4880 from jepler/esp32s2-imagecapture
...
Esp32s2: implement ParallelImageCapture
2021-06-19 16:17:56 -04:00
hathach
b3a91220de
fix build with esp32s2
2021-06-19 12:55:54 +07:00
Jeff Epler
e1d7e46e88
fix keyboard interrupt
2021-06-18 11:15:51 -05:00
Mike Causer
ceea6397a3
Change TinyS2 default SPI pins
2021-06-15 01:17:39 +10:00
Jeff Epler
2cbdd18a20
esp32s2: Implement parallel image capture
2021-06-10 11:27:49 -05:00
Jeff Epler
7782bc2e2e
Skeleton implementation, does nothing
2021-06-10 11:15:18 -05:00
Jeff Epler
98f812e0c2
esp32s2: cam.c: Remove GPIO interrupt at deinit
2021-06-10 11:15:18 -05:00
Jeff Epler
929d6dab73
esp32s2: cam.c: work around possible compiler bug
2021-06-10 11:15:18 -05:00
Jeff Epler
8c88ab8142
cam: Use a named constant instead of a number
2021-06-10 11:15:18 -05:00
Jeff Epler
400d1d90c9
cam: Add a way to check if a frame is ready without blocking
2021-06-10 11:15:18 -05:00
Jeff Epler
5d5098152a
cam: Remove support for xclk
...
we do this our own way in CP
2021-06-10 11:15:18 -05:00
Jeff Epler
20098dfdd8
cam: Improve memory allocation
...
* realloc the dma descriptors and buffers, so we can change the image size
* NULL out the camera pointer after deinit, so deinit is idempotent
2021-06-10 11:15:18 -05:00
Jeff Epler
43509495ea
cam: Always work in total pixels, not width x height
2021-06-10 11:15:18 -05:00
Jeff Epler
eaf2def340
esp32s2: fix build errors in cam.c
2021-06-10 11:15:18 -05:00
Jeff Epler
dc6472bb5b
esp32s2: Add "cam" files from esp-dev-kits@282a356
...
.. these files have been re-formatted by our code-formatting
scripts, so their content does NOT match upstream.
2021-06-10 11:15:18 -05:00
Jeff Epler
a0ec95f092
kaluga 1.2: add camera_data_tuple
2021-06-10 11:15:18 -05:00
Jeff Epler
80f909001d
esp32s2: Add support for make monitor
...
`idf.py monitor` connects to the debug UART and shows the messages. In
contrast to a traditional terminal program, it also has the limited
ability to transform hex addresses into file & line number information,
especially for debug builds.
This requires the elf file be copied to a specific place.
2021-06-10 11:15:18 -05:00
Jeff Epler
3e83834621
esp32s2: Add claim_pin_number
...
In ParallelImageCapture we need to grab a group of pins by number
2021-06-10 11:15:10 -05:00
Aditya
3e463ed89e
fix #4810
2021-06-09 17:37:22 +02:00
Jeff Epler
124c7b785a
Add kaluga version 1.3
...
.. this board is nearly the same as the "1.2" version originally
released, but makes a few changes to reduce pin conflicts between the 13-pin
camera header and the bootstrapping pins. "1.3" was introduced in summer
2020-- check the bottom of your board silk to find out whether you have a 1.2
or a 1.3, because it's not clear whether there is remaining 1.2 stock.
Another vexing fact about the 1.3 is that its LCD can have one of two
chipets, and the chipset used is not marked anywhere!
2021-06-08 13:28:48 -05:00
Scott Shawcroft
6ee9acc900
Merge pull request #4755 from jepler/esp32s2-protomatter
...
Esp32s2 protomatter
2021-06-01 13:32:34 -07:00
reppad
61d25f197a
Add requested Espressif PID
2021-05-30 20:18:49 +02:00
reppad
625fa881c6
Add Muselab Nanoesp32_s2 w/Wrover
2021-05-30 16:14:21 +02:00
Jeff Epler
11288c1c28
esp32s2: Add rgbmatrix support
2021-05-26 11:21:59 -05:00
Jeff Epler
4de8fa09ab
esp32s2: peripherals: store address of timer peripheral in its struct
...
.. this is helpful if we need to go down to the esp-idf low level
I/O routines
2021-05-26 11:18:02 -05:00
Jeff Epler
60c9a57815
esp32s2: Add pin_number, reset_pin_number needed by rgbmatrix
2021-05-26 11:18:02 -05:00
Jeff Epler
6750d3feab
esp32s2: Introduce, use NO_PIN
...
GPIO_NUM_NC is -1 so it's equivalent to the existing code.
2021-05-26 11:18:02 -05:00
Dan Halbert
d79d68705b
Merge pull request #4763 from jepler/esp32s2-build-memory-info
...
Add build_memory_info for esp32s2
2021-05-25 13:41:35 -04:00
Jeff Epler
f21eec5fe1
Work for non-psram builds
...
This is more or less a complete re-organization of the code.
* Use the actual byte size of the .bin file as the flash size,
as the algorithm for packing sections into the flash is complicated
* Match each section to a data region & find the high water mark in the
region
* Report on all the RAM regions, separately
Note that elftools is a requirement of esp-idf and so does not need to
be listed in our requirements.txt.
2021-05-25 10:06:31 -05:00
Kevin Matocha
b14d573655
reduce SPI display baudrate from 60 MHz to 5 MHz to reduce display glitch
2021-05-20 21:23:59 -05:00
Scott Shawcroft
561ffec693
Merge remote-tracking branch 'adafruit/main' into simplify_status_led
2021-05-20 13:46:42 -07:00
Scott Shawcroft
5643355e90
Merge remote-tracking branch 'adafruit/main' into simplify_status_led
2021-05-20 08:35:15 -07:00
Scott Shawcroft
499a4388cf
Handle inverted neopixel power
2021-05-19 17:29:02 -07:00
Scott Shawcroft
642fbcf87a
Handle status led power
...
This no longer turns on status LED power before running user code.
Therefore, use of the status LED on some boards will also have to
enable the power.
2021-05-19 10:57:14 -07:00
Lucian Copeland
633d83cc3e
Merge remote-tracking branch 'upstream/main' into sleep-revamp
2021-05-17 18:57:10 -04:00
Scott Shawcroft
689ec86225
Merge pull request #4754 from dhalbert/fix-endpoint-checking
...
Fix endpoint checking; Clean up safe mode printing
2021-05-14 11:25:01 -07:00
Jeff Epler
c931e5deb7
Add build_memory_info for esp32s2
...
This detects an overflowed flash partition, such as
```
1452105 bytes used, -10313 bytes free in flash firmware space out of 1441792 bytes (1408.0kB).
444428 bytes used, 1652724 bytes free in ram for stack and heap out of 2097152 bytes (2048.0kB).
```
on a metro esp32-s2 built with debugging.
2021-05-14 10:39:07 -05:00
Dan Halbert
fa6c06fb38
count in/out endpoints; allow more usb modules on low-endpoint boards
2021-05-13 21:59:02 -04:00