Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython-simulator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython-simulator
Commits
94a20be5
Commit
94a20be5
authored
Aug 16, 2019
by
George Wort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align char array representing ROM for filesystem to the page size.
parent
26b1ecbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
inc/microbit/memory.h
inc/microbit/memory.h
+1
-1
No files found.
inc/microbit/memory.h
View file @
94a20be5
...
...
@@ -38,7 +38,7 @@ static inline char *roundup(char *addr, uint32_t align) {
return
(
char
*
)((((
uint32_t
)
addr
)
+
align
-
1
)
&
(
-
align
));
}
char
rom
[
0x40000
];
char
rom
[
0x40000
]
__attribute__
((
aligned
(
MBED_CONF_APP_MICROBIT_PAGE_SIZE
)))
;
/** The end of the code area in flash ROM (text plus read-only copy of data area) */
static
inline
char
*
microbit_end_of_code
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment