-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use two underscores to separate prefix
- Loading branch information
Showing
13 changed files
with
133 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
# Migration Guide from 0.5.x to v0.6.x | ||
|
||
## Crate configuration changes | ||
|
||
To prevent ambiguity between configurations, we had to change the naming format of configuration | ||
keys. Before, we used `{prefix}_{key}`, which meant that esp-hal and esp-hal-* configuration keys | ||
were impossible to tell apart. To fix this issue, we are changing the separator from one to two | ||
underscore characters. This also means that users will have to change their `config.toml` | ||
configurations to match the new format. | ||
|
||
```diff | ||
[env] | ||
-ESP_HAL_EMBASSY_LOW_POWER_WAIT="false" | ||
+ESP_HAL_EMBASSY__LOW_POWER_WAIT="false" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Migration Guide from 0.4.x to v0.5.x | ||
|
||
## Crate configuration changes | ||
|
||
To prevent ambiguity between configurations, we had to change the naming format of configuration | ||
keys. Before, we used `{prefix}_{key}`, which meant that esp-hal and esp-hal-* configuration keys | ||
were impossible to tell apart. To fix this issue, we are changing the separator from one to two | ||
underscore characters. This also means that users will have to change their `config.toml` | ||
configurations to match the new format. | ||
|
||
```diff | ||
[env] | ||
-ESP_IEEE802154_RX_QUEUE_SIZE = "50" | ||
+ESP_IEEE802154__RX_QUEUE_SIZE = "50" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
# Migration Guide from 0.11.x to v0.12.x | ||
|
||
## Crate configuration changes | ||
|
||
To prevent ambiguity between configurations, we had to change the naming format of configuration | ||
keys. Before, we used `{prefix}_{key}`, which meant that esp-hal and esp-hal-* configuration keys | ||
were impossible to tell apart. To fix this issue, we are changing the separator from one to two | ||
underscore characters. This also means that users will have to change their `config.toml` | ||
configurations to match the new format. | ||
|
||
```diff | ||
[env] | ||
-ESP_WIFI_RX_QUEUE_SIZE = "16" | ||
-ESP_WIFI_STATIC_RX_BUF_NUM = "32" | ||
-ESP_WIFI_DYNAMIC_RX_BUF_NUM = "16" | ||
+ESP_WIFI__RX_QUEUE_SIZE = "16" | ||
+ESP_WIFI__STATIC_RX_BUF_NUM = "32" | ||
+ESP_WIFI__DYNAMIC_RX_BUF_NUM = "16" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters