Skip to content

Commit

Permalink
fpga prog
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Nov 19, 2020
1 parent 705cc6d commit 4c44656
Show file tree
Hide file tree
Showing 14 changed files with 588 additions and 14 deletions.
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,16 @@ set(header_eez_modules_bp3c
list (APPEND header_files ${header_eez_modules_bp3c})
source_group("eez\\modules\\bp3c" FILES ${src_eez_modules_bp3c} ${header_eez_modules_bp3c})

set(src_eez_modules_fpga
src/eez/modules/fpga/prog.cpp
)
list (APPEND src_files ${src_eez_modules_fpga})
set(header_eez_modules_fpga
src/eez/modules/fpga/prog.h
)
list (APPEND header_files ${header_eez_modules_fpga})
source_group("eez\\modules\\fpga" FILES ${src_eez_modules_fpga} ${header_eez_modules_fpga})

set(src_eez_modules_mcu
src/eez/modules/mcu/battery.cpp
src/eez/modules/mcu/display.cpp
Expand Down
8 changes: 4 additions & 4 deletions src/eez/gui/app_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ void AppContext::onPageChanged(int previousPageId, int activePageId) {
}

void AppContext::doShowPage(int pageId, Page *page, int previousPageId) {
#if CONF_OPTION_FPGA
pageId = PAGE_ID_WELCOME_800X480;
page = nullptr;
#endif
//#if CONF_OPTION_FPGA
// pageId = PAGE_ID_WELCOME_800X480;
// page = nullptr;
//#endif

page = page ? page : getPageFromIdHook(pageId);

Expand Down
Loading

0 comments on commit 4c44656

Please sign in to comment.