mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-01 21:38:20 +00:00
linux sdk fix and readme update for esp
This commit is contained in:
@@ -286,7 +286,7 @@ static int upload_handler(struct http_client_ctx *client,
|
||||
static struct net_mgmt_event_callback wifi_mgmt_cb;
|
||||
|
||||
static void wifi_mgmt_event_handler(struct net_mgmt_event_callback *cb,
|
||||
uint32_t mgmt_event,
|
||||
uint64_t mgmt_event,
|
||||
struct net_if *iface)
|
||||
{
|
||||
switch (mgmt_event) {
|
||||
@@ -303,7 +303,7 @@ static void wifi_mgmt_event_handler(struct net_mgmt_event_callback *cb,
|
||||
LOG_INF("WiFi client DISCONNECTED from AP");
|
||||
break;
|
||||
default:
|
||||
LOG_DBG("WiFi mgmt event: 0x%08x", mgmt_event);
|
||||
LOG_DBG("WiFi mgmt event: 0x%016llx", mgmt_event);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,15 +23,26 @@ SWD flash: `west flash` (requires J-Link, pyocd, or nrfjprog connected).
|
||||
|
||||
### ESP32
|
||||
|
||||
| Board | Build string | Flash |
|
||||
|----------------------|---------------------------------------------|-----------------|
|
||||
| XIAO ESP32-C3 | `west build -b xiao_esp32c3 zephcore` | `west flash` |
|
||||
| XIAO ESP32-C6 | `west build -b xiao_esp32c6 zephcore` | `west flash` |
|
||||
| LilyGo TLoRa C6 | `west build -b lilygo_tlora_c6 zephcore` | `west flash` |
|
||||
| Station G2 | `west build -b station_g2 zephcore` | `west flash` |
|
||||
| Board | Build string | Flash |
|
||||
|----------------------|-----------------------------------------------------------|-----------------|
|
||||
| XIAO ESP32-C3 | `west build -b xiao_esp32c3 zephcore` | `west flash` |
|
||||
| XIAO ESP32-C6 | `west build -b xiao_esp32c6 zephcore` | `west flash` |
|
||||
| LilyGo TLoRa C6 | `west build -b lilygo_tlora_c6 zephcore` | `west flash` |
|
||||
| Station G2 | `west build -b station_g2/esp32s3/procpu zephcore` | `west flash` |
|
||||
|
||||
ESP32 flash uses esptool over USB. Hold BOOT button if device doesn't enter download mode.
|
||||
|
||||
**First-time setup required (all ESP32 boards):**
|
||||
|
||||
```
|
||||
# Download Espressif BLE controller blobs (closed-source, required for BLE)
|
||||
west blobs fetch hal_espressif
|
||||
```
|
||||
|
||||
Run this once after `west init`/`west update`. Without it, CMake will abort with
|
||||
a blob validation error during configure. Re-run after any `west update` that
|
||||
bumps the `hal_espressif` revision.
|
||||
|
||||
### nRF54L15
|
||||
|
||||
| Board | Build string | Flash |
|
||||
|
||||
Reference in New Issue
Block a user