There are two distinct development toolchains for Agon Light

ESP32 Development

The ESP32 is programmed via the USB connector at the top of the board using the standard Arduino IDE. I’m currently using version 1.8.19.

In order to add the ESP32 as a supported board in the Arudino IDE, you will need to add in this URL into the board manager:

Select Preferences from the File menu

In the Additional Board Manager URLs text box, enter the following URL:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

In the Board Manager (from the Tools menu), select the esp32 board, making sure version 2.0.4 is installed.

Now the board can be selected and configured:

  • Board: “ESP32 Dev Module”
  • Upload Speed: “921600”
  • CPU Frequency: “240Mhz (WiFi/BT)”
  • Flash Frequency: “80Mhz”
  • Flash Mode: “QIO”
  • Flash Size: “4MB (32Mb)”
  • Partition Scheme: “Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
  • Core Debug Level: “None”
  • PSRAM: “Enabled”

Bernado writes:

 Although I am using 4MB for the PSRAM coupled to the ESP32 (the FabGL assumption), that memory actually has 8MB, so if you find a way to use the extra 4MB, please change the configuration to 8MB.

And for the Port, you will need to determine the Com port that the Agon Light is assigned from your OS after it is connected.

Now the third party libraries will need to be installed from the Library Manager in the Tools menu

  • FabGL version 1.0.8

eZ80 Development

The eZ80 is programmed via the ZDI connector on the left-hand side of the board. This requires a Zilog USB Smart Cable (part number ZUSBSC00100ZACG) that can be purchased from online stockists such as Mouser or RS Components. Note that at time of writing (June 2022) there are lead times for this cable.

In addition to the cable, you will need to download the free ZDS II tools (product ID SD00063). Note that this is only available for Windows.

Any custom settings for Agon development is contained within the project files, so no further configuration will need to be done.