Hi guys.
I'm trying to merge two projects ble_app_beacon and nrf_crypto_aes_cbc_with_padding.
I used nrf_crypto_aes_cbc_with_padding as base, copied it to another folder and then include all files required by ble_beacon and changed user include directories.
I'm using SES 5.52a
MacOS High Sierra 10.13.6
nRF5_SDK v16
nRF52832 DK
Original project path for nrf_crypto_aes_cbc_with_padding and new project which I renamed as nrf_ble_adv_crypto_s132_pca10040
NordicSemi/nRF5_SDK_16/examples/crypto/nrf_crypto/aes/aes_cbc_with_padding/pca10040/blank/ses/nrf_crypto_aes_cbc_with_padding_pca10040.emProject
NordicSemi/nRF5_SDK_16/workspace/crypto/nrf_crypto/aes/nrf_ble_adv_crypto_s132_pca10040/pca10040/blank/ses/nrf_ble_adv_crypto_s132_pca10040.emProject
I got lot of errors and couldn't solve it.
Building ‘nrf_ble_adv_crypto_s132’ from solution ‘nrf_ble_adv_crypto_aes_cbc_s132_pca10040’ in configuration ‘Debug’
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/thumb_crt0.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/bsp.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/nrf_hw_backend_init.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/nrf_hw_backend_rng.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/nrf_hw_backend_rng_mbedtls.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/boards.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/micro_ecc_backend_ecc.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/micro_ecc_backend_ecdh.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/micro_ecc_backend_ecdsa.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/app_button.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/app_error.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/app_error_handler_gcc.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/app_error_weak.o' is up to date
'Output/nrf_ble_adv_crypto_s132 Debug/Obj/app_scheduler.o' is up to date
Output/nrf_ble_adv_crypto_s132 Debug/Obj/app_timer2.o does not exist.
Compiling ‘app_timer2.c’
app_timer.h
app_timer2.c
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'list_item'
in expansion of macro 'offsetof'
in expansion of macro 'CONTAINER_OF'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'list_item'
in expansion of macro 'offsetof'
in expansion of macro 'CONTAINER_OF'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
app_timer2.c
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'handler'
in definition of macro 'ASSERT'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'active'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'repeat_period'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'active'
app_timer2.c
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'p_context'
in definition of macro 'LOG_INTERNAL_1'
in expansion of macro 'LOG_INTERNAL_X'
in expansion of macro 'LOG_INTERNAL'
in expansion of macro 'NRF_LOG_INTERNAL_MODULE'
in expansion of macro 'NRF_LOG_INTERNAL_DEBUG'
in expansion of macro 'NRF_LOG_DEBUG'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'handler'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'p_context'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'repeat_period'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'active'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'repeat_period'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'list_item'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'list_item'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
app_timer.h
app_timer2.c
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'list_item'
in expansion of macro 'offsetof'
in expansion of macro 'CONTAINER_OF'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'list_item'
in expansion of macro 'offsetof'
in expansion of macro 'CONTAINER_OF'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'active'
app_timer2.c
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
in definition of macro 'ASSERT'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'active'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'list_item'
app_timer2.c
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
in definition of macro 'LOG_INTERNAL_2'
in expansion of macro 'LOG_INTERNAL_X'
in expansion of macro 'LOG_INTERNAL'
in expansion of macro 'NRF_LOG_INTERNAL_INST'
in expansion of macro 'NRF_LOG_INTERNAL_INST_DEBUG'
in expansion of macro 'NRF_LOG_INST_DEBUG'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
in definition of macro 'LOG_INTERNAL_2'
in expansion of macro 'LOG_INTERNAL_X'
in expansion of macro 'LOG_INTERNAL'
in expansion of macro 'NRF_LOG_INTERNAL_INST'
in expansion of macro 'NRF_LOG_INTERNAL_INST_DEBUG'
in expansion of macro 'NRF_LOG_INST_DEBUG'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'active'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'active'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'list_item'
app_timer2.c
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
in definition of macro 'LOG_INTERNAL_2'
in expansion of macro 'LOG_INTERNAL_X'
in expansion of macro 'LOG_INTERNAL'
in expansion of macro 'NRF_LOG_INTERNAL_INST'
in expansion of macro 'NRF_LOG_INTERNAL_INST_DEBUG'
in expansion of macro 'NRF_LOG_INST_DEBUG'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
in definition of macro 'LOG_INTERNAL_2'
in expansion of macro 'LOG_INTERNAL_X'
in expansion of macro 'LOG_INTERNAL'
in expansion of macro 'NRF_LOG_INTERNAL_INST'
in expansion of macro 'NRF_LOG_INTERNAL_INST_DEBUG'
in expansion of macro 'NRF_LOG_INST_DEBUG'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'list_item'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'handler'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'repeat_period'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'active'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'p_context'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'end_val'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'repeat_period'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'repeat_period'
'app_timer_t' {aka 'struct app_timer_t'} has no member named 'active'
Output/nrf_ble_adv_crypto_s132 Debug/Obj/app_util_platform.o does not exist.
Compiling ‘app_util_platform.c’
Output/nrf_ble_adv_crypto_s132 Debug/Obj/blockwise.o does not exist.
Compiling ‘blockwise.c’
Build failed
I appreciate any help.