Skip to content
krostr
GithubHomepage

Firmware

software1 min read

You can find the firmware on github.

The firmware is preconfigured for one of the following

  • esp32s3 zero dual core (18 pins)
  • esp32c3 zero which is a single core (18 pins)
  • esp32c3 supermini which is a single core (16 pins)

The board will need to have a minimum of 4MB flash.

I used Visual Studio IDE and instructions below are based on using the visual studio esp-idf plugin.

esp-idf

Configuration

  1. Set the Espressif Device Target (IDF_TARGET) to either esp32c3 or esp32s3 depending on your cpu.
  2. Edit pins.h and update the GPIO pins if your development board is different. This already includes pin configurations for the supported boards for the pcb design here.
  3. Look for Krostr Configuration in menuconfig and
  4. Enable "Use Stock Skywalker Controller"
  5. Edit Firmware upgrade URL to somewhere you want to host your own firmware updates
  6. Edit Bluetooth Device Name prefix if you want to change the device Name
  7. Enable bluetooth if your board supports bluetooth (e.g. esp32s2)
  8. Select the ESP32 board you are using..
  9. Only the ST7735 LCD is supported currently. Make sure that is selected.
  10. Save and Build Project

Building and Flashing

  • Make sure the unit is not connected to the roaster or the roaster is switched off.
  • The firmware will be 1.5MB and uses custom partitions to enable OTA updates of firmware.
  • if menuconfig is setup to automatically restart after flashing, the system should restart automatically. If not just unplug and plug the USB back in.