B3M38SPD seminar project - beehive monitor with LoRa reporting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
spd-lorabees/CMakeLists.txt

160 lines
7.6 KiB

cmake_minimum_required(VERSION 3.9)
project(proj)
set(CMAKE_CXX_STANDARD 11)
add_definitions(-DSTM32L073xx)
set(SOURCE_FILES
Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h
Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h
Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h
Drivers/CMSIS/Include/arm_common_tables.h
Drivers/CMSIS/Include/arm_const_structs.h
Drivers/CMSIS/Include/arm_math.h
Drivers/CMSIS/Include/cmsis_armcc.h
Drivers/CMSIS/Include/cmsis_armcc_V6.h
Drivers/CMSIS/Include/cmsis_gcc.h
Drivers/CMSIS/Include/core_cm0.h
Drivers/CMSIS/Include/core_cm0plus.h
Drivers/CMSIS/Include/core_cm3.h
Drivers/CMSIS/Include/core_cm4.h
Drivers/CMSIS/Include/core_cm7.h
Drivers/CMSIS/Include/core_cmFunc.h
Drivers/CMSIS/Include/core_cmInstr.h
Drivers/CMSIS/Include/core_cmSimd.h
Drivers/CMSIS/Include/core_sc000.h
Drivers/CMSIS/Include/core_sc300.h
Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rtc.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rtc_ex.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_spi.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h
Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_spi.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c
Inc/main.h
Inc/stm32l0xx_hal_conf.h
Inc/stm32l0xx_it.h
Inc/Commissioning.h
Inc/debug.h
Inc/hw.h
Inc/hw_conf.h
Inc/hw_gpio.h
Inc/hw_msp.h
Inc/hw_rtc.h
Inc/hw_spi.h
Inc/stm32l0xx_hw_conf.h
Inc/vcom.h
Src/main.c
Src/debug.c
Src/hw_gpio.c
Src/hw_rtc.c
Src/hw_spi.c
Src/stm32l0xx_hw.c
Src/vcom.c
Src/stm32l0xx_hal_msp.c
Src/stm32l0xx_it.c
Drivers/BSP/Components/sx1272/sx1272.c
Drivers/BSP/Components/sx1272/sx1272.h
Drivers/BSP/Components/sx1272/sx1272Regs-Fsk.h
Drivers/BSP/Components/sx1272/sx1272Regs-LoRa.h
Drivers/BSP/sx1272mb2das/sx1272mb2das.c
Drivers/BSP/sx1272mb2das/sx1272mb2das.h
Middlewares/Third_Party/Lora/Core/lora.c
Middlewares/Third_Party/Lora/Core/lora.h
Middlewares/Third_Party/Lora/Core/lora_mac_version.h
Middlewares/Third_Party/Lora/Crypto/aes.c
Middlewares/Third_Party/Lora/Crypto/aes.h
Middlewares/Third_Party/Lora/Crypto/cmac.c
Middlewares/Third_Party/Lora/Crypto/cmac.h
Middlewares/Third_Party/Lora/Mac/region/Region.c
Middlewares/Third_Party/Lora/Mac/region/Region.h
Middlewares/Third_Party/Lora/Mac/region/RegionAS923.c
Middlewares/Third_Party/Lora/Mac/region/RegionAS923.h
Middlewares/Third_Party/Lora/Mac/region/RegionAU915.c
Middlewares/Third_Party/Lora/Mac/region/RegionAU915.h
Middlewares/Third_Party/Lora/Mac/region/RegionCN470.c
Middlewares/Third_Party/Lora/Mac/region/RegionCN470.h
Middlewares/Third_Party/Lora/Mac/region/RegionCN779.c
Middlewares/Third_Party/Lora/Mac/region/RegionCN779.h
Middlewares/Third_Party/Lora/Mac/region/RegionCommon.c
Middlewares/Third_Party/Lora/Mac/region/RegionCommon.h
Middlewares/Third_Party/Lora/Mac/region/RegionEU433.c
Middlewares/Third_Party/Lora/Mac/region/RegionEU433.h
Middlewares/Third_Party/Lora/Mac/region/RegionEU868.c
Middlewares/Third_Party/Lora/Mac/region/RegionEU868.h
Middlewares/Third_Party/Lora/Mac/region/RegionIN865.c
Middlewares/Third_Party/Lora/Mac/region/RegionIN865.h
Middlewares/Third_Party/Lora/Mac/region/RegionKR920.c
Middlewares/Third_Party/Lora/Mac/region/RegionKR920.h
Middlewares/Third_Party/Lora/Mac/region/RegionUS915.c
Middlewares/Third_Party/Lora/Mac/region/RegionUS915.h
Middlewares/Third_Party/Lora/Mac/region/RegionUS915-Hybrid.c
Middlewares/Third_Party/Lora/Mac/region/RegionUS915-Hybrid.h
Middlewares/Third_Party/Lora/Mac/LoRaMac.c
Middlewares/Third_Party/Lora/Mac/LoRaMac.h
Middlewares/Third_Party/Lora/Mac/LoRaMacCrypto.c
Middlewares/Third_Party/Lora/Mac/LoRaMacCrypto.h
Middlewares/Third_Party/Lora/Mac/LoRaMacTest.h
Middlewares/Third_Party/Lora/Mac/timer.h
Middlewares/Third_Party/Lora/Utilities/timeServer.c
Middlewares/Third_Party/Lora/Utilities/utilities.h
Middlewares/Third_Party/Lora/Utilities/low_power.h
Middlewares/Third_Party/Lora/Utilities/delay.h
Middlewares/Third_Party/Lora/Phy/radio.h
Middlewares/Third_Party/Lora/Utilities/utilities.c
Middlewares/Third_Party/Lora/Utilities/timeServer.h
Middlewares/Third_Party/Lora/Utilities/low_power.c
Middlewares/Third_Party/Lora/Utilities/delay.c
)
include_directories(Drivers/CMSIS/Device/ST/STM32L0xx/Include)
include_directories(Drivers/CMSIS/Include)
include_directories(Drivers/STM32L0xx_HAL_Driver/Inc)
include_directories(Drivers/STM32L0xx_HAL_Driver/Inc/Legacy)
include_directories(Inc
Middlewares/Third_Party/Lora/Core
Middlewares/Third_Party/Lora/Crypto
Middlewares/Third_Party/Lora/Mac
Middlewares/Third_Party/Lora/Phy
Middlewares/Third_Party/Lora/Utilities
Middlewares/Third_Party/Lora/Mac/region
)
add_executable(proj ${SOURCE_FILES})