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
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
Commits
aa7828f8
Commit
aa7828f8
authored
Sep 22, 2016
by
Paul Sokolovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zephyr/main: Execute main.py frozen module on boot, if available.
parent
7e3b21ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
zephyr/main.c
zephyr/main.c
+1
-0
No files found.
zephyr/main.c
View file @
aa7828f8
...
...
@@ -44,6 +44,7 @@ int real_main(void) {
gc_init
(
heap
,
heap
+
sizeof
(
heap
));
#endif
mp_init
();
pyexec_frozen_module
(
"main.py"
);
#if MICROPY_REPL_EVENT_DRIVEN
pyexec_event_repl_init
();
for
(;;)
{
...
...
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