-
-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hardware profile 'option' support
Allow options to be set using `HWCONFIG_OPTS` or in configuration Show HWCONFIG setting with options when showing partition map
- Loading branch information
Showing
9 changed files
with
121 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"vdd": { | ||
"description": "Modify PHY configuration to support `system_get_vdd33()` function", | ||
"partitions": { | ||
"phy_init": { | ||
"filename": "$(FLASH_INIT_DATA_VCC)" | ||
} | ||
} | ||
} | ||
} |
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
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,26 @@ | ||
{ | ||
"4m": { | ||
"description": "Set Flash size to 4MByte", | ||
"devices": { | ||
"spiFlash": { | ||
"size": "4M" | ||
} | ||
} | ||
}, | ||
"spiffs": { | ||
"description": "Add standard SPIFFS partition", | ||
"partitions": { | ||
"spiffs0": { | ||
"address": "0x200000", | ||
"size": "512K", | ||
"type": "data", | ||
"subtype": "spiffs", | ||
"filename": "$(SPIFF_BIN_OUT)", | ||
"build": { | ||
"target": "spiffsgen", | ||
"files": "$(SPIFF_FILES)" | ||
} | ||
} | ||
} | ||
} | ||
} |
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,17 +1,7 @@ | ||
{ | ||
"name": "Single SPIFFS partition", | ||
"base_config": "standard-4m", | ||
"partitions": { | ||
"spiffs0": { | ||
"address": "0x200000", | ||
"size": "512K", | ||
"type": "data", | ||
"subtype": "spiffs", | ||
"filename": "$(SPIFF_BIN_OUT)", | ||
"build": { | ||
"target": "spiffsgen", | ||
"files": "$(SPIFF_FILES)" | ||
} | ||
} | ||
} | ||
"options": [ | ||
"spiffs" | ||
] | ||
} |
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,9 +1,7 @@ | ||
{ | ||
"name": "Standard config with 4M flash", | ||
"base_config": "standard", | ||
"devices": { | ||
"spiFlash": { | ||
"size": "4M" | ||
} | ||
} | ||
} | ||
"options": [ | ||
"4m" | ||
] | ||
} |
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