Models overview

Models are designed to target different core hardware, allowing the Toit stack to be used across many different systems.

Today the primary model used is esp32-4mb. Read the details here.

Model parameters

Some models supports custom model-parameters, for example to wire up core peripherals.

Pin mode

When utility pins are exposed through model parameters, an optional mode may be given as well. Pins have 3 modes available as described below.

ValueDescriptionNotes
0Configures the pin as active-low
1Configures the pin as active-high
2Configures the pin as open-drain active-lowDefault