first time user having problems with make and basic setup of GCC

Asked by Ray Grauberger on 2017-12-07

I am following an example for the Nordic nRF52832 SOC. https://github.com/sparkfun/nRF52832_Breakout/tree/master/Firmware/bootloader-custom is the web link to instructions and source. I keep getting file not found and the make command listed at the bottom of the instructions do not work. I have hacked my way thru the makefile but I believe I have environment variable issues. I also had to download a non GCC make executable.

Here is my output when I try to build

Compiling file: app_error.c
process_begin: CreateProcess(NULL, "C:/Program Files/GNU Tools ARM Embedded/4.9 2015q1/bin/arm-none-eabi-gcc" -DNRF52 -DBOARD_CUSTOM -DNRF52_PAN_12 -DNRF52_PAN_15 -DNRF52_PAN_58 -DNRF52_PAN_55 -DNRF52_PAN_54 -DNRF52_PAN_
31 -DNRF52_PAN_30 -DNRF52_PAN_51 -DNRF52_PAN_36 -DNRF52_PAN_53 -D__HEAP_SIZE=0 -DS132 -DCONFIG_GPIO_AS_PINRESET -DBLE_STACK_SUPPORT_REQD -DBSP_DEFINES_ONLY -DSWI_DISABLE0 -DNRF52_PAN_20 -DNRF52_PAN_64 -DSOFTDEVICE_PRESEN
T -DNRF52_PAN_62 -DNRF52_PAN_63 -mcpu=cortex-m4 -mthumb -mabi=aapcs --std=gnu99 -Wall -Werror -Os -g3 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums
 -I . /config/dfu_dual_bank_serial_s132_pca10040 -I . /config -I NRF11/components/libraries/bootloader_dfu/hci_transport -I NRF11/components/libraries/bootloader_dfu -I NRF11/components/libraries/scheduler -I NRF11/compo
nents/drivers_nrf/config -I NRF11/examples/bsp -I NRF11/components/drivers_nrf/delay -I NRF11/components/libraries/crc16 -I NRF11/components/softdevice/s132/headers/nrf52 -I NRF11/components/libraries/util -I NRF11/compo
nents/drivers_nrf/pstorage -I NRF11/components/drivers_nrf/uart -I NRF11/components/ble/common -I NRF11/components/libraries/hci/config -I NRF11/components/libraries/uart -I NRF11/components/device -I NRF11/components/li
braries/hci -I NRF11/components/libraries/timer -I NRF11/components/softdevice/s132/headers -I NRF11/components/toolchain/CMSIS/Include -I NRF11/components/drivers_nrf/hal -I NRF11/components/toolchain/gcc -I NRF11/compo
nents/toolchain -I NRF11/components/drivers_nrf/common -I NRF11/components/softdevice/common/softdevice_handler -I NRF11/components/libraries/simple_timer -I NRF11/components/drivers_nrf/timer -c -o _build/app_error.o NR
F11/components/libraries/util/app_error.c, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:230: recipe for target '_build/app_error.o' failed
make: *** [_build/app_error.o] Error 2

Question information

Language:
English Edit question
Status:
Answered
For:
GNU ARM Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
2017-12-07
Last reply:
2017-12-07
Tejas Belagod (belagod-tejas) said : #1

Im not sure if this is an arm-gcc issue or some issue with the build. A quick browse of the link above suggests app_error.c is not part of the dir tree.

If you could provide us a self-contained tarball of sources that we can use to quickly reproduce the error, it would be better than us trying to bring up the build from scratch. Thanks.

Can you help with this problem?

Provide an answer of your own, or ask Ray Grauberger for more information if necessary.

To post a message you must log in.