Hi Mark -
Our software team relates that this file is the one that is changing your modified value back to 400000. We will consider adding an easy way for users to override the settings used here, but in the meantime you may have luck modifying this file on your installation, after taking the red-pill. Good luck!
Hi Mark -
You can indeed tell BlueOS to ignore your modification! Thanks to this custom keyword after your parameter, the setting won’t be adjusted. This would look something like:
dtoverlay=i2c6,pins_22_23,baudrate=100000 # custom: peripheral X doesn't support the default baud rate (400000).
It seems that this has indeed ensured that the speed is set to my parameters.
But it’s interesting in that, after a reboot, the /boo/config.txt ‘pi4’ section now has two i2c6 entries.
The first is the BlueOS value of 400000.
Then a little later in the section is my line of 100000.
The system is running at 100000.
Thanks for your help. This fixes my peripheral issue.
It would be possible to overwrite the overlays and avoid BlueOS to configure/change it by using “BLUEOS_DISABLE_STARTUP_UPDATE” environment variable.
Right now BlueOS/Bootstrap does not support for custom environment variables (we use for development and with docker run). I’m adding at the moment and should be available in the new BlueOS 1.4.0-beta.2