Espruino/targets/esp32/docs/Menuconfig.md
Juergen Marsch bae5e8256a Revert "Merge pull request #983 from jumjum123/ESP32"
This reverts commit 3d464618227d8d6f5040bff6c8e41a447a6d6f25, reversing
changes made to 1d8fd4aa72e99a875eb7efe70c3d4700dd0d27b1.

merge was done with "old changes"
2016-12-01 17:15:50 +01:00

1.4 KiB

make menuconfig

Within the template project that builds the ESP-IDF environment, there is a configuration file called sdkconfig. While this file can be edited by hand there is an elegant full screen text based user interface for editing. We can bring this up by running make menuconfig. This provides a menu driven editor where properties can be changed.

Some options must be changed for correct operation of Espruino. These are:

  • Component config -> LWIP -> Enable SO_REUSEADDR option [Enable]
  • Component config -> ESP32-specific config -> Task watchdog [Disable]

Other options can be changed at your discretion for changes in the environment that are primarily to taste. Examples that I would consider are:

  • Bootloader config -> Bootloader log verbosity - Consider changing this to Verbose.
  • Serial flasher config -> Default baud rate - I have had success with 921600.
  • Serial flasher config -> Use compressed upload - I have had success with this enabled.
  • Component config -> Log output -> Default log verbosity - Consider changing this to Verbose.
  • Component config -> Log output -> Use ANSI terminal colors in log output - I switch this off from the default of on.

When re-importing the latest versions of ESP-IDF, we will likely overwrite any changes we made here. Either we copy the sdkconfig you have been using and put it back after a refresh or else re-run make menuconfig after a refresh.