Add support for LWIP esp32.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-04-20 23:50:02 +02:00
parent 3836ee70e4
commit 0d3a1bdf51
3 changed files with 78 additions and 52 deletions

View File

@@ -78,7 +78,7 @@ static int rest_start_core1_job(rest_conn_t *conn, const rest_request_t *request
rest_core1_job.handler = handler;
rest_core1_job.request = *request;
card_start(ITF_LWIP, rest_core1_thread);
card_start(ITF_LWIP_NET, rest_core1_thread);
usb_send_event(EV_CMD_AVAILABLE);
return 0;
}
@@ -120,7 +120,7 @@ void rest_task(void) {
if (!rest_core1_job.pending) {
return;
}
status = card_status(ITF_LWIP);
status = card_status(ITF_LWIP_NET);
if (status != PICOKEYS_OK) {
return;
}