Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
onkwon committed Jan 14, 2024
1 parent dabc18e commit 6223c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ports/esp-idf/build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ add_executable(${PROJECT_EXECUTABLE}
${LIBMCU_ROOT}/ports/posix/button.c
)

idf_build_set_property(COMPILE_DEFINITIONS traceTASK_SWITCHED_IN=on_task_switch_in APPEND)
idf_build_set_property(COMPILE_DEFINITIONS xPortIsInsideInterrupt=xPortInIsrContext APPEND)
idf_build_set_property(COMPILE_DEFINITIONS -DtraceTASK_SWITCHED_IN=on_task_switch_in APPEND)
idf_build_set_property(COMPILE_DEFINITIONS -DxPortIsInsideInterrupt=xPortInIsrContext APPEND)
idf_build_set_property(C_COMPILE_OPTIONS "-Wno-implicit-function-declaration" APPEND)

target_compile_definitions(${PROJECT_EXECUTABLE} PUBLIC ${APP_DEFS})
Expand Down

0 comments on commit 6223c34

Please sign in to comment.