-
Notifications
You must be signed in to change notification settings - Fork 97
/
define-rpi3-yocto.txt
16 lines (14 loc) · 903 Bytes
/
define-rpi3-yocto.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
include(${CMAKE_SOURCE_DIR}/define.txt)
remove_definitions(-DMBED_CLOUD_CLIENT_FOTA_LINUX_SINGLE_MAIN_FILE=1)
add_definitions(-DPAL_FS_MOUNT_POINT_PRIMARY="\\"/mnt/config\\"")
add_definitions(-DPAL_FS_MOUNT_POINT_SECONDARY="\\"/mnt/config\\"")
add_definitions(-DFOTA_TRACE_ENABLE=1)
add_definitions(-DFOTA_TRACE_DBG=1)
add_definitions(-DFOTA_DEFAULT_APP_IFS=1)
add_definitions(-DUSE_ACTIVATION_SCRIPT=1)
add_definitions(-DMBED_CLOUD_CLIENT_FOTA_STORAGE_SIZE=0x5000000)
add_definitions(-DMBED_CLOUD_CLIENT_FOTA_LINUX_UPDATE_STORAGE_FILENAME="\\"/mnt/cache/fota_update_storage\\"")
add_definitions(-DMBED_CLOUD_CLIENT_FOTA_LINUX_CANDIDATE_FILENAME="\\"/mnt/cache/fota_raw_candidate\\"")
add_definitions(-DMBED_CLOUD_CLIENT_FOTA_LINUX_HEADER_FILENAME="\\"/mnt/cache/fota_fw_metadata\\"")
# curl fix - https://github.com/curl/curl/issues/7988
set (CURL_USE_OPENSSL OFF CACHE BOOL "disable openssl" FORCE)