Skip to content

Commit

Permalink
Update lt527x.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru authored Feb 2, 2024
1 parent 577d301 commit 8be17d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/board/lt527x.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set(CONFIG_CHIP_DCACHE True)
add_definitions(-DCONFIG_CHIP_SUN55IW3 -DCONFIG_CHIP_DCACHE)

set(CONFIG_USE_DRAM_PAYLOAD True)
set(CONFIG_USE_PREBUILT_DRAM_PAYLOAD False)
set(CONFIG_USE_PREBUILT_DRAM_PAYLOAD True)
set(CONFIG_USE_DRAM_PAYLOAD_SOURCE_PATH "${CMAKE_SOURCE_DIR}/payloads/sun55iw3_libdram")
set(CONFIG_USE_DRAM_PAYLOAD_BIN_PATH "${CONFIG_USE_DRAM_PAYLOAD_SOURCE_PATH}/output/ddr.bin")
set(CONFIG_USE_DRAM_PAYLOAD_FILE_PATH "${CMAKE_SOURCE_DIR}/board/lt527x/payloads/init_dram_bin.c")
Expand Down Expand Up @@ -54,4 +54,4 @@ if(NOT CONFIG_USE_PREBUILT_DRAM_PAYLOAD)
POST_BUILD COMMAND ${CMAKE_BIN2ARRAY} ${CONFIG_USE_DRAM_PAYLOAD_BIN_PATH} ${CONFIG_USE_DRAM_PAYLOAD_FILE_PATH} ${CONFIG_USE_DRAM_PAYLOAD_SECTION}
COMMENT "Generate DRAM LIB Payload ${CONFIG_USE_DRAM_PAYLOAD_BIN_PATH} for ${CONFIG_USE_DRAM_PAYLOAD_FILE_PATH}"
)
endif()
endif()

0 comments on commit 8be17d2

Please sign in to comment.