CMakeLists.txt

Wed, 26 Jun 2024 21:48:49 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 26 Jun 2024 21:48:49 +0200
branch
idf 5.1
changeset 136
89fc3c57282e
parent 129
31f9d3e4a85f
child 140
ac6ad7bd55c3
permissions
-rw-r--r--

Reverted gpio_pad_select_gpio() calls, added the correct include. Starting the unit works better now. Reverted some other small changes. In some parts the controller is very slow, possible spiffs issue?

74
cba50f7529d0 Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
1 # The following lines of boilerplate have to be in your project's CMakeLists
cba50f7529d0 Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
2 # in this exact order for cmake to work correctly
129
31f9d3e4a85f Start migration to IDF 5.1
Michiel Broek <mbroek@mbse.eu>
parents: 127
diff changeset
3 cmake_minimum_required(VERSION 3.16)
31f9d3e4a85f Start migration to IDF 5.1
Michiel Broek <mbroek@mbse.eu>
parents: 127
diff changeset
4
31f9d3e4a85f Start migration to IDF 5.1
Michiel Broek <mbroek@mbse.eu>
parents: 127
diff changeset
5
31f9d3e4a85f Start migration to IDF 5.1
Michiel Broek <mbroek@mbse.eu>
parents: 127
diff changeset
6 #find_package(EXPAT 2.6.2 MODULE REQUIRED)
31f9d3e4a85f Start migration to IDF 5.1
Michiel Broek <mbroek@mbse.eu>
parents: 127
diff changeset
7
31f9d3e4a85f Start migration to IDF 5.1
Michiel Broek <mbroek@mbse.eu>
parents: 127
diff changeset
8
136
89fc3c57282e Reverted gpio_pad_select_gpio() calls, added the correct include. Starting the unit works better now. Reverted some other small changes. In some parts the controller is very slow, possible spiffs issue?
Michiel Broek <mbroek@mbse.eu>
parents: 129
diff changeset
9 set(PROJECT_VER "0.4.0")
74
cba50f7529d0 Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
10 set(PROJECT_NAME "brewboard")
cba50f7529d0 Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
11
129
31f9d3e4a85f Start migration to IDF 5.1
Michiel Broek <mbroek@mbse.eu>
parents: 127
diff changeset
12
31f9d3e4a85f Start migration to IDF 5.1
Michiel Broek <mbroek@mbse.eu>
parents: 127
diff changeset
13 #target_link_libraries(brewboard PUBLIC expat::expat)
31f9d3e4a85f Start migration to IDF 5.1
Michiel Broek <mbroek@mbse.eu>
parents: 127
diff changeset
14
31f9d3e4a85f Start migration to IDF 5.1
Michiel Broek <mbroek@mbse.eu>
parents: 127
diff changeset
15 set(EXTRA_COMPONENT_DIRS components/esp32-ds18b20 components/esp32-owb components/PID components/spidriver components/tft components/websocket)
74
cba50f7529d0 Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
16 include($ENV{IDF_PATH}/tools/cmake/project.cmake)
cba50f7529d0 Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
17 project(brewboard)

mercurial