Skip to content

Commit

Permalink
device profiles: do not mention default pins
Browse files Browse the repository at this point in the history
users should not rely at all on compile-time pin assignments.
  • Loading branch information
schlimmchen committed Aug 5, 2024
1 parent 066be7d commit 8b1492e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/firmware/device_profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ To change the device profile, navigate to the "Device Manager" and selected the
]
```

The json file can contain multiple profiles. Each profile requires a name and different parameters. If one parameter is not set, the default value, as compiled into the firmware is used. The example above shows all the currently supported values. Others may follow. Sample files for some boards can be found [here](https://github.com/helgeerbe/OpenDTU-OnBattery/tree/master/docs/DeviceProfiles){target=_blank}. This means you can just flash the generic bin file and upload the json file. Then you select your board and everything works hopyfully as expected.
The json file can contain multiple profiles. Each profile requires a unique name and different parameters. The example above shows all the currently supported values. Others may follow. Sample files for some boards can be found [in the code repository](https://github.com/helgeerbe/OpenDTU-OnBattery/tree/master/docs/DeviceProfiles){target=_blank}. This means you can just flash the generic bin file and upload the json file. Then you select your board and everything works hopyfully as expected.

!!! note "Note"

Expand Down

0 comments on commit 8b1492e

Please sign in to comment.