Hello Everyone
I am really new to everything here, i just got nRF 52832 board,
Can anyone please tell me the step-by- step method on how to make a program in keil uVision.
Any help will be greatly appreciated.
thanks in advance
Hello Everyone
I am really new to everything here, i just got nRF 52832 board,
Can anyone please tell me the step-by- step method on how to make a program in keil uVision.
Any help will be greatly appreciated.
thanks in advance
Hi,
There is a blinky example in the SDK. Its located in the folder:
<SDK_InstallFolder>\examples\peripheral\blinky
You can download the SDK 12.2 here.
i tried this example given on this thread( github.com/.../main.c ) for ble+saadc, but i don't know why it gives the following error -
compiling ble_nus.c... "no source": Error: #5: cannot open source input file "............\components\ble\ble_services\ble_nus\ble_nus.c": No such file or directory ............\components\ble\ble_services\ble_nus\ble_nus.c: 0 warnings, 1 error compiling bsp.c... "no source": Error: #5: cannot open source input file "..........\bsp\bsp.c": No such file or directory ..........\bsp\bsp.c: 0 warnings, 1 error compiling ble_advdata.c... "no source": Error: #5: cannot open source input file "............\components\ble\common\ble_advdata.c": No such file or directory ............\components\ble\common\ble_advdata.c: 0 warnings, 1 error compiling ble_advertising.c... "no source": Error: #5: cannot open source input file "............\components\ble\ble_advertising\ble_advertising.c": No such file or directory ............\components\ble\ble_advertising\ble_advertising.c: 0 warnings, 1 error compiling main.c... ......\main.c(28): error: #5: cannot open source input file "nordic_common.h": No such file or directory #include "nordic_common.h" ......\main.c: 0 warnings, 1 error compiling bsp_btn_ble.c... "no source": Error: #5: cannot open source input file "..........\bsp\bsp_btn_ble.c": No such file or directory ..........\bsp\bsp_btn_ble.c: 0 warnings, 1 error compiling ble_conn_params.c... "no source": Error: #5: cannot open source input file "............\components\ble\common\ble_conn_params.c": No such file or directory ............\components\ble\common\ble_conn_params.c: 0 warnings, 1 error compiling nrf_drv_uart.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\uart\nrf_drv_uart.c": No such file or directory ............\components\drivers_nrf\uart\nrf_drv_uart.c: 0 warnings, 1 error compiling ble_srv_common.c... "no source": Error: #5: cannot open source input file "............\components\ble\common\ble_srv_common.c": No such file or directory ............\components\ble\common\ble_srv_common.c: 0 warnings, 1 error compiling pstorage.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\pstorage\pstorage.c": No such file or directory ............\components\drivers_nrf\pstorage\pstorage.c: 0 warnings, 1 error compiling nrf_drv_common.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\common\nrf_drv_common.c": No such file or directory ............\components\drivers_nrf\common\nrf_drv_common.c: 0 warnings, 1 error compiling nrf_drv_gpiote.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\gpiote\nrf_drv_gpiote.c": No such file or directory ............\components\drivers_nrf\gpiote\nrf_drv_gpiote.c: 0 warnings, 1 error compiling nrf_delay.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\delay\nrf_delay.c": No such file or directory ............\components\drivers_nrf\delay\nrf_delay.c: 0 warnings, 1 error compiling app_uart_fifo.c... "no source": Error: #5: cannot open source input file "............\components\libraries\uart\app_uart_fifo.c": No such file or directory ............\components\libraries\uart\app_uart_fifo.c: 0 warnings, 1 error compiling nrf_drv_ppi.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\ppi\nrf_drv_ppi.c": No such file or directory ............\components\drivers_nrf\ppi\nrf_drv_ppi.c: 0 warnings, 1 error compiling app_button.c... "no source": Error: #5: cannot open source input file "............\components\libraries\button\app_button.c": No such file or directory ............\components\libraries\button\app_button.c: 0 warnings, 1 error compiling nrf_drv_timer.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\timer\nrf_drv_timer.c": No such file or directory ............\components\drivers_nrf\timer\nrf_drv_timer.c: 0 warnings, 1 error compiling app_error.c... "no source": Error: #5: cannot open source input file "............\components\libraries\util\app_error.c": No such file or directory ............\components\libraries\util\app_error.c: 0 warnings, 1 error compiling app_error_weak.c... "no source": Error: #5: cannot open source input file "............\components\libraries\util\app_error_weak.c": No such file or directory ............\components\libraries\util\app_error_weak.c: 0 warnings, 1 error compiling nrf_saadc.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\hal\nrf_saadc.c": No such file or directory ............\components\drivers_nrf\hal\nrf_saadc.c: 0 warnings, 1 error compiling nrf_drv_saadc.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\saadc\nrf_drv_saadc.c": No such file or directory ............\components\drivers_nrf\saadc\nrf_drv_saadc.c: 0 warnings, 1 error compiling app_fifo.c... "no source": Error: #5: cannot open source input file "............\components\libraries\fifo\app_fifo.c": No such file or directory ............\components\libraries\fifo\app_fifo.c: 0 warnings, 1 error compiling app_timer.c... "no source": Error: #5: cannot open source input file "............\components\libraries\timer\app_timer.c": No such file or directory ............\components\libraries\timer\app_timer.c: 0 warnings, 1 error compiling fstorage.c... "no source": Error: #5: cannot open source input file "............\components\libraries\fstorage\fstorage.c": No such file or directory ............\components\libraries\fstorage\fstorage.c: 0 warnings, 1 error compiling retarget.c... "no source": Error: #5: cannot open source input file "............\components\libraries\uart\retarget.c": No such file or directory ............\components\libraries\uart\retarget.c: 0 warnings, 1 error compiling app_util_platform.c... "no source": Error: #5: cannot open source input file "............\components\libraries\util\app_util_platform.c": No such file or directory ............\components\libraries\util\app_util_platform.c: 0 warnings, 1 error compiling nrf_assert.c... "no source": Error: #5: cannot open source input file "............\components\libraries\util\nrf_assert.c": No such file or directory ............\components\libraries\util\nrf_assert.c: 0 warnings, 1 error compiling nrf_log.c... "no source": Error: #5: cannot open source input file "............\components\libraries\util\nrf_log.c": No such file or directory ............\components\libraries\util\nrf_log.c: 0 warnings, 1 error compiling RTT_Syscalls_KEIL.c... "no source": Error: #5: cannot open source input file "............\external\segger_rtt\RTT_Syscalls_KEIL.c": No such file or directory ............\external\segger_rtt\RTT_Syscalls_KEIL.c: 0 warnings, 1 error compiling SEGGER_RTT.c... "no source": Error: #5: cannot open source input file "............\external\segger_rtt\SEGGER_RTT.c": No such file or directory ............\external\segger_rtt\SEGGER_RTT.c: 0 warnings, 1 error compiling SEGGER_RTT_printf.c... "no source": Error: #5: cannot open source input file "............\external\segger_rtt\SEGGER_RTT_printf.c": No such file or directory ............\external\segger_rtt\SEGGER_RTT_printf.c: 0 warnings, 1 error compiling softdevice_handler.c... "no source": Error: #5: cannot open source input file "............\components\softdevice\common\softdevice_handler\softdevice_handler.c": No such file or directory ............\components\softdevice\common\softdevice_handler\softdevice_handler.c: 0 warnings, 1 error assembling arm_startup_nrf52.s... compiling system_nrf52.c... "._build\nrf52832_xxaa_s132.axf" - 1 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:02
i tried this example given on this thread( github.com/.../main.c ) for ble+saadc, but i don't know why it gives the following error -
compiling ble_nus.c... "no source": Error: #5: cannot open source input file "............\components\ble\ble_services\ble_nus\ble_nus.c": No such file or directory ............\components\ble\ble_services\ble_nus\ble_nus.c: 0 warnings, 1 error compiling bsp.c... "no source": Error: #5: cannot open source input file "..........\bsp\bsp.c": No such file or directory ..........\bsp\bsp.c: 0 warnings, 1 error compiling ble_advdata.c... "no source": Error: #5: cannot open source input file "............\components\ble\common\ble_advdata.c": No such file or directory ............\components\ble\common\ble_advdata.c: 0 warnings, 1 error compiling ble_advertising.c... "no source": Error: #5: cannot open source input file "............\components\ble\ble_advertising\ble_advertising.c": No such file or directory ............\components\ble\ble_advertising\ble_advertising.c: 0 warnings, 1 error compiling main.c... ......\main.c(28): error: #5: cannot open source input file "nordic_common.h": No such file or directory #include "nordic_common.h" ......\main.c: 0 warnings, 1 error compiling bsp_btn_ble.c... "no source": Error: #5: cannot open source input file "..........\bsp\bsp_btn_ble.c": No such file or directory ..........\bsp\bsp_btn_ble.c: 0 warnings, 1 error compiling ble_conn_params.c... "no source": Error: #5: cannot open source input file "............\components\ble\common\ble_conn_params.c": No such file or directory ............\components\ble\common\ble_conn_params.c: 0 warnings, 1 error compiling nrf_drv_uart.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\uart\nrf_drv_uart.c": No such file or directory ............\components\drivers_nrf\uart\nrf_drv_uart.c: 0 warnings, 1 error compiling ble_srv_common.c... "no source": Error: #5: cannot open source input file "............\components\ble\common\ble_srv_common.c": No such file or directory ............\components\ble\common\ble_srv_common.c: 0 warnings, 1 error compiling pstorage.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\pstorage\pstorage.c": No such file or directory ............\components\drivers_nrf\pstorage\pstorage.c: 0 warnings, 1 error compiling nrf_drv_common.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\common\nrf_drv_common.c": No such file or directory ............\components\drivers_nrf\common\nrf_drv_common.c: 0 warnings, 1 error compiling nrf_drv_gpiote.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\gpiote\nrf_drv_gpiote.c": No such file or directory ............\components\drivers_nrf\gpiote\nrf_drv_gpiote.c: 0 warnings, 1 error compiling nrf_delay.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\delay\nrf_delay.c": No such file or directory ............\components\drivers_nrf\delay\nrf_delay.c: 0 warnings, 1 error compiling app_uart_fifo.c... "no source": Error: #5: cannot open source input file "............\components\libraries\uart\app_uart_fifo.c": No such file or directory ............\components\libraries\uart\app_uart_fifo.c: 0 warnings, 1 error compiling nrf_drv_ppi.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\ppi\nrf_drv_ppi.c": No such file or directory ............\components\drivers_nrf\ppi\nrf_drv_ppi.c: 0 warnings, 1 error compiling app_button.c... "no source": Error: #5: cannot open source input file "............\components\libraries\button\app_button.c": No such file or directory ............\components\libraries\button\app_button.c: 0 warnings, 1 error compiling nrf_drv_timer.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\timer\nrf_drv_timer.c": No such file or directory ............\components\drivers_nrf\timer\nrf_drv_timer.c: 0 warnings, 1 error compiling app_error.c... "no source": Error: #5: cannot open source input file "............\components\libraries\util\app_error.c": No such file or directory ............\components\libraries\util\app_error.c: 0 warnings, 1 error compiling app_error_weak.c... "no source": Error: #5: cannot open source input file "............\components\libraries\util\app_error_weak.c": No such file or directory ............\components\libraries\util\app_error_weak.c: 0 warnings, 1 error compiling nrf_saadc.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\hal\nrf_saadc.c": No such file or directory ............\components\drivers_nrf\hal\nrf_saadc.c: 0 warnings, 1 error compiling nrf_drv_saadc.c... "no source": Error: #5: cannot open source input file "............\components\drivers_nrf\saadc\nrf_drv_saadc.c": No such file or directory ............\components\drivers_nrf\saadc\nrf_drv_saadc.c: 0 warnings, 1 error compiling app_fifo.c... "no source": Error: #5: cannot open source input file "............\components\libraries\fifo\app_fifo.c": No such file or directory ............\components\libraries\fifo\app_fifo.c: 0 warnings, 1 error compiling app_timer.c... "no source": Error: #5: cannot open source input file "............\components\libraries\timer\app_timer.c": No such file or directory ............\components\libraries\timer\app_timer.c: 0 warnings, 1 error compiling fstorage.c... "no source": Error: #5: cannot open source input file "............\components\libraries\fstorage\fstorage.c": No such file or directory ............\components\libraries\fstorage\fstorage.c: 0 warnings, 1 error compiling retarget.c... "no source": Error: #5: cannot open source input file "............\components\libraries\uart\retarget.c": No such file or directory ............\components\libraries\uart\retarget.c: 0 warnings, 1 error compiling app_util_platform.c... "no source": Error: #5: cannot open source input file "............\components\libraries\util\app_util_platform.c": No such file or directory ............\components\libraries\util\app_util_platform.c: 0 warnings, 1 error compiling nrf_assert.c... "no source": Error: #5: cannot open source input file "............\components\libraries\util\nrf_assert.c": No such file or directory ............\components\libraries\util\nrf_assert.c: 0 warnings, 1 error compiling nrf_log.c... "no source": Error: #5: cannot open source input file "............\components\libraries\util\nrf_log.c": No such file or directory ............\components\libraries\util\nrf_log.c: 0 warnings, 1 error compiling RTT_Syscalls_KEIL.c... "no source": Error: #5: cannot open source input file "............\external\segger_rtt\RTT_Syscalls_KEIL.c": No such file or directory ............\external\segger_rtt\RTT_Syscalls_KEIL.c: 0 warnings, 1 error compiling SEGGER_RTT.c... "no source": Error: #5: cannot open source input file "............\external\segger_rtt\SEGGER_RTT.c": No such file or directory ............\external\segger_rtt\SEGGER_RTT.c: 0 warnings, 1 error compiling SEGGER_RTT_printf.c... "no source": Error: #5: cannot open source input file "............\external\segger_rtt\SEGGER_RTT_printf.c": No such file or directory ............\external\segger_rtt\SEGGER_RTT_printf.c: 0 warnings, 1 error compiling softdevice_handler.c... "no source": Error: #5: cannot open source input file "............\components\softdevice\common\softdevice_handler\softdevice_handler.c": No such file or directory ............\components\softdevice\common\softdevice_handler\softdevice_handler.c: 0 warnings, 1 error assembling arm_startup_nrf52.s... compiling system_nrf52.c... "._build\nrf52832_xxaa_s132.axf" - 1 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:02