SparkFun edge example1 Makefile:193: recipe for target 'wired_update' failed

Hi, I get the following when I try to make bootload example1 in the Sparkfun Edge tutorial: What does it mean and how do I fix it?

Ubuntu 18.04

$ make bootload

Compiling gcc …/src/main.c

Compiling gcc …/…/…/…/…/devices/am_devices_led.c

Compiling gcc …/…/…/…/…/utils/am_util_delay.c

Compiling gcc …/…/…/…/…/utils/am_util_faultisr.c

Compiling gcc …/…/…/…/…/utils/am_util_stdio.c

Compiling gcc startup_gcc.c

Compiling gcc …/src/tf_adc/tf_adc.c

Compiling gcc …/src/tf_accelerometer/tf_accelerometer.c

…/src/tf_accelerometer/tf_accelerometer.c: In function ‘platform_read’:

…/src/tf_accelerometer/tf_accelerometer.c:336:31: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]

iomTransfer.pui32RxBuffer = bufp; // Link in the RX buffer

^

Compiling gcc …/src/tf_accelerometer/lis2dh12_reg.c

Linking gcc bin/example1_edge_test.axf

Copying gcc bin/example1_edge_test.bin…

…/…/…/…/…/tools/apollo3_scripts/create_cust_image_blob.py --bin bin/example1_edge_test.bin --load-address 0xC000 --magic-num 0xCB -o bin/main_nonsecure_ota --version 0x0

/bin/bash: …/…/…/…/…/tools/apollo3_scripts/create_cust_image_blob.py: Permission denied

Makefile:193: recipe for target ‘wired_update’ failed

make: *** [wired_update] Error 126

This is a file permissions issue most likely. For some reason your system does not allow ‘create_cust_image_blob.py’ to run.

  1. Make sure that file exists

  2. Use chmod +x on the file to set executable permissions (i.e. chmod +x create_cust_image_blob.py)

Keep us updated how that works for you!

Hi Liquid.soulder

This fixed it. Thank you