Merge pull request #34 from badgeteam/tnt/fpga-prep
A couple of tweak preparing for future FPGA work
This commit is contained in:
commit
a8f12b24a2
3 changed files with 13 additions and 8 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 4bc90991a83df4e733705cc7c89906c64756e0f2
|
Subproject commit 8fe7ca9876e2afed472c5d01170d4e76acdf6399
|
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue