HI!
chip id --> DA14683
SDK --> DA1468x_DA15xxx_SDK_1.0.14.1081\projects\dk_apps\features\ble_peripheral
I want to enable spi adapter and find the entry pointer in DA1468x_DA15xxx_SDK_1.0.14.1081\sdk\bsp\config\bsp_defaults.h
when I set this flag dg_configUSE_HW_SPI to 1,the compiler result is successful .
But when I set this flag dg_configSPI_ADAPTER to 1,the compiler result always fail.
these are error message, Is there any codes or flags need to enable ? TKS.
kuda.
Description Resource Path Location Type
场“bus_data”不能解决ad_spi.c / ble_peripheral/sdk/adapters/src line 134 Semantic Error
场“bus_data”不能解决ad_spi.c / ble_peripheral/sdk/adapters/src line 183 Semantic Error
场“bus_data”不能解决ad_spi.c / ble_peripheral/sdk/adapters/src line 296 Semantic Error
场“bus_data”不能解决ad_spi.c / ble_peripheral/sdk/adapters/src line 336 Semantic Error
场“bus_data”不能解决ad_spi.c / ble_peripheral/sdk/adapters/src line 657 Semantic Error
场“bus_data”不能解决ad_spi.c / ble_peripheral/sdk/adapters/src line 660 Semantic Error
Field 'bus_id' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 200 Semantic Error
Field 'bus_id' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 238 Semantic Error
Field 'bus_id' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 353 Semantic Error
Field 'bus_id' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 365 Semantic Error
Field 'bus_id' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 414 Semantic Error
Field 'bus_id' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 449 Semantic Error
Field 'current_device' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 134 Semantic Error
Field 'current_device' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 183 Semantic Error
Field 'current_device' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 657 Semantic Error
Field 'current_device' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 660 Semantic Error
Field 'hw_init' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 137 Semantic Error
Field 'ignore_cs' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 139 Semantic Error
Field 'length' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 377 Semantic Error
Field 'length' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 379 Semantic Error
Field 'length' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 383 Semantic Error
Field 'open_devices_cnt' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 296 Semantic Error
Field 'open_devices_cnt' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 336 Semantic Error
Field 'OS_ASSERT(device->bus_data->current_device == device)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 204 Semantic Error
Field 'OS_ASSERT(device->bus_data->current_device == device)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 204 Semantic Error
Field 'OS_ASSERT(device->bus_data->current_device == device)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 243 Semantic Error
Field 'OS_ASSERT(device->bus_data->current_device == device)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 243 Semantic Error
Field 'OS_ASSERT(device->bus_data->open_devices_cnt)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 335 Semantic Error
Field 'OS_ASSERT(device->bus_data->open_devices_cnt)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 335 Semantic Error
Field 'OS_EVENT_CREATE(data->event)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 114 Semantic Error
Field 'OS_EVENT_SIGNAL_FROM_ISR(device->bus_data->event)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 359 Semantic Error
Field 'OS_EVENT_SIGNAL_FROM_ISR(device->bus_data->event)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 359 Semantic Error
字段“OS_EVENT_WAIT(设备- > bus_data - >事件,OS_EVENT_FOREVER)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 386 Semantic Error
字段“OS_EVENT_WAIT(设备- > bus_data - >事件,OS_EVENT_FOREVER)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 386 Semantic Error
字段“OS_EVENT_WAIT(设备- > bus_data - >事件,OS_EVENT_FOREVER)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 426 Semantic Error
字段“OS_EVENT_WAIT(设备- > bus_data - >事件,OS_EVENT_FOREVER)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 426 Semantic Error
字段“OS_EVENT_WAIT(设备- > bus_data - >事件,OS_EVENT_FOREVER)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 462 Semantic Error
字段“OS_EVENT_WAIT(设备- > bus_data - >事件,OS_EVENT_FOREVER)' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 462 Semantic Error
Field 'rbuf' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 375 Semantic Error
Field 'rbuf' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 376 Semantic Error
Field 'rbuf' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 383 Semantic Error
Field 'wbuf' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 374 Semantic Error
Field 'wbuf' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 376 Semantic Error
Field 'wbuf' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 379 Semantic Error
Type 'spi_bus_dynamic_data' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 113 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 109 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 128 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 166 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 166 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 199 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 199 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 216 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 216 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 237 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 237 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 288 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 288 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 322 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 322 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 351 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 351 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 358 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 358 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 364 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 364 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 408 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 413 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 443 Semantic Error
Type 'spi_device_config' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 448 Semantic Error
Type 'spi_device_id' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 117 Semantic Error
Type 'spi_device_id' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 286 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 164 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 197 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 212 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 235 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 251 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 269 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 286 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 317 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 320 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 349 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 362 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 395 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 406 Semantic Error
类型的spi_device不能be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 441 Semantic Error
Type 'spi_transfer_data' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 362 Semantic Error
Type 'spi_transfer_data' could not be resolved ad_spi.c /ble_peripheral/sdk/adapters/src line 398 Semantic Error
Hi kuda,
请看看SPI Adapter Concept. The key goals of this tutorial are to:
Thanks, PM_Dialog
this issue is solved. tks