Skip to main content
Skip table of contents

Non-volatile I/O Config

The following page provides an example of setting the current I/O configuration to persist across reboots.

Setup

So you've reviewed the I/O capabilities (/ list|io_caps), and decided which I/O should be configured as which protocol (/ set|io_type_cfg(...) or $ set_io_type_cfg(…, …)).

You now want this configuration to persist across reboot cycles. This task is straightforward, simply:

Enter command mode.

LUA
$ command

Save the current I/O configuration as default

LUA
/ set|start_on_boot_io_cfg

Power cycle the device unplug-plug, press the reset button, or run either of the following:

LUA
/ run|reboot
LUA
/ exit
$ reboot()

Enter command mode.

LUA
$ cmd

Confirm the I/O configuration has persisted:

LUA
/ list|io_type_cfg

The same will apply to any related configuration (UART baud, SPI clock frequency, etc).

References

Command Mode

API

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.