Skip to content

Commit

Permalink
#33 - Builds with latest IDF.
Browse files Browse the repository at this point in the history
  • Loading branch information
PerMalmberg committed Jun 15, 2019
1 parent 054868b commit 7eb6b4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/smooth/core/Task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <smooth/core/ipc/Publisher.h>

#ifdef ESP_PLATFORM
#include "esp_pthread.h"
#include <esp_pthread.h>
#include <freertos/task.h>
#endif

Expand Down
5 changes: 3 additions & 2 deletions lib/smooth/idf_utils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ set(smooth_req_comps
lwip
json
mbedtls
xtensa)
xtensa
pthread)

function(smooth_link_to_idf target)
if(${CMAKE_CXX_COMPILER} MATCHES "xtensa")
Expand All @@ -40,7 +41,7 @@ function(smooth_setup target)
idf_build_component("${CMAKE_SOURCE_DIR}/lib/smooth/smooth_idf_component")

idf_build_process(esp32
COMPONENTS ${smooth_req_comps}
COMPONENTS ${smooth_req_comps} smooth_idf_component
SDKCONFIG ${CMAKE_CURRENT_LIST_DIR}/sdkconfig
BUILD_DIR ${CMAKE_BINARY_DIR})

Expand Down

0 comments on commit 7eb6b4c

Please sign in to comment.