-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
67 lines (63 loc) · 2.74 KB
/
CMakeLists.txt
File metadata and controls
67 lines (63 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Validate CMake version
cmake_minimum_required(VERSION 3.16.0)
# Append component directories
list(APPEND EXTRA_COMPONENT_DIRS
# Utility related components
"components/utilities/esp_cla"
"components/utilities/sensirion_gas_index_algorithm"
"components/utilities/esp_kalman_motion"
"components/utilities/esp_pressure_tendency"
"components/utilities/esp_scalar_trend"
"components/utilities/esp_type_utils"
"components/utilities/esp_uuid"
# ADC peripheral related components
"components/peripherals/adc/esp_s12sd"
# I2c peripheral related components
"components/peripherals/i2c/esp_ahtxx"
"components/peripherals/i2c/esp_ak8975"
"components/peripherals/i2c/esp_as3935"
"components/peripherals/i2c/esp_as7341"
"components/peripherals/i2c/esp_at24cxxx"
"components/peripherals/i2c/esp_bh1750"
"components/peripherals/i2c/esp_bme680"
"components/peripherals/i2c/esp_bmp280"
"components/peripherals/i2c/esp_bmp390"
"components/peripherals/i2c/esp_ccs811"
"components/peripherals/i2c/esp_ens160"
"components/peripherals/i2c/esp_hdc1080"
"components/peripherals/i2c/esp_hmc5883l"
"components/peripherals/i2c/esp_ina226"
"components/peripherals/i2c/esp_ina228"
"components/peripherals/i2c/esp_ltr390uv"
"components/peripherals/i2c/esp_max30105"
"components/peripherals/i2c/esp_mlx90614"
"components/peripherals/i2c/esp_mmc56x3"
"components/peripherals/i2c/esp_mpu6050"
"components/peripherals/i2c/esp_pct2075"
"components/peripherals/i2c/esp_sgp4x"
"components/peripherals/i2c/esp_sht4x"
"components/peripherals/i2c/esp_ssd1306"
"components/peripherals/i2c/esp_tcs3472"
"components/peripherals/i2c/esp_tlv493d"
"components/peripherals/i2c/esp_veml6040"
"components/peripherals/i2c/esp_veml7700"
# OWB peripheral related components
"components/peripherals/owb/onewire_bus"
"components/peripherals/owb/esp_ds18b20"
# SPI peripheral related components
"components/peripherals/spi/esp_max31865"
# UART peripheral related components
"components/peripherals/uart/esp_mux4052a"
# Schedule related components
"components/schedule/esp_time_into_interval"
# Storage related components
"components/storage/esp_datalogger"
"components/storage/esp_nvs_ext"
)
# Include project.cmake at the top level, before project() is called.
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# Enable if components should be synchronized with platformio and esp-idf registries
idf_build_set_property(COMPONENT_REGISTRY_SYNC "ENABLED") # Registry synchronization is ENABLED OR DISABLED
idf_build_set_property(COMPONENT_REGISTRY_OWNER "k0i05") # PlatformIO registry owner name
# Set project name
project(ESP32-S3_ESP-IDF_COMPONENTS)