2

How does the build process for esp8266 work in arduino IDE. Arduino ide uses avr-gcc to compile programs For atmel micro controllers. Does it uses same for compiling programs for esp8266?

VE7JRO
2,51519 gold badges27 silver badges29 bronze badges
asked Apr 4, 2018 at 12:55
0

1 Answer 1

2

Does it uses same for compiling programs for esp8266 ?.

No. It uses xtensa-lx106-elf-gcc. The compiler has to match the architecture.

Most of the build "process" (as in the actions that are taken) is the same, but executables specific to the EXP8266's XTensa core are used. There's also a few extra things in there, like building the (optional) SPIFFS image, etc.

answered Apr 4, 2018 at 13:14
2
  • What about uploading code to the board, does it use avrdude for that. Is uploading process same for various boards like nodeMCU or wemos D1. Commented Apr 4, 2018 at 13:31
  • 2
    No, it uses the ESP8266 specific program, called esptool. Every executable run is the ESP8266 specific one. Commented Apr 4, 2018 at 13:31

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.