Skip to content
Snippets Groups Projects
Commit 08f1789b authored by schneider's avatar schneider
Browse files

esp32: update to use v1.0.0 BSP

parent 3d23925d
No related branches found
No related tags found
No related merge requests found
# The following lines of boilerplate have to be in your project's cmake_minimum_required(VERSION 3.12)
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16) set(IDF_TARGET esp32s3)
include($ENV{IDF_PATH}/tools/cmake/project.cmake) include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(Go_Green) project(Go_Green)
# Make `1.1` literals into single-point precision float instead of double
# precision. Also warn any time something gets promoted to a double. We
# generally don't want doubles, doubles on ESP32 bad.
idf_component_get_property(flow3r_bsp_lib flow3r_bsp COMPONENT_LIB)
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
target_compile_options(${flow3r_bsp_lib} PRIVATE -cl-single-precision-constant -Wdouble-promotion)
else()
target_compile_options(${flow3r_bsp_lib} PRIVATE -fsingle-precision-constant -Wdouble-promotion)
endif()
Subproject commit dd8f80f4067acc7962ddcc984dea57e3dfd50b92 Subproject commit 869b749a7636d20f21b28086bf6c950e0f54856b
# Note: this is a simplified partition table, the real one lives in
# recovery/partitions.csv. If you flash this project fully, you will end up
# with a badge with no recovery app! Instead, always use `idf.py app-flash`
# here, and first do `idf.py erase_flash flash` in the recovery subfolder.
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
# 512KiB gap for recovery app.
app, app, factory, 0x90000, 0x300000,
vfs, data, fat, 0x390000, 0xc70000,
flow3r/partitions.csv
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment