Автор: Alex_Golubev Aug 26 2018, 10:33
Привет.
Перетащил файлы из примера SPI в пример BLE_UART. С настройкой SPI.
При сборки IAR выдал ошибку Error[Li005]: no definition for "nrfx_spim_xfer".
Пути все проверил ошибок не нашел.
Включил SPI0_ENABLED 1.
Автор: Genadi Zawidowski Aug 26 2018, 10:56
Достал из-под кровати хрустальный шар... В отблесках заката вижу что в проекте смесь C и С++ файлов. Если нет, требуется больше информации. Проект, например.
Автор: Alex_Golubev Aug 26 2018, 11:04
Вот ссылка http://electronix.ru/redirect.php?https://yadi.sk/d/P7Gvget-3aZetw.
Путь к открытию nRF_52832\examples\ble_peripheral\ble_app_uart.
Посмотрите пожалуйста.
Автор: Makiavel Aug 26 2018, 12:46
Попробуй выставить в конфиге NRFX_SPIM_EXTENDED_ENABLED
Автор: Alex_Golubev Aug 26 2018, 13:15
Обнаружил, что #define SPI_ENABLED 0 изменил
#ifndef SPI_ENABLED
#define SPI_ENABLED 1
#endif
Без ошибок собрался.
Автор: Alex_Golubev Sep 2 2018, 16:15
Начал подключать АЦП и снова наступил на теже грабли. Получил аж 10 ошибок все перепроверял в sdk ошибок не нашел.
CODE
Error[Li005]: no definition for "nrfx_ppi_channel_enable" [referenced from C:\Users\Алексей\Desktop\nRF_52832\examples\ble_peripheral\ble_app_uart\pca10040\s132\iar\_build\main.o]
Error[Li005]: no definition for "nrfx_timer_init" [referenced from C:\Users\Алексей\Desktop\nRF_52832\examples\ble_peripheral\ble_app_uart\pca10040\s132\iar\_build\main.o]
Error[Li005]: no definition for "nrfx_timer_extended_compare" [referenced from C:\Users\Алексей\Desktop\nRF_52832\examples\ble_peripheral\ble_app_uart\pca10040\s132\iar\_build\main.o]
Error[Li005]: no definition for "nrfx_timer_enable" [referenced from C:\Users\Алексей\Desktop\nRF_52832\examples\ble_peripheral\ble_app_uart\pca10040\s132\iar\_build\main.o]
Error[Li005]: no definition for "nrfx_saadc_sample_task_get" [referenced from C:\Users\Алексей\Desktop\nRF_52832\examples\ble_peripheral\ble_app_uart\pca10040\s132\iar\_build\main.o]
Error[Li005]: no definition for "nrfx_ppi_channel_alloc" [referenced from C:\Users\Алексей\Desktop\nRF_52832\examples\ble_peripheral\ble_app_uart\pca10040\s132\iar\_build\main.o]
Error[Li005]: no definition for "nrfx_ppi_channel_assign" [referenced from C:\Users\Алексей\Desktop\nRF_52832\examples\ble_peripheral\ble_app_uart\pca10040\s132\iar\_build\main.o]
Error[Li005]: no definition for "nrfx_saadc_channel_init" [referenced from C:\Users\Алексей\Desktop\nRF_52832\examples\ble_peripheral\ble_app_uart\pca10040\s132\iar\_build\main.o]
Error[Li005]: no definition for "nrfx_saadc_buffer_convert" [referenced from C:\Users\Алексей\Desktop\nRF_52832\examples\ble_peripheral\ble_app_uart\pca10040\s132\iar\_build\main.o]
Error[Li005]: no definition for "nrfx_saadc_init" [referenced from C:\Users\Алексей\Desktop\nRF_52832\examples\ble_peripheral\ble_app_uart\pca10040\s132\iar\_build\main.o]
вот ссылка http://electronix.ru/redirect.php?https://yadi.sk/d/Bri0iVO03anTaq на проект