joicetm wrote:thanks for all the good work
I was using idf 2.0 and now i have updated the idf to release 2.1
But none of the example codes are not working, ie.. i am able to compile the code and flash it to the board. but it shows some hex values on the terminal.
what am i missing?
current version of esptool is : esptool.py v2.1 - ESP8266 ROM Bootloader Utility
This MicroPython implementation is based on the
latest esp-idf master branch and xtensa toolchain.
The GitHub repository
includes both esp-idf and xtensa toolchain packed in xz archives (in Tools directory).
As the first step after cloning the repository, you should run
./BUILD.sh menuconfig in
MicroPython_BUILD directory. This will unpack the esp-idf and toolchain for your platform and create initial sdkconfig.
If, after flashing, you get "
some hex values on the terminal", you have probably set the wrong value for XTAL frequency (
→ Component config → ESP32-specific → Main XTAL frequency). Set it to the crystal which is used on your board. Most boards use 40MHz crystal, some use 26MHz crystal.