Merge pull request #34 from badgeteam/tnt/fpga-prep

A couple of tweak preparing for future FPGA work
This commit is contained in:
Sylvain "tnt" Munaut 2022-05-16 23:37:54 +02:00 committed by GitHub
commit a8f12b24a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 8 deletions

@ -1 +1 @@
Subproject commit 4bc90991a83df4e733705cc7c89906c64756e0f2 Subproject commit 8fe7ca9876e2afed472c5d01170d4e76acdf6399

View file

@ -1,5 +1,16 @@
idf_component_register( idf_component_register(
SRCS "main.c" "menu.c" "fpga_test.c" "pax_keyboard.c" "system_wrapper.c" "appfs_wrapper.c" "graphics_wrapper.c" "settings.c" "wifi_connection.c" "rp2040_updater.c" "wifi_ota.c" "fpga_download.c" SRCS "main.c"
"appfs_wrapper.c"
"fpga_test.c"
"graphics_wrapper.c"
"menu.c"
"pax_keyboard.c"
"rp2040_updater.c"
"settings.c"
"system_wrapper.c"
"wifi_connection.c"
"wifi_ota.c"
"fpga_download.c"
INCLUDE_DIRS "." "include" INCLUDE_DIRS "." "include"
EMBED_TXTFILES ${project_dir}/server_certs/isrgrootx1.pem EMBED_TXTFILES ${project_dir}/server_certs/isrgrootx1.pem
) )

View file

@ -156,12 +156,6 @@ void fpga_test(ILI9341* ili9341, ICE40* ice40, xQueueHandle buttonQueue) {
reload_fpga = false; reload_fpga = false;
printf("LCD deinit...\n"); printf("LCD deinit...\n");
ili9341_deinit(ili9341); ili9341_deinit(ili9341);
printf("LCD deselect...\n");
ili9341_select(ili9341, false);
printf("Wait...\n");
vTaskDelay(200 / portTICK_PERIOD_MS);
printf("LCD select...\n");
ili9341_select(ili9341, true);
printf("FPGA load...\n"); printf("FPGA load...\n");
if (load_old_bitstream) { if (load_old_bitstream) {