Scott Shawcroft
ce1273be7a
Pull Feather S2 TFT LED down on reset
2022-08-09 10:42:56 -07:00
Jeff Epler
c74746f052
Cross references in documentation always help
2022-08-09 12:20:02 -05:00
Dan Halbert
84807cd6eb
Change I2C terminology from "peripheral" to "target"
2022-08-09 13:13:19 -04:00
Scott Shawcroft
d95cfc3abc
Merge pull request #6719 from dhalbert/huzzah32-web-workflow
...
enable web workflow on Feather HUZZAH32
2022-08-09 10:08:39 -07:00
Jeff Epler
5a85b8ab95
improve docstrings based on my best sleuthing
2022-08-09 11:42:19 -05:00
Jeff Epler
ec839d6f90
these items should not have been disabled
2022-08-09 11:42:19 -05:00
Jeff Epler
f87e34b9ed
add shutter button
2022-08-09 11:42:19 -05:00
takayoshiotake
5ce3778d75
Add custom board: Octave RP2040
2022-08-09 22:19:38 +09:00
Dan Halbert
10275001ac
enable web workflow on Feather HUZZAH32
2022-08-09 07:26:18 -04:00
paul
15ad24ba62
ran pre-commit.
2022-08-09 04:32:21 -04:00
Danny Staple
3c1c477c5b
Improve docs for rp2Pio Statemachine frequency
...
This frequency can be set to 0 for the system (133mhz) clock speed.
2022-08-08 22:14:55 +01:00
lady ada
2cd9222e5e
add includes
2022-08-07 14:32:29 -04:00
lady ada
029b6b6fbe
add default display
2022-08-07 14:12:40 -04:00
paul
a6eadd6259
Added Bee Motion S3 board
2022-08-07 11:59:43 -04:00
paul
f39058edc4
Added Bee S3 board
2022-08-06 22:22:20 -04:00
Lee Atkinson
f69939c49c
First Commit for AnalogFastIn
2022-08-06 16:22:50 -04:00
Lee Atkinson
56c44f6265
Merge remote-tracking branch 'origin/main'
2022-08-06 15:53:54 -04:00
Lee Atkinson
552f6af4a1
clean up
2022-08-06 15:50:22 -04:00
Jeff Epler
1a11ff864a
Merge remote-tracking branch 'origin/main' into espressif-camera-2
2022-08-05 21:08:12 -05:00
Jeff Epler
1da8065d6b
Merge remote-tracking branch 'origin/main' into espressif-camera-2
2022-08-05 16:38:51 -05:00
Scott Shawcroft
207311b02a
Merge branch 'main' into title_execution_status
2022-08-05 13:42:58 -07:00
Dan Halbert
8c10e09ba0
Merge pull request #6667 from jepler/esp-reserve-heap-for-idf
...
Add ability to reserve psram
2022-08-05 15:06:44 -04:00
Jeff Epler
3f49d77036
Improve esp32-s3-eye board definition
2022-08-05 13:10:21 -05:00
Scott Shawcroft
e7d72b1ebe
Use libgcc from Arch on SAMD21 (it's smaller.)
...
Fixes #4705
2022-08-04 16:33:41 -07:00
Scott Shawcroft
83cbbc9946
Add BLE status to title bar
2022-08-04 16:33:10 -07:00
Scott Shawcroft
125b276af0
Get CIRCUITPY FATFS directly.
...
Otherwise, you may actually get a non-root filesystem.
Fixes #6575
2022-08-04 16:06:27 -07:00
Jeff Epler
861fa9625d
Add the ESP32-EYE aka ESP-EYE
2022-08-04 15:12:12 -05:00
Jeff Epler
98202c8568
Allow changing camera settings that require reinit
...
These can only be changed in a group, though any items to keep
unchanged can be unspecified or specified as None.
2022-08-04 15:12:11 -05:00
Jeff Epler
428fbcd343
remove debug message during build
2022-08-04 15:12:10 -05:00
Jeff Epler
0e26a937cc
Disable camera everywhere it doesn't fit
2022-08-04 15:12:08 -05:00
Jeff Epler
230532f0eb
one last doc build fix
2022-08-04 15:12:07 -05:00
Jeff Epler
a9d53ad2a6
Fix "check-stubs" problems
2022-08-04 15:12:06 -05:00
Jeff Epler
7cb40c9054
further doc build fixes
2022-08-04 15:12:05 -05:00
Jeff Epler
81fb9a5f20
specify return type for docs
2022-08-04 15:12:04 -05:00
Jeff Epler
8bdbe0355a
Add more getters
2022-08-04 15:12:02 -05:00
Jeff Epler
badcae5ace
Fix docstring errors
2022-08-04 15:12:01 -05:00
Jeff Epler
aead0dfe45
Return a Bitmap from take() when appropriate
2022-08-04 15:12:00 -05:00
Jeff Epler
54fe753602
Enable gifio and qrio when appropriate
2022-08-04 15:11:59 -05:00
Jeff Epler
258f72640a
Implement a pile of getters & setters
2022-08-04 15:11:57 -05:00
Jeff Epler
69949ecb43
update PID for this board
2022-08-04 15:11:56 -05:00
Jeff Epler
d1b89fca91
Reset camera when interpreter is reset
2022-08-04 15:11:55 -05:00
Jeff Epler
f54c7adddc
Must treat NO_PIN cast to uint8_t the same as NO_PIN
...
Otherwise, deinitializing a camera with e.g., the powerdown
pin unspecified results in an assertion failure in a debug build.
2022-08-04 15:11:54 -05:00
Jeff Epler
1d1e139379
fix taking multiple pictures
2022-08-04 15:11:53 -05:00
Jeff Epler
b903a020fd
Enable display on esp32-s3-eye
2022-08-04 15:11:52 -05:00
Jeff Epler
8d673bdbf5
reserve 1MB of PSRAM for camera framebuffer on esp32s3-eye
...
.. this setting can be overridden with a bigger or smaller value in
CIRCUITPY/.env but 1/8 of PSRAM seems like a good initial value. It's
enough to store a single 800x600 or 640x480 RGB565 frame, or multiple
smaller frames such as 320x240.
2022-08-04 15:11:51 -05:00
Jeff Epler
5db6db0128
add esp32-camera
...
This uses the esp32-camera code instead of our own homebrewed camera code.
In theory it supports esp32, esp32-s2 and esp32-s3, as long as they have
PSRAM.
This is very basic and doesn't support changing any camera parameters,
including switching resolution or pixelformat.
This is tested on the Kaluga (ESP32-S2) and ESP32-S3-Eye boards.
First, reserve some PSRAM by putting this line in `CIRCUITPY/_env`:
```
CIRCUITPY_RESERVED_PSRAM=524288
```
and hard-reset the board for it to take effect.
Now, the following script will take a very low-resolution jpeg file and print
it in the REPL in escape coded form:
```python
import board
import esp32_camera
c = esp32_camera.Camera(
data_pins=board.CAMERA_DATA,
external_clock_pin=board.CAMERA_XCLK,
pixel_clock_pin=board.CAMERA_PCLK,
vsync_pin=board.CAMERA_VSYNC,
href_pin=board.CAMERA_HREF,
pixel_format=esp32_camera.PixelFormat.JPEG,
i2c=board.I2C(),
external_clock_frequency=20_000_000)
m = c.take()
if m is not None:
print(bytes(m))
```
Then on desktop open a python repl and run something like
```python
>>> with open("my.jpg", "wb") as f: f.write(<BIG PASTE FROM REPL>)
```
and open my.jpg in a viewer.
2022-08-04 15:11:50 -05:00
Jeff Epler
8e08cc38f8
Add default I2C bus to Kaluga
2022-08-04 15:11:48 -05:00
Scott Shawcroft
e0cb8ef17e
Merge pull request #6694 from dhalbert/esp32-no-psram
...
ESP32 no psram support; other ESP32 cleanup
2022-08-04 11:49:39 -07:00
Scott Shawcroft
3707b54e3b
Merge pull request #6672 from bill88t/main
...
Add Waveshare ESP32-S2-Pico
2022-08-04 11:09:59 -07:00
Dan Halbert
202fac59f8
ESP32 fixes for no PSRAM; some cleanup
2022-08-04 13:44:52 -04:00
Dan Halbert
d4e8c19b49
merge from main
2022-08-04 12:43:23 -04:00
Jeff Epler
82be75adb5
Add ability to reserve psram
...
.. the primary user of which will be the camera, since the framebuffers
must be allocated via esp-idf allocation function and never from the
gc heap.
A board can have a default value, and the value can also be set in the
/.env file using the key CIRCUITPY_RESERVED_PSRAM with the value being
the reserved size in bytes.
Co-authored-by: Dan Halbert <halbert@adafruit.com>
2022-08-03 16:19:40 -05:00
Pontus Oldberg
c884194c92
Fixed incorrect PID.
2022-08-03 08:45:39 +02:00
bill88t
68bb6b9988
ran precommit
2022-08-03 09:14:26 +03:00
Bill Sideris
efa3e40f90
Add the one obtained from esp
2022-08-03 08:48:28 +03:00
Dan Halbert
d3d5e36548
update adafruit/esp-idf for ESP32_ECO3_CACHE_LOCK_FIX fix
2022-08-02 22:37:06 -04:00
Dan Halbert
b027d111a9
remove custom console UART from sdkconfig-esp32.defaults
2022-08-02 22:00:59 -04:00
Dan Halbert
534a482d94
initial HUZZAH32 bring-up, with hacked pins
2022-08-02 21:47:46 -04:00
Dan Halbert
767234e79c
Merge pull request #6688 from tannewt/fix_esp32c3_paste
...
Fix C3 when pasting 128+ characters
2022-08-02 21:35:02 -04:00
Dan Halbert
524cc5e274
Merge pull request #6685 from tannewt/esp32_ww
...
Enable Web Workflow on Feather ESP32 V2
2022-08-02 21:30:23 -04:00
Scott Shawcroft
9de8ae70b6
Fix C3 when pasting 128+ characters
...
The ringbuf used to fill up and the recv interrupt would block CP.
Now it'll disable the interrupt until we have enough room in the
ringbuf.
Fixes #6678
2022-08-02 15:25:19 -07:00
Scott Shawcroft
1c69fe1727
Fix S2/S3 USB
...
The new Kconfig that fixed C3 added a dependency on USB_OTG_SUPPORTED
that is only calculated if we include the usb module in cmake.
Fixes #6679
2022-08-02 14:11:09 -07:00
Scott Shawcroft
74e841d835
Read fuses to know what flash and ram pins to never reset
2022-08-02 12:01:42 -07:00
Pontus Oldberg
dfcbc79cdf
Merge branch 'adafruit:main' into main
2022-08-02 14:07:09 +02:00
Bill Sideris
60429f51c7
Add official vid/pid
2022-08-02 09:43:17 +03:00
Scott Shawcroft
f0c6a8c49a
Odroid pin defs
2022-08-01 15:52:08 -07:00
Scott Shawcroft
9661d3256c
Add more ESP32 boards and enable web workflow
2022-08-01 15:52:08 -07:00
Dan Halbert
9baa2724a7
code formatting suggestion
2022-08-01 00:27:25 -04:00
Pontus Oldberg
03181fe362
Adds support for the Challenger RP2040 SubGHz board.
2022-07-31 10:36:04 +02:00
bill88t
c71cc4e0dd
Add Waveshare ESP32-S2-Pico
2022-07-30 15:35:48 +03:00
Dan Halbert
1348cb435b
Fix SAMD I2C frequency check
2022-07-29 19:07:33 -04:00
Scott Shawcroft
312e298890
Fix other ESP builds and arduino_nano_33_iot
2022-07-29 11:02:35 -07:00
Scott Shawcroft
d6344812e8
Lots of web workflow, C3 and title bar fixes
...
* Fixes #6221 - C3 hang on `import wifi`. Enabling the WiFi PHY was
disabling USB. Now boards that use it set CONFIG_ESP_PHY_ENABLE_USB
explicitly.
* Fixes #6655 - Allows pasting into the web serial page. Fixes reading
more than 0xf bytes at a time.
* Fixes #6653 - Fixes web socket encoding of payloads >125 bytes. Can
happen when printing a long string.
* Fixes C3 responsiveness when waiting for key to enter REPL. (It
now correctly stops sleeping.)
* Disables title bar updates when in raw REPL. Related to #6548 .
* Adds version to title bar.
2022-07-28 16:06:56 -07:00
Dan Halbert
3817d007aa
clean up esp32 sdkconfigs
2022-07-28 17:52:27 -04:00
Scott Shawcroft
c4c15206e7
Merge pull request #6608 from tannewt/web_workflow_port
...
Allow for dynamic reconfigure including port
2022-07-28 12:59:31 -07:00
Dan Halbert
282f8c49a6
Merge pull request #6660 from tannewt/fix_c3_serial_tx
...
Improve USB to Serial/JTAG TX
2022-07-28 14:42:56 -04:00
Scott Shawcroft
cb5fa3eaa6
Merge pull request #6664 from dglaude/patch-1
...
Add board.LED (alias of board.LED_R part of RGB)
2022-07-28 11:26:31 -07:00
Scott Shawcroft
c29fa9012d
Merge pull request #6645 from prplz/seeed_xiao_esp32c3
...
Add board: seeed_xiao_esp32c3
2022-07-28 11:22:43 -07:00
David Glaude
2baf3455bd
Add board.LED (alias of board.LED_R part of RGB)
...
Totally untested change (will try with the artifact), but I think every board should have a board.LED if possible to be able to use the learn guide basic instruction.
2022-07-28 16:46:56 +02:00
Scott Shawcroft
ddeb833a3a
Shrink Feather S3 4mb build with -Os
2022-07-28 07:43:39 -07:00
Michael Himing
555bf7cc12
Add board: seeed_xiao_esp32c3
2022-07-28 22:48:03 +10:00
Scott Shawcroft
bea955222a
Improve USB to Serial/JTAG TX
...
It had a tight 5ms timeout before that caused some characters to
drop. Now the wait is longer and reset after a successful transmit.
This follows what MicroPython does.
Fixes #6220
2022-07-27 12:15:13 -07:00
Scott Shawcroft
ce60beeb25
Merge pull request #6651 from tannewt/refine_select_task
...
Improve web workflow responsiveness
2022-07-27 11:24:51 -07:00
Scott Shawcroft
6463755577
Merge pull request #6648 from pypewpew/stage-png
...
Add PNG image support to the Stage library
2022-07-27 11:02:48 -07:00
Scott Shawcroft
e9e2d8550c
Merge pull request #6657 from nitz/adafruit-magtag-2.9-add-boot0
...
Adds `BOOT0` (`GPIO0`) as a named pin for MagTag.
2022-07-27 11:01:26 -07:00
Chris Dailey
2a9d3c5ed2
Adds BOOT0 (GPIO 0) as a named pin for MagTag.
2022-07-27 08:38:52 -04:00
Arudinne
a55aebc718
Added support for 8MB flash for Challenger 840
2022-07-26 20:34:01 -05:00
Scott Shawcroft
931757f4a9
Improve web workflow responsiveness
...
1. Run the socket select task at the same priority as CP. This is
needed because it queues up the background work. Without it, CP
needed to sleep to let the lower priority task go.
2. Close the active socket on disconnect. This prevents looping
over a disconnected but not closed socket.
Fixes #6610 . Fixes #6613
2022-07-26 15:29:49 -07:00
Radomir Dopieralski
d510e60511
Disable bitmaptools and busdevice on pewpew_m4 to fit ja translation
2022-07-27 00:08:02 +02:00
Neradoc
6e5c818311
fix extensions for atmel and 2 boards, matching main
2022-07-26 18:15:59 +02:00
Neradoc
87e8994c4a
no default extension for ESP, fix duplicate line in rp2
2022-07-26 18:15:59 +02:00
Neradoc
eabe8b971a
list extensions instead of macros names ("bin,uf2" not BIN_UF2)
...
the modules_support_matrix usees a dictionnary per board instead of a list
optionally include the frozen modules URLs in it
2022-07-26 18:15:59 +02:00
Neradoc
d021d9ae4a
Move build extensions to board directories
...
- define CIRCUITPY_BUILD_EXTENSIONS to predefined values
- set CIRCUITPY_BUILD_EXTENSIONS in port and board config
- reuse the support matrix "get_settings_from_makefile" to get it
- move the existing port and board specific values
- remove the C3 specific board values because it's not the default
- update build_release_files.py to use get_settings_from_makefile
2022-07-26 18:15:50 +02:00
Scott Shawcroft
66d5fa9a55
Save space on Feather S3 4mb with -Os
2022-07-25 16:19:52 -07:00
Scott Shawcroft
6d6234443d
Merge remote-tracking branch 'adafruit/main' into web_workflow_port
2022-07-25 15:57:58 -07:00
Scott Shawcroft
acdfda7d0e
Merge pull request #6624 from bwshockley/bwshockley-figpi
...
Add raspberrypi port - figpi
2022-07-25 15:23:52 -07:00
Scott Shawcroft
c90167a9db
Merge pull request #6630 from ViktorWiz/w5500-evb-pico
...
Add WIZNet W5500-EVB-Pico
2022-07-25 15:16:32 -07:00
Scott Shawcroft
47f718aa92
Merge pull request #6615 from askpatrickw/beetle-esp32-c3
...
Beetle esp32 c3
2022-07-25 15:00:05 -07:00
Jeff Epler
955bcee1b3
It's OK for an init program to be zero bytes long
...
Closes #6636
2022-07-23 20:01:31 -05:00
ViktorWiz
ae6c0e347c
Add WIZNet W5500-EVB-Pico
2022-07-22 17:31:58 +09:00
Benjamin Shockley
dc686545c2
Update pins.c
...
Minor whitespace change.
2022-07-20 15:40:43 -05:00
Benjamin Shockley
e9eeaf2096
Update mpconfigboard.h
...
Moved UART to pins 24/25.
2022-07-20 12:35:40 -05:00
Benjamin Shockley
d01b65dd32
Create pins.c
2022-07-20 12:35:08 -05:00
Benjamin Shockley
3861a97f38
Create pico-sdk-configboard.h
2022-07-20 12:18:22 -05:00
Benjamin Shockley
3647cfa424
Create mpconfigboard.mk
2022-07-20 12:17:39 -05:00
Benjamin Shockley
d2865764ca
Create mpconfigboard.h
...
Added file.
2022-07-20 12:12:31 -05:00
Benjamin Shockley
21af8f42cc
Create board.c
2022-07-20 11:11:49 -05:00
Dan Halbert
f2bbe5a6a1
Merge pull request #6614 from litui/litui-espressif-bleiofix
...
Fixed empty characteristic issue with bleio+nimble.
2022-07-20 08:42:31 -04:00
Dan Halbert
e877644012
use -Os on Feather ESP32-S3 TFT to shrink build
2022-07-19 17:45:29 -04:00
Dan Halbert
bb47484cb1
Merge remote-tracking branch 'adafruit/main' into from_bytes-check-parameters
2022-07-19 17:18:26 -04:00
Dan Halbert
1cdf325c96
shrink Feather ESP32S3 TFT
2022-07-19 16:35:23 -04:00
Dan Halbert
51f2253cef
no Russian font for SAMD21; adjust unix build warnings
2022-07-19 14:07:18 -04:00
Patrick
1e99d68af7
Add Creator ID
2022-07-17 12:38:27 -07:00
Patrick
71c22232f0
board config compelted
2022-07-17 11:48:45 -07:00
Aria Burrell
868a03ff57
Fixed empty characteristic issue with bleio+nimble.
...
- Based on espressif/nimble's blecent example code. Confirms that the characteristic is not empty before trying to catalogue its descriptors.
- Running ble_gattc_disc_all_dscs on empty (no length) characteristics fails with the (not-very-informative) BLE_HS_EINVAL error if this check is not performed.
2022-07-17 04:50:50 -06:00
Scott Shawcroft
78b4159448
Allow for dynamic reconfigure including port
2022-07-15 16:33:12 -07:00
Jeff Epler
4e6fa55cba
Merge pull request #6591 from tannewt/web_workflow_ticks
...
Add socket select task to wake CP
2022-07-15 18:30:43 -05:00
Scott Shawcroft
c2a8ef752c
Remove ps2io to make space
2022-07-15 14:01:50 -07:00
Scott Shawcroft
6e7fdcc24b
Add wait for MDNS hostname to be set
2022-07-15 13:48:19 -07:00
Scott Shawcroft
145cce93da
Merge pull request #6596 from Neradoc/ble-name-in-dotenv
...
Setup default BLE name in dotenv
2022-07-14 15:46:28 -07:00
Jeff Epler
dcc27a8c88
Need to ensure wifi radio is set enabled again on esp32
...
.. otherwise, nothing set it enabled on the second soft reboot.
2022-07-14 15:09:26 -05:00
Jeff Epler
72f5537027
esp32: don't fully reset the wifi device
...
.. this makes reconnecting without a full reset not work.
Because this works on other generations of the esp32 (c2, c3, etc),
apply this behavior only to esp32.
After this change, it's possible to connect multiple times to wifi in
different runs of code.py or the repl after soft rebooting.
2022-07-14 15:01:15 -05:00
Neradoc
5ca6d8953d
use available constants instead of testing errors for length
2022-07-14 11:55:53 +02:00
Neradoc
50a9beda04
Retrieve the BLE name from dotenv if available
...
Format:
CIRCUITPY_BLE_NAME = My BLE Board
- the length is limited to 31 characters
- for the NRF version it repeatedly truncates the name if it's too long
- the ESP version defaults to "nimble" if the name is too long
2022-07-14 11:55:53 +02:00
Scott Shawcroft
e9dd254127
Add socket select task to wake CP
...
This fixes the web workflow on boards without a display.
Fixes #6552
2022-07-13 17:35:35 -07:00
Scott Shawcroft
ac460dd1e1
Merge branch 'main' into esp32
2022-07-13 15:30:53 -07:00
Scott Shawcroft
2f9de1cb07
Merge pull request #6584 from tannewt/websocket_serial
...
Add WebSocket at /cp/serial/
2022-07-13 14:15:49 -07:00
Jeff Epler
09b754ffa0
espressif: Set heap size automatically, like micropython
...
rather than setting the heap size statically, micropython allocates
the biggest contiguous chunk possible, but in no event more than half the
total internal sram. On esp32 this gives 123728 bytes of `gc.mem_free`
in the repl.
2022-07-13 14:00:59 -05:00
Jeff Epler
09d1c846c4
Set heap size to 0 when heap allocation fails
2022-07-13 13:53:22 -05:00
Jeff Epler
c1b6c367ff
esp32 can allocate 88kB successfully
2022-07-13 13:53:08 -05:00
Jeff Epler
13be10ef14
rename function to avoid confusion
2022-07-13 13:28:51 -05:00
Jeff Epler
5c6ee20ca5
on esp32 need to initialize nvs before starting wifi
...
Also, change error handling so that the esp-idf error number
is shown in the traceback in the case of an error.
This allows scanning & connecting to work. I didn't try requests yet.
2022-07-13 11:57:38 -05:00
Jeff Epler
f620c2901c
Set a small but working heap size for esp32 without psram
2022-07-13 11:10:00 -05:00
Jeff Epler
ea52ca66dc
Disable SPIRAM bankswitch on esp32
...
We don't use this facility, which was reserving the last 256kiB of
psram.
2022-07-13 10:56:58 -05:00
Jeff Epler
953f44b46e
Fix spiram limit calculation on esp32
...
esp32 places the psram start at SOC_EXTRAM_DATA_LOW and it can extend
up to SOC_EXTRAM_DATA_SIZE. This is different than esp32-s2 and later,
which place the end at EXTRAM_DATA_HIGH and the limitation of
SOC_EXTRAM_DATA_SIZE was not previously identified as important.
Additionally, the esp32 has a reserved area within himem which was
not being accounted for.
With this change, the Feather ESP32 V2 feather can be used via thonny,
and the other "quick memory corruption tests" I was performing
also all succeed instead of failing.
Before this change, the incorrect address being used for spiram was
0x3fa00000..0x3fc00000 (2MiB). Now, it's 0x3f800000..0x3f9c0000 (1.75MiB)
due to the reserved area and the changed start address.
This is intended to be a no-effect change for other espressif chips besides
original esp32.
2022-07-13 10:52:15 -05:00
Jeff Epler
afbaa2eb6c
decode_backtrace: Show even more information
...
addr2line can show information about how functions were inlined,
including function names
Typical new output:
```
0x400dec57: mp_obj_get_type at /home/jepler/src/circuitpython/ports/espressif/../../py/obj.c:68
(inlined by) mp_obj_print_helper at /home/jepler/src/circuitpython/ports/espressif/../../py/obj.c:133
(inlined by) mp_obj_print_helper at /home/jepler/src/circuitpython/ports/espressif/../../py/obj.c:114
0x400e1a25: fun_builtin_1_call at /home/jepler/src/circuitpython/ports/espressif/../../py/objfun.c:75
0x400dd016: mp_call_function_n_kw at /home/jepler/src/circuitpython/ports/espressif/../../py/runtime.c:665
0x400eac99: mp_execute_bytecode at /home/jepler/src/circuitpython/ports/espressif/../../py/vm.c:936
0x400e1ae9: fun_bc_call at /home/jepler/src/circuitpython/ports/espressif/../../py/objfun.c:297 (discriminator 4)
0x400dd016: mp_call_function_n_kw at /home/jepler/src/circuitpython/ports/espressif/../../py/runtime.c:665
0x400dd03a: mp_call_function_0 at /home/jepler/src/circuitpython/ports/espressif/../../py/runtime.c:638
0x40117c03: parse_compile_execute at /home/jepler/src/circuitpython/ports/espressif/../../shared/runtime/pyexec.c:146
0x4011800d: pyexec_friendly_repl at /home/jepler/src/circuitpython/ports/espressif/../../shared/runtime/pyexec.c:734
0x400eeded: run_repl at /home/jepler/src/circuitpython/ports/espressif/../../main.c:823
(inlined by) main at /home/jepler/src/circuitpython/ports/espressif/../../main.c:922
0x400ef5e3: app_main at /home/jepler/src/circuitpython/ports/espressif/supervisor/port.c:410
0x401bb461: main_task at /home/jepler/src/circuitpython/ports/espressif/build-adafruit_feather_esp32_v2/esp-idf/../../esp-idf/components/freertos/port/port_common.c:141
```
2022-07-12 16:28:33 -05:00
Scott Shawcroft
9d5b04ebc4
Merge pull request #6577 from NathanY3G/uf2-family-id-for-stm32f405
...
stm: Make family IDs consistent with TinyUF2
2022-07-12 13:38:40 -07:00
Scott Shawcroft
23bbb19138
Merge remote-tracking branch 'adafruit/main' into websocket_serial
2022-07-12 13:15:38 -07:00
Scott Shawcroft
d9f6e99942
Fix RP2040 UART
...
It couldn't receive more than 32 bytes in while checking in_waiting
because in_waiting didn't turn interrupts back on correctly.
Fixes #6579
2022-07-11 13:36:44 -07:00
Scott Shawcroft
d8447de0b0
Merge pull request #6578 from xuhow/picoed_led_status
...
Picoed led status
2022-07-11 13:23:02 -07:00
Scott Shawcroft
c56f363a23
Merge pull request #6572 from todbot/wifi-tx-power-float
...
Fix #6559
2022-07-11 13:08:11 -07:00
Scott Shawcroft
e7703e89c9
Merge pull request #6567 from jepler/update-ulab-509
...
update ulab to 5.0.9
2022-07-11 13:05:41 -07:00
Melissa LeBlanc-Williams
08b4a64bd2
Update the PID
2022-07-11 08:39:10 -07:00
Xu Hao
be3482ff05
Set MICROPY_HW_LED_STATUS pin to the elecfreaks_picoed
2022-07-11 16:51:06 +08:00
Nathan Young
f22f4f896a
stm: Make family IDs consistent with TinyUF2
...
This should allow UF2 images for STM32F405 boards to be flashed by
TinyUF2.
2022-07-10 21:34:07 +02:00
Tod Kurt
a658007673
Update ports/espressif/common-hal/wifi/Radio.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-07-09 22:17:26 -07:00
Tod Kurt
22e061ba35
Update ports/espressif/common-hal/wifi/Radio.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-07-09 22:17:18 -07:00
Tod Kurt
98692150ac
Update ports/espressif/common-hal/wifi/Radio.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-07-09 22:17:12 -07:00
Tod Kurt
f464ec3047
Update ports/espressif/common-hal/wifi/Radio.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-07-09 22:17:02 -07:00
Dan Halbert
9d77a36fbf
update samd-peripherals submodule
2022-07-08 22:47:36 -04:00
Melissa LeBlanc-Williams
bc14b7ad47
Fix the display on the esp box lite
2022-07-08 15:40:59 -07:00
Dan Halbert
2c7ad7a39f
make translate and pre-commit formatting fixes
2022-07-08 16:53:53 -04:00
Melissa LeBlanc-Williams
3c093713dc
Merge branch 'esp_box_lite' of https://github.com/tannewt/circuitpython into esp_box_lite
2022-07-08 13:46:14 -07:00
Dan Halbert
c316b950c7
merge from adafruit/main
2022-07-08 15:42:19 -04:00
Dan Halbert
d869b441f4
further ESP32 sdkconfig fixes; add CIRCUITPY_STATUS_BAR
2022-07-08 15:27:00 -04:00
Dan Halbert
76e32dcf93
remove need for CIRCUITPY_ESP_PSRAM
2022-07-08 14:54:55 -04:00
Dan Halbert
afbf4de071
Uncomment or remove debugging changes
2022-07-08 12:53:25 -04:00
Dan Halbert
c3cd32e773
CPU freq to 240 MHz, redo sdkconfigs
2022-07-08 10:50:00 -04:00
Dan Halbert
75208573f4
tweak sdkconfig; add temp logging to mp_make_function_from_raw_code
2022-07-08 09:53:29 -04:00
Tod Kurt
d3e1d1b104
Fix #6559
2022-07-07 19:42:11 -07:00
Jeff Epler
ab3e786611
disable additional module on matrixportal_m4
2022-07-07 20:00:12 -05:00
Jeff Epler
c4dfd8e30a
Fix default BOARD setting & messages
...
It's important that these lines NOT be indented with tabs, because
that provokes Make to say that commands appear before a target.
2022-07-07 17:17:15 -05:00
Jeff Epler
601eb91b89
Disable gifio on matrixportal to reclaim flash space
2022-07-07 17:00:00 -05:00
Dan Halbert
4e88d795e1
Thonny causing crash emitglue.c:199:
2022-07-06 23:01:19 -04:00
Dan Halbert
4c20b3cb63
Merge pull request #6564 from adafruit/7.3.x
...
7.3.x
2022-07-06 15:25:24 -04:00
Scott Shawcroft
d83720f659
Tweak display init
2022-07-05 17:02:52 -07:00
Scott Shawcroft
cd77517b2f
Add build for ESP32-S3 Box Lite
2022-07-05 16:35:42 -07:00
Scott Shawcroft
18d7165e0f
Merge pull request #6550 from crackmonkey/rp2040-wait-pin-bounds
...
issue adafruit#6538 loose bounds checking on WAIT PIO instruction
2022-07-05 12:56:14 -07:00
Nick Lopez
dce9396fe3
issue adafruit#6538 loose bounds checking on WAIT PIO instruction
2022-07-02 14:32:20 -07:00
Scott Shawcroft
07b2697ae3
WIP websocket to serial
2022-07-01 16:57:10 -07:00
Patrick
c3cf9ba9ce
remove wifi max from sdkconfig
2022-07-01 14:50:47 -07:00
Patrick
aaeda97818
update PHY section, correct name
2022-07-01 14:50:47 -07:00
Patrick
aa53d36934
setting CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER to 8.5
2022-07-01 14:50:47 -07:00
Patrick
7e367eeb58
Update "D" mappings
2022-07-01 14:50:47 -07:00
Patrick
d4b26daf1b
correct creator and creation IDs
2022-07-01 14:50:47 -07:00
Patrick
6c7faf0eba
Change USB VID & PID to Creator and Creation IDs
2022-07-01 14:50:47 -07:00
Patrick
3253ae2503
tested and corrected several pins
2022-07-01 14:50:47 -07:00
Patrick
f10fa566aa
REPL works. Based on QTPYC3.
2022-07-01 14:50:47 -07:00
Patrick
a3070f6c2a
Changes to Pin Mappings
2022-07-01 14:50:46 -07:00
Patrick
b37236f83f
C3 does not have PSRAM
2022-07-01 14:50:46 -07:00
Patrick
af629ab180
Add assumed PID value
2022-07-01 14:50:46 -07:00
Patrick
c1e6003d26
remove comment that breaks {ID Checker
2022-07-01 14:50:46 -07:00
Patrick
9bae8549c5
add UART RX TX to mpconfigboard
2022-07-01 14:50:46 -07:00
Patrick
6763b7b968
add A5
2022-07-01 14:50:46 -07:00
Patrick
bcf27e146b
fix build break and add io 20/21
2022-07-01 14:50:46 -07:00
Patrick
dc1c86738a
Initial pin mapping pass
2022-07-01 14:50:46 -07:00
Patrick
fd4695d0f2
Gettting started with pin mapping.
2022-07-01 14:50:46 -07:00
Dan Halbert
8814ee03f1
Merge pull request #6542 from todbot/wifi-tx-power
...
Add wifi.radio.tx_power
2022-07-01 14:09:08 -04:00
Scott Shawcroft
7589e53fea
WIP websocket accept and hashlib
2022-07-01 10:18:33 -07:00
Dan Halbert
8bb369cac5
refactor debug UART to console UART; get working on ESP32
2022-06-30 23:16:46 -04:00
Dan Halbert
187f156ac7
Merge pull request #6534 from tannewt/esp_wdt_safe_mode
...
Safe mode when ESP interrupt watchdog fires
2022-06-30 22:56:35 -04:00
Dan Halbert
63873e2c14
Merge pull request #6528 from tannewt/cp_webserver
...
Add web workflow to ESP boards
2022-06-30 22:53:47 -04:00
Tod Kurt
698d563dcf
adust wifi.radio.tx_power to be x4 (in db) as mentioned in #6540
2022-06-30 15:33:03 -07:00
Tod Kurt
2a563cc8ba
first cut at wifi.radio.tx_power
2022-06-30 15:10:16 -07:00
Scott Shawcroft
71358a4a63
Merge pull request #6526 from xuhow/elecfreaks_picoed
...
Add some frozen libraries to elecfreaks_picoed
2022-06-30 11:53:59 -07:00
Dan Halbert
b0efd130c9
ESP32 REPL working through debug UART
2022-06-29 23:19:36 -04:00
Scott Shawcroft
3be3e89d82
Merge branch 'main' into cp_webserver
2022-06-29 14:01:32 -07:00
Dan Halbert
c3a149c14a
Merge pull request #6533 from tannewt/fix_connect_crash
...
Fix auto-wifi created crash
2022-06-29 16:51:33 -04:00
Scott Shawcroft
d42c811fb9
Safe mode when ESP interrupt watchdog fires
...
This makes us enter safe mode when sleep on the S3 fails. The
task watchdog is used for the user watchdog.
2022-06-29 12:31:18 -07:00
Scott Shawcroft
8dc8265275
Fix auto-wifi created crash
...
The wifi event_handler runs on the other core so we need to be
careful when calling into CP APIs.
Fixes #6503
2022-06-29 11:53:10 -07:00
Scott Shawcroft
1f065a313c
Update with startup fix instead of revert
2022-06-29 11:12:29 -07:00
Xu Hao
1599844b82
Add some frozen libraries to elecfreaks_picoed
2022-06-29 15:03:29 +08:00
Dan Halbert
780c4963cb
wip; change never-ever reset pin mechanism
2022-06-28 23:06:49 -04:00
Scott Shawcroft
a8bb3eb557
Update to newer 4.4 branch
2022-06-28 15:38:55 -07:00
Dan Halbert
ca64950503
wip fixes
2022-06-28 18:32:08 -04:00
Dan Halbert
131d70cebd
restore traceback to matrixportal build
2022-06-28 16:10:55 -04:00
Scott Shawcroft
41039445c9
Clean up and add docs
2022-06-27 13:39:09 -07:00
Scott Shawcroft
7acc5ebeb9
Add logo for going to home. Fix origin check
2022-06-27 13:39:09 -07:00
Scott Shawcroft
3cd05291d0
Static files + welcome page
2022-06-27 13:39:09 -07:00
Scott Shawcroft
7543dd9af0
CORS works and autoreload too
2022-06-27 13:39:08 -07:00
Scott Shawcroft
92593aa7a1
Fix bind, remove hard coded ip
2022-06-27 13:34:13 -07:00
Scott Shawcroft
4f0a7aedfd
WIP adding devices.json and auth
2022-06-27 13:34:13 -07:00
Scott Shawcroft
32478345f8
more tweaks
2022-06-27 13:34:13 -07:00
Scott Shawcroft
0882cbf823
web server kinda works
2022-06-27 13:34:13 -07:00
Scott Shawcroft
61d0f7947b
WIP doesn't flush response before closing
2022-06-27 13:34:13 -07:00
Scott Shawcroft
301f3e0456
Start of web server
2022-06-27 13:34:13 -07:00
Dan Halbert
55784c93de
wip; compiles
2022-06-26 21:22:22 -04:00
Dan Halbert
02069eb0b5
wip
2022-06-23 15:59:06 -04:00
Scott Shawcroft
a055113ed5
Merge pull request #6520 from dhalbert/7.3.1-to-main
...
Merge 7.3.1 changes to main
2022-06-23 11:15:40 -07:00
Dan Halbert
b0219f9b5b
Merge pull request #6518 from xorbit/rp2040-shim
...
Add board Silicognition LLC RP2040-Shim
2022-06-23 11:04:40 -04:00
Dan Halbert
feb1d903f7
merge 7.3.1 to main
2022-06-23 09:07:49 -04:00
Scott Shawcroft
897297bba4
Merge pull request #6516 from Neradoc/setup-default-ports-hiibot-iots2
...
Implement default busses to IOTS2
2022-06-22 09:46:08 -07:00
Patrick Van Oosterwijck
0b80c62400
Merge branch 'adafruit:main' into rp2040-shim
2022-06-22 11:40:02 -05:00
Scott Shawcroft
25206a8aff
Merge pull request #6513 from dhalbert/7.3.x-6495-backport-ble-disconnect-check
...
Test for a BLE disconnect while reading
2022-06-22 09:38:24 -07:00
Neradoc
ba72287db4
Implement default ports to IOTS2
2022-06-22 07:24:27 +02:00
root
e8023f33a9
Test for a BLE disconnect while reading
2022-06-21 19:59:23 -04:00
root
1ad3daf75b
Fix declaration of print_wakeup_cause
2022-06-21 19:56:15 -04:00
root
803c18c71f
Uncommented call to print_wakeup_cause
2022-06-21 19:56:15 -04:00
root
d3903bf2f4
Fix for Issue #6478
2022-06-21 19:56:15 -04:00
Scott Shawcroft
562c73bcc7
Merge pull request #6458 from blues/swan_r5_3v3_enable
...
fix(swan_r5): 3v3 was enabled but then immediately reset.
2022-06-21 13:56:58 -07:00
Matthew McGowan
019a160983
exposes DigitalInOutPin
instances on the board, initialized and reserved.
2022-06-20 14:46:58 -07:00
Neradoc
7f968f18c0
move frozen adafruit_circuitplayground to express subdirectory
2022-06-20 16:55:10 -04:00
Scott Shawcroft
c27ecc9bb1
Merge pull request #6495 from DavePutz/issue_6451
...
Test for a BLE disconnect while reading
2022-06-17 09:37:07 -07:00
Dan Halbert
f0bf14094b
Update samd-peripherals to fix SPI DMA problem
2022-06-17 10:59:59 -04:00
Dan Halbert
f590c7cc9a
Merge pull request #6485 from electrolama/add-board-electrolama-minik
...
Add custom board: Electrolama minik (RP2040 module)
2022-06-17 09:01:04 -04:00
root
cdc7140318
Test for a BLE disconnect while reading
2022-06-16 14:56:18 -05:00
Scott Shawcroft
894cea217d
Merge pull request #6486 from DavePutz/issue_6478
...
Fix for Issue #6478
2022-06-15 09:43:09 -07:00
root
8668dee3df
Fix declaration of print_wakeup_cause
2022-06-14 20:51:07 -05:00
root
669e45497c
Uncommented call to print_wakeup_cause
2022-06-14 13:27:15 -05:00
Patrick Van Oosterwijck
ad56a16c2d
Add board Silicognition LLC RP2040-Shim
2022-06-14 11:28:41 -06:00
root
015e95807a
Fix for Issue #6478
2022-06-14 12:14:05 -05:00
Omer Kilic
9fbad229c0
Add custom board: Electrolama minik (RP2040)
2022-06-14 15:51:10 +01:00
Scott Shawcroft
0c418e98b1
Merge remote-tracking branch 'adafruit/main' into auto_wifi
2022-06-13 15:44:43 -07:00
Scott Shawcroft
dc794f91c0
Speed up auto-wifi with wrong password
...
This adds basic timeout support to connect by preventing subsequent
retries if over time. The first connect may still take more than
the timeout.
2022-06-13 15:38:19 -07:00
Scott Shawcroft
1a3d2a5b5e
Shrink nrf52833 builds
...
Make them CIRCUITPY_FULL_BUILD = 0 and rework the boards to have
the same modules enabled (ish.)
Also make ZLIB require FULL_BUILD and disable advanced `micropython`
module APIs by default on all builds.
2022-06-13 15:36:15 -07:00
Scott Shawcroft
b191075ab8
Better length checks
2022-06-13 09:18:42 -07:00
Scott Shawcroft
ab346a27fc
Merge pull request #6468 from blues/stm32_rtc
...
feat(swan_r5): adds a basic STM32 RTC implementation.
2022-06-13 09:00:09 -07:00
Scott Shawcroft
39b8c2c94e
Merge pull request #6453 from KurtE/ESP32_UART
...
ESP32 USE uart_param_config
2022-06-13 08:56:32 -07:00
Matthew McGowan
beafbc7c60
enable RTC for all STM32 devices
2022-06-10 17:37:33 -07:00
Matthew McGowan
6ee8e00936
fix(stm32): correct include path after translation header was moved
2022-06-10 17:37:33 -07:00