diff --git a/hw-chipdown/PicoGUS chipdown.kicad_pro b/hw-chipdown/PicoGUS chipdown.kicad_pro index ebad2b5..e387285 100755 --- a/hw-chipdown/PicoGUS chipdown.kicad_pro +++ b/hw-chipdown/PicoGUS chipdown.kicad_pro @@ -193,6 +193,13 @@ "zones_allow_external_fillets": false, "zones_use_no_outline": true }, + "ipc2581": { + "dist": "", + "distpn": "", + "internal_id": "", + "mfg": "", + "mpn": "" + }, "layer_presets": [], "viewports": [] }, @@ -518,8 +525,11 @@ "gencad": "", "idf": "", "netlist": "", + "plot": "", + "pos_files": "", "specctra_dsn": "", "step": "PicoGUS chipdown.step", + "svg": "", "vrml": "" }, "page_layout_descr_file": "" diff --git a/sw/flash_settings.c b/sw/flash_settings.c index 05a1dd7..70edeaa 100644 --- a/sw/flash_settings.c +++ b/sw/flash_settings.c @@ -110,7 +110,7 @@ void saveSettings(const Settings* settings) static_assert(sizeof(Settings) < FLASH_PAGE_SIZE, "Settings struct doesn't fit inside one flash page"); memcpy(data, settings, sizeof(Settings)); printf("doing settings save: "); - int result = flash_safe_execute(saveSettingsSafe, data, 100); + int result = flash_safe_execute(saveSettingsSafe, data, 1000); if (result) { printf("uh oh... %d", result); } diff --git a/sw/ne2000/CMakeLists.txt b/sw/ne2000/CMakeLists.txt index b3359e9..4c59b75 100644 --- a/sw/ne2000/CMakeLists.txt +++ b/sw/ne2000/CMakeLists.txt @@ -25,4 +25,6 @@ target_link_libraries(ne2000 INTERFACE # target_compile_definitions(ne2000 INTERFACE # CYW43_LWIP=0 # ) - +target_compile_definitions(ne2000 INTERFACE + # PICO_CYW43_ARCH_POLL=1 +) diff --git a/sw/ne2000play.cpp b/sw/ne2000play.cpp index 3384cad..0adee0a 100644 --- a/sw/ne2000play.cpp +++ b/sw/ne2000play.cpp @@ -48,6 +48,7 @@ extern uint LED_PIN; static uint32_t Wifi_Reconnect_EventHandler(Bitu val) { PG_Wifi_Reconnect(); + putchar('='); return 1000000; } static PIC_TimerEvent Wifi_Reconnect_Event = { @@ -61,7 +62,7 @@ void play_ne2000() { PG_Wifi_Connect(settings.WiFi.ssid, settings.WiFi.password); while(1) { - PIC_AddEvent(&Wifi_Reconnect_Event, 1000000, 0); + // PIC_AddEvent(&Wifi_Reconnect_Event, 1000000, 0); if (multicore_fifo_rvalid()) { switch(multicore_fifo_pop_blocking()) { case FIFO_NE2K_SEND: @@ -74,6 +75,6 @@ void play_ne2000() { break; } } - /* cyw43_arch_poll(); */ + cyw43_arch_poll(); } }