Skip to content

Commit

Permalink
Drop second HAL build
Browse files Browse the repository at this point in the history
  • Loading branch information
Daft-Freak committed Sep 29, 2020
1 parent f3f8b59 commit 8470dd8
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions 32blit-stm32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,23 +149,6 @@ target_compile_definitions(BlitHalSTM32
target_compile_options(BlitHalSTM32 PUBLIC "$<$<CONFIG:RELEASE>:-Os>")
set_target_properties(BlitHalSTM32 PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)

# 2nd build for external flash
add_library(BlitHalSTM32Ext OBJECT ${SOURCES})

target_include_directories(BlitHalSTM32Ext
PRIVATE
${INCLUDE_DIRS}
)

target_compile_definitions(BlitHalSTM32Ext
PRIVATE
${DEFINITIONS}
-DAPPLICATION_VTOR=${APPLICATION_VTOR_EXT}
-DEXTERNAL_LOAD_ADDRESS=${EXTERNAL_LOAD_ADDRESS_EXT}
-DINITIALISE_QSPI=${INITIALISE_QSPI_EXT}
-DCDC_FIFO_BUFFERS=${CDC_FIFO_BUFFERS_EXT}
)

function(blit_executable_int_flash NAME SOURCES)
find_package(PythonInterp 3.6 REQUIRED)

Expand Down

0 comments on commit 8470dd8

Please sign in to comment.