feat: H7 support (#5738)
Co-authored-by: Richard Li <richard.li@ces.hk> Co-authored-by: philmoz <phil.a.mitchell@gmail.com> Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
co-authored by
Richard Li
philmoz
raphaelcoeffic
parent
5a15ffb017
commit
3d25c2a0f8
@@ -30,16 +30,25 @@ set(BOOTLOADER_SRC ${BOOTLOADER_SRC}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hal/key_driver.cpp
|
||||
)
|
||||
|
||||
|
||||
if(FUNCTION_SWITCHES_WITH_RGB)
|
||||
set(SRC ${SRC}
|
||||
hal/rgbleds.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if (NOT NATIVE_BUILD)
|
||||
set(SRC ${SRC}
|
||||
hal/storage.cpp
|
||||
hal/fatfs_diskio.cpp
|
||||
hal/flash_driver.cpp
|
||||
${FATFS_DIR}/ff.c
|
||||
${FATFS_DIR}/ffunicode.c
|
||||
)
|
||||
set(BOOTLOADER_SRC ${BOOTLOADER_SRC}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hal/storage.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hal/fatfs_diskio.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hal/flash_driver.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${FATFS_DIR}/ff.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${FATFS_DIR}/ffunicode.c
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user