-
Notifications
You must be signed in to change notification settings - Fork 1
Edit Settings
doomke edited this page Aug 10, 2023
·
9 revisions
Once the Firmware is uploaded, changes can be made either using the serial interface (recommended) or flashing an additional settings file.
- Open an Instance to the Serial Interface (for example using the Arduino IDE or platformIO)
- make sure the correct
COMport is selected - set BAUD rate to 115200
- make sure the correct
- Send the text
setupover the serial interface (line must terminate with\n) - The board stops all operation and goes into setup mode
- Follow the instructions to add, delete, swap or edit modules
- Each action comes with a set of available options that are always printed on the serial monitor
- Send the letter or number of the setting you wish to access over the serial monitor (line must terminate with
\n)
- For some modules like
inputandmacroas well as forinternal eventsadditional settings are available
- After finishing your changes return to the starting menu (where the modules get listed)
- type and send
rto restart the device
- The device restarts and sends numerous messages via the serial interface, detailing the function of the modules
- Download the latest release of mklittlefs
- Unzip and transfer the
mklittlefsexecutable to the location you want to create the settings file - Create a new folder "data" in the same location
- Create a new text file
data/settings.txt - Open the text file and copy all settings in JSON format
- Save the text file and open a
command prompt - Navigate to the location of your
mklittlefsexecutable (usingcd) - Copy, paste and execute the command:
mklittlefs -b 4096 -p 256 -s 16384 -c ./data settings.bin
- If successful, a new file
settings.binhas been created in the same location - Open the
flash download toolas described in Flash Firmware - Press
...and navigate to the newsettings.bin - Select the binary for upload and use
0x290000as target offset - Upload the file using the same upload settings as in Flash Firmware