[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: Add openocd programming support (#16911)

Erik Ekman notifications at github.com
Wed Sep 29 22:29:00 CEST 2021


@yarrick commented on this pull request.



> +# The ELFFILE is defined by default in $(RIOTBASE)/Makefile.include but only
+# after the this file is included, so we need ELFFILE defined earlier.
+# This is used to create new make rules in this file (based on FLASHFILE)
+# and can't be deferred.
+ELFFILE ?= $(BINDIR)/$(APPLICATION).elf
+FLASHFILE ?= $(ELFFILE).bin

Yes. Without ELFFILE defined here I get: 
```
$ make
Building application "paho-mqtt-example" for "esp32-ethernet-kit-v1_2" with MCU "esp32".

make: *** No rule to make target '.../esp/RIOT/examples/paho-mqtt/bin/esp32-ethernet-kit-v1_2/paho-mqtt-example.elf.bin', needed by 'link'.  Stop.
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16911#discussion_r718860324
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210929/c2b84c29/attachment.htm>


More information about the notifications mailing list