реклама на сайте
подробности

 
 
 
Reply to this topicStart new topic
> IAR не могу найти ошибку
Alex_Golubev
сообщение Aug 26 2018, 10:33
Сообщение #1


Местный
***

Группа: Участник
Сообщений: 280
Регистрация: 18-03-17
Пользователь №: 95 877



Привет.
Перетащил файлы из примера SPI в пример BLE_UART. С настройкой SPI.
При сборки IAR выдал ошибку Error[Li005]: no definition for "nrfx_spim_xfer".
Пути все проверил ошибок не нашел.
Включил SPI0_ENABLED 1.
Go to the top of the page
 
+Quote Post
Genadi Zawidowsk...
сообщение Aug 26 2018, 10:56
Сообщение #2


Профессионал
*****

Группа: Участник
Сообщений: 1 620
Регистрация: 22-06-07
Из: Санкт-Петербург, Россия
Пользователь №: 28 634



Достал из-под кровати хрустальный шар... В отблесках заката вижу что в проекте смесь C и С++ файлов. Если нет, требуется больше информации. Проект, например.
Go to the top of the page
 
+Quote Post
Alex_Golubev
сообщение Aug 26 2018, 11:04
Сообщение #3


Местный
***

Группа: Участник
Сообщений: 280
Регистрация: 18-03-17
Пользователь №: 95 877



Вот ссылка https://yadi.sk/d/P7Gvget-3aZetw.
Путь к открытию nRF_52832\examples\ble_peripheral\ble_app_uart.
Посмотрите пожалуйста.

Сообщение отредактировал Alex_Golubev - Aug 26 2018, 11:05
Go to the top of the page
 
+Quote Post
Makiavel
сообщение Aug 26 2018, 12:46
Сообщение #4





Группа: Новичок
Сообщений: 1
Регистрация: 24-12-15
Из: Днепропетровск, Украина
Пользователь №: 89 831



Попробуй выставить в конфиге NRFX_SPIM_EXTENDED_ENABLED
Go to the top of the page
 
+Quote Post
Alex_Golubev
сообщение Aug 26 2018, 13:15
Сообщение #5


Местный
***

Группа: Участник
Сообщений: 280
Регистрация: 18-03-17
Пользователь №: 95 877



Обнаружил, что #define SPI_ENABLED 0 изменил

#ifndef SPI_ENABLED
#define SPI_ENABLED 1
#endif

Без ошибок собрался.
Go to the top of the page
 
+Quote Post
Alex_Golubev
сообщение Sep 2 2018, 16:15
Сообщение #6


Местный
***

Группа: Участник
Сообщений: 280
Регистрация: 18-03-17
Пользователь №: 95 877



Начал подключать АЦП и снова наступил на теже грабли. Получил аж 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]


вот ссылка https://yadi.sk/d/Bri0iVO03anTaq на проект

Сообщение отредактировал Alex_Golubev - Sep 2 2018, 16:19
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 18th April 2024 - 06:19
Рейтинг@Mail.ru


Страница сгенерированна за 0.01426 секунд с 7
ELECTRONIX ©2004-2016