[X10 Express] Compilation support added

This commit is contained in:
Bertrand Songis
2019-08-27 09:14:26 +02:00
parent ed64c59b37
commit d2f3e421af
15 changed files with 65 additions and 36 deletions
+2 -1
View File
@@ -27,7 +27,6 @@ if(SPLASH STREQUAL OFF)
endif()
if (PCB STREQUAL X10)
set(FLAVOUR x10)
set(PCBREV "STD" CACHE STRING "PCB Revision")
add_definitions(-DPCBX10)
add_definitions(-DSOFTWARE_VOLUME)
@@ -42,9 +41,11 @@ if (PCB STREQUAL X10)
set(LCD_DRIVER lcd_driver.cpp)
set(LUA_EXPORT lua_export_x10)
if (PCBREV STREQUAL EXPRESS)
set(FLAVOUR x10express)
option(INTERNAL_MODULE_PXX1 "Support for PXX1 internal module" OFF)
option(INTERNAL_MODULE_PXX2 "Support for PXX2 internal module" ON)
else()
set(FLAVOUR x10)
option(INTERNAL_MODULE_PXX1 "Support for PXX1 internal module" ON)
option(INTERNAL_MODULE_PXX2 "Support for PXX2 internal module" OFF)
endif()