Skip to content

Commit

Permalink
feat(repo): finish high_perf/v3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lzw655 committed Aug 26, 2024
1 parent e6cd95f commit 9712908
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build_sdk_manual_v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,9 @@ on:
target:
type: choice
description: Choose Target
default: 'all'
default: 'esp32s3'
options:
- 'all'
- 'esp32'
- 'esp32s2'
- 'esp32s3'
- 'esp32c3'
- 'esp32c6'
- 'esp32h6'
log_level:
type: choice
description: Choose Log Level
Expand Down
16 changes: 9 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,33 @@ cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(arduino-lib-builder)

idf_build_set_property(COMPILE_OPTIONS -Wno-error=maybe-uninitialized APPEND)
idf_build_set_property(COMPILE_OPTIONS -Wno-error=stringop-truncation APPEND)
idf_build_get_property(elf EXECUTABLE GENERATOR_EXPRESSION)

add_custom_command(
OUTPUT "idf_libs"
OUTPUT "idf_libs"
COMMAND ${CMAKE_SOURCE_DIR}/tools/copy-libs.sh ${IDF_TARGET} "${CONFIG_LIB_BUILDER_FLASHMODE}" "${CONFIG_SPIRAM_MODE_OCT}" "${CONFIG_IDF_TARGET_ARCH_XTENSA}"
DEPENDS ${elf}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
VERBATIM
)
add_custom_target(idf-libs DEPENDS "idf_libs")

add_custom_command(
OUTPUT "copy_bootloader"
OUTPUT "copy_bootloader"
COMMAND ${CMAKE_SOURCE_DIR}/tools/copy-bootloader.sh ${IDF_TARGET} "${CONFIG_LIB_BUILDER_FLASHMODE}" "${CONFIG_LIB_BUILDER_FLASHFREQ}"
DEPENDS bootloader
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
DEPENDS bootloader
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
VERBATIM
)
add_custom_target(copy-bootloader DEPENDS "copy_bootloader")

add_custom_command(
OUTPUT "mem_variant"
OUTPUT "mem_variant"
COMMAND ${CMAKE_SOURCE_DIR}/tools/copy-mem-variant.sh ${IDF_TARGET} "${CONFIG_LIB_BUILDER_FLASHMODE}" "${CONFIG_SPIRAM_MODE_OCT}"
DEPENDS ${elf}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
VERBATIM
)
add_custom_target(mem-variant DEPENDS "mem_variant")
3 changes: 3 additions & 0 deletions configs/defconfig.esp32s3
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ CONFIG_ULP_COPROC_ENABLED=y
CONFIG_ULP_COPROC_TYPE_FSM=y
# CONFIG_ULP_COPROC_TYPE_RISCV=y
CONFIG_ULP_COPROC_RESERVE_MEM=512

CONFIG_COMPILER_OPTIMIZATION_PERF=y
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
5 changes: 4 additions & 1 deletion configs/defconfig.opi_ram
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
CONFIG_SPIRAM_MODE_OCT=y
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
# CONFIG_SPIRAM_MEMTEST is not set
# CONFIG_SPIRAM_MEMTEST is not set

CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
CONFIG_SPIRAM_RODATA=y

0 comments on commit 9712908

Please sign in to comment.