Repository navigation
Commit cdc6966
committed
storage: map_file - require the port hook instead of a weak default
A port that sets CIRCUITPY_STORAGE_MAP_FILE now has to define
port_internal_flash_xip_address(); there is no weak fallback returning
NULL. Both ports that set it - raspberrypi and espressif - already
define it, and espressif still returns NULL for a partition it could
not map, so the caller's NULL path keeps its meaning. Setting the flag
without the function is a link error rather than a module that builds
and then refuses every call at runtime.1 parent b4fda7c commit cdc6966
3 files changed
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
640 | | - | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
641 | 642 | | |
642 | 643 | | |
643 | 644 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | 153 | | |
160 | 154 | | |
161 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
0 commit comments