File tree Expand file tree Collapse file tree 5 files changed +40
-30
lines changed
STMicroelectronics/STM32L4_L4+ Expand file tree Collapse file tree 5 files changed +40
-30
lines changed Original file line number Diff line number Diff line change 11{
2- "cmake.configureOnOpen" : false
2+ "cmake.configureOnOpen" : false ,
3+ "git.ignoreLimitWarning" : true
34}
Original file line number Diff line number Diff line change 11# Copyright (c) Microsoft Corporation.
22# Licensed under the MIT License.
33
4- cmake_minimum_required (VERSION 3.10)
5-
6- project (mxchip_azure_iot C ASM)
7-
4+ cmake_minimum_required (VERSION 3.10 FATAL_ERROR)
85set (CMAKE_C_STANDARD 99)
96
10- set (GSG_BASE_DIR ${PROJECT_SOURCE_DIR } /../..)
7+ set (GSG_BASE_DIR ${CMAKE_SOURCE_DIR } /../..)
118set (CORE_SRC_DIR ${GSG_BASE_DIR} /core/src)
129set (CORE_LIB_DIR ${GSG_BASE_DIR} /core/lib)
1310
11+ # Set the toolchain if not defined
12+ if (NOT CMAKE_TOOLCHAIN_FILE)
13+ set (CMAKE_TOOLCHAIN_FILE "${GSG_BASE_DIR} /cmake/arm-gcc-cortex-m4.cmake" )
14+ endif ()
15+
1416list (APPEND CMAKE_MODULE_PATH ${GSG_BASE_DIR} /cmake)
15- list (APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR } /cmake)
17+ list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR } /cmake)
1618
1719include (utilities)
1820
19- message (STATUS "Using toolchain file: ${CMAKE_TOOLCHAIN_FILE} " )
21+ # Define the Project
22+ project (mxchip_azure_iot C ASM)
2023
21- # Disable common networking component, STM has it's own
24+ # Disable common networking component, MXCHIP has it's own
2225set (DISABLE_COMMON_NETWORK true )
2326
2427add_subdirectory (${CORE_SRC_DIR} core_src)
Original file line number Diff line number Diff line change 11# Copyright (c) Microsoft Corporation.
22# Licensed under the MIT License.
33
4- cmake_minimum_required (VERSION 3.10)
5- project (atsame54_azure_iot C ASM)
6-
4+ cmake_minimum_required (VERSION 3.10 FATAL_ERROR)
75set (CMAKE_C_STANDARD 99)
86
9- set (GSG_BASE_DIR ${PROJECT_SOURCE_DIR } /../..)
7+ set (GSG_BASE_DIR ${CMAKE_SOURCE_DIR } /../..)
108set (CORE_SRC_DIR ${GSG_BASE_DIR} /core/src)
119set (CORE_LIB_DIR ${GSG_BASE_DIR} /core/lib)
1210
13- list (APPEND CMAKE_MODULE_PATH ${GSG_BASE_DIR} /cmake)
11+ # Set the toolchain if not defined
12+ if (NOT CMAKE_TOOLCHAIN_FILE)
13+ set (CMAKE_TOOLCHAIN_FILE "${GSG_BASE_DIR} /cmake/arm-gcc-cortex-m4.cmake" )
14+ endif ()
1415
15- include (utilities)
16+ include (${GSG_BASE_DIR} /cmake/ utilities.cmake )
1617
17- message (STATUS "Using toolchain file: ${CMAKE_TOOLCHAIN_FILE} " )
18+ # Define the Project
19+ project (atsame54_azure_iot C ASM)
1820
1921add_subdirectory (${CORE_SRC_DIR} core_src)
2022add_subdirectory (lib)
Original file line number Diff line number Diff line change 11# Copyright (c) Microsoft Corporation.
22# Licensed under the MIT License.
33
4- cmake_minimum_required (VERSION 3.10)
5- project (mimxrt1060_azure_iot C ASM)
6-
4+ cmake_minimum_required (VERSION 3.10 FATAL_ERROR)
75set (CMAKE_C_STANDARD 99)
86
9- set (GSG_BASE_DIR ${PROJECT_SOURCE_DIR } /../..)
7+ set (GSG_BASE_DIR ${CMAKE_SOURCE_DIR } /../..)
108set (CORE_SRC_DIR ${GSG_BASE_DIR} /core/src)
119set (CORE_LIB_DIR ${GSG_BASE_DIR} /core/lib)
1210
13- list (APPEND CMAKE_MODULE_PATH ${GSG_BASE_DIR} /cmake)
11+ # Set the toolchain if not defined
12+ if (NOT CMAKE_TOOLCHAIN_FILE)
13+ set (CMAKE_TOOLCHAIN_FILE "${GSG_BASE_DIR} /cmake/arm-gcc-cortex-m7.cmake" )
14+ endif ()
1415
15- include (utilities)
16+ include (${GSG_BASE_DIR} /cmake/ utilities.cmake )
1617
17- message (STATUS "Using toolchain file: ${CMAKE_TOOLCHAIN_FILE} " )
18+ # Define the Project
19+ project (mimxrt1060_azure_iot C ASM)
1820
1921add_subdirectory (${CORE_SRC_DIR} core_src)
2022add_subdirectory (lib)
Original file line number Diff line number Diff line change 11# Copyright (c) Microsoft Corporation.
22# Licensed under the MIT License.
33
4- cmake_minimum_required (VERSION 3.10)
5- project (stm32l4_azure_iot C ASM)
6-
4+ cmake_minimum_required (VERSION 3.10 FATAL_ERROR)
75set (CMAKE_C_STANDARD 99)
86
9- set (GSG_BASE_DIR ${PROJECT_SOURCE_DIR } /../..)
7+ set (GSG_BASE_DIR ${CMAKE_SOURCE_DIR } /../..)
108set (CORE_SRC_DIR ${GSG_BASE_DIR} /core/src)
119set (CORE_LIB_DIR ${GSG_BASE_DIR} /core/lib)
1210
13- list (APPEND CMAKE_MODULE_PATH ${GSG_BASE_DIR} /cmake)
11+ # Set the toolchain if not defined
12+ if (NOT CMAKE_TOOLCHAIN_FILE)
13+ set (CMAKE_TOOLCHAIN_FILE "${GSG_BASE_DIR} /cmake/arm-gcc-cortex-m4.cmake" )
14+ endif ()
1415
15- include (utilities)
16+ include (${GSG_BASE_DIR} /cmake/ utilities.cmake )
1617
17- message (STATUS "Using toolchain file: ${CMAKE_TOOLCHAIN_FILE} " )
18+ # Define the Project
19+ project (stm32l4_azure_iot C ASM)
1820
1921# Disable common networking component, STM has it's own
2022set (DISABLE_COMMON_NETWORK true )
You can’t perform that action at this time.
0 commit comments