File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,10 @@ project (Jerry CXX C ASM)
97
97
message (FATAL_ERROR "Currently, external build with Jerry's libc is not supported" )
98
98
endif ()
99
99
else ()
100
+ if (NOT EXISTS "${EXTERNAL_LIBC_INTERFACE} " )
101
+ message (FATAL_ERROR "External libc interface directory doesn't exist: ${EXTERNAL_LIBC_INTERFACE} " )
102
+ endif ()
103
+
100
104
set (USE_EXTERNAL_LIBC TRUE )
101
105
endif ()
102
106
@@ -194,9 +198,9 @@ project (Jerry CXX C ASM)
194
198
# Platform-specific
195
199
# MCU
196
200
# stm32f3
197
- set (LINKER_FLAGS_COMMON_MCU_STM32F3 "-T${CMAKE_SOURCE_DIR} /third-party/stm32f3 .ld" )
201
+ set (LINKER_FLAGS_COMMON_MCU_STM32F3 "-T${CMAKE_SOURCE_DIR} /third-party/STM32F3-Discovery_FW_V1.1.0/Project/Peripheral_Examples/FLASH_Program/TrueSTUDIO/FLASH_Program/STM32_FLASH .ld" )
198
202
# stm32f4
199
- set (LINKER_FLAGS_COMMON_MCU_STM32F4 "-T${CMAKE_SOURCE_DIR} /third-party/stm32f4 .ld" )
203
+ set (LINKER_FLAGS_COMMON_MCU_STM32F4 "-T${CMAKE_SOURCE_DIR} /third-party/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/FLASH_Program/TrueSTUDIO/FLASH_Program/stm32_flash .ld" )
200
204
201
205
# Debug
202
206
set (FLAGS_COMMON_DEBUG "-nostdlib" )
Original file line number Diff line number Diff line change @@ -49,12 +49,14 @@ project (Jerry_Plugins CXX ASM)
49
49
# MCU
50
50
# STM32F3
51
51
set (INCLUDE_THIRD_PARTY_MCU_STM32F3
52
+ ${CMAKE_SOURCE_DIR} /third-party/STM32F3-Discovery_FW_V1.1.0/Project/Demonstration
52
53
${CMAKE_SOURCE_DIR} /third-party/STM32F3-Discovery_FW_V1.1.0/Libraries/CMSIS/Device/ST/STM32F30x/Include
53
54
${CMAKE_SOURCE_DIR} /third-party/STM32F3-Discovery_FW_V1.1.0/Libraries/STM32F30x_StdPeriph_Driver/inc
54
55
${CMAKE_SOURCE_DIR} /third-party/STM32F3-Discovery_FW_V1.1.0/Libraries/CMSIS/Include
55
56
${CMAKE_SOURCE_DIR} /third-party/STM32F3-Discovery_FW_V1.1.0)
56
57
# STM32F4
57
58
set (INCLUDE_THIRD_PARTY_MCU_STM32F4
59
+ ${CMAKE_SOURCE_DIR} /third-party/STM32F4-Discovery_FW_V1.1.0/Project/Demonstration
58
60
${CMAKE_SOURCE_DIR} /third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include
59
61
${CMAKE_SOURCE_DIR} /third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc
60
62
${CMAKE_SOURCE_DIR} /third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include
You can’t perform that action at this time.
0 commit comments