feat: More flexible ADC inputs (#3870)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com> Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
co-authored by
3djc
Peter Feerick
philmoz
parent
f5593c44e8
commit
b48e07026d
@@ -7,8 +7,14 @@ set(SRC ${SRC}
|
||||
hal/module_port.cpp
|
||||
hal/adc_driver.cpp
|
||||
hal/key_driver.cpp
|
||||
hal/switch_driver.cpp
|
||||
)
|
||||
|
||||
if (FLEXSW)
|
||||
# define the number of allowed flexible adc entries used as switch
|
||||
add_definitions(-DMAX_FLEX_SWITCHES=${FLEXSW})
|
||||
endif()
|
||||
|
||||
include_directories(${FATFS_DIR} ${FATFS_DIR}/option)
|
||||
|
||||
set(BOOTLOADER_SRC ${BOOTLOADER_SRC}
|
||||
|
||||
Reference in New Issue
Block a user