At the moment, the config will be lost on restart or power loss/regain....
When the config of pins are received in porky, store each one in flash with ekv.
Restore all pin config it (if read successfully) on restart.
If a whole new config set is sent to porky, then it should delete the previous one in memory, unprogram the other pins, and then persist the new config in flash (pin by pin)
At the moment, the config will be lost on restart or power loss/regain....
When the config of pins are received in porky, store each one in flash with ekv.
Restore all pin config it (if read successfully) on restart.
If a whole new config set is sent to porky, then it should delete the previous one in memory, unprogram the other pins, and then persist the new config in flash (pin by pin)