fix ram overflow with ram41

This commit is contained in:
hathach 2024-04-05 16:28:17 +07:00
parent 5b2441d8a3
commit 2f9700dc2b
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52
2 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,9 @@ set(MCU_VARIANT ra4m1)
set(JLINK_DEVICE R7FA4M1AB)
function(update_board TARGET)
# target_compile_definitions(${TARGET} PUBLIC)
target_compile_definitions(${TARGET} PUBLIC
CFG_EXAMPLE_VIDEO_READONLY
)
# target_sources(${TARGET} PRIVATE)
# target_include_directories(${BOARD_TARGET} PUBLIC)
endfunction()

View File

@ -5,7 +5,9 @@ set(JLINK_DEVICE R7FA4M1AB)
set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld)
function(update_board TARGET)
# target_compile_definitions(${TARGET} PUBLIC)
target_compile_definitions(${TARGET} PUBLIC
CFG_EXAMPLE_VIDEO_READONLY
)
# target_sources(${TARGET} PRIVATE)
# target_include_directories(${BOARD_TARGET} PUBLIC)
endfunction()