CMakeLists.txt

Fri, 28 Jun 2024 15:33:24 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 28 Jun 2024 15:33:24 +0200
branch
idf 5.1
changeset 137
e0f50087c909
parent 136
89fc3c57282e
child 140
ac6ad7bd55c3
permissions
-rw-r--r--

Fixed changing runtime datarecord size during switching between IDF 4.2 and 5.1. Fixed wiping the /spiffs filesystem. The directory listing from the SD card doesn't overwrite parts of the screen anymore. Solved the slow speed issue with the SD card. Try to force the SD card to operate at 20 MHz. More project settings changed to improve performance and memory usage.

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