Skip to content

Commit

Permalink
Fix missing device entry in Rp2040, Host hardware config
Browse files Browse the repository at this point in the history
```
[Device] 'spiFlash' type mismatch, 'unknown' in partition table but device reports 'flash'
```
  • Loading branch information
mikee47 committed Jun 17, 2024
1 parent 58e0371 commit cff0e1c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
7 changes: 6 additions & 1 deletion Sming/Arch/Host/standard.hw
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
"arch": "Host",
"bootloader_size": "0x2000",
"partition_table_offset": "0x2000",
"options": ["4m"],
"devices": {
"spiFlash": {
"type": "flash",
"size": "4M"
}
},
"partitions": {
"rom0": {
"address": "0x008000",
Expand Down
9 changes: 6 additions & 3 deletions Sming/Arch/Rp2040/standard.hw
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@
"arch": "Rp2040",
"bootloader_size": 0,
"partition_table_offset": "self.devices[0].size - 0x1000",
"options": [
"2m"
],
"devices": {
"spiFlash": {
"type": "flash",
"size": "2M"
}
},
"partitions": {
"rom0": {
"address": 0,
Expand Down

0 comments on commit cff0e1c

Please sign in to comment.