Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
f1f2a3ce
Commit
f1f2a3ce
authored
8 years ago
by
Paul Sokolovsky
Browse files
Options
Downloads
Patches
Plain Diff
zephyr: Remove deprecated .mdef file.
parent
58722103
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
zephyr/Makefile.zephyr
+0
-1
0 additions, 1 deletion
zephyr/Makefile.zephyr
zephyr/main.c
+2
-2
2 additions, 2 deletions
zephyr/main.c
zephyr/prj.conf
+1
-0
1 addition, 0 deletions
zephyr/prj.conf
zephyr/prj.mdef
+0
-5
0 additions, 5 deletions
zephyr/prj.mdef
with
3 additions
and
8 deletions
zephyr/Makefile.zephyr
+
0
−
1
View file @
f1f2a3ce
...
...
@@ -18,7 +18,6 @@ KERNEL_TYPE = micro
# BOARD must be passed on command line from main Makefile
#BOARD =
CONF_FILE
=
prj.conf
MDEF_FILE
=
prj.mdef
#export SOURCE_DIR = $(ZEPHYR_BASE)/samples/static_lib/hello_world
export
LDFLAGS_zephyr
+=
-L
$(
CURDIR
)
...
...
This diff is collapsed.
Click to expand it.
zephyr/main.c
+
2
−
2
View file @
f1f2a3ce
...
...
@@ -64,8 +64,8 @@ int real_main(void) {
int
stack_dummy
;
stack_top
=
(
char
*
)
&
stack_dummy
;
mp_stack_set_top
(
stack_top
);
//
Should be set to stack size in prj.mdef minus fuzz factor
mp_stack_set_limit
(
3584
);
//
Make MicroPython's stack limit somewhat smaller than full stack available
mp_stack_set_limit
(
CONFIG_MAIN_STACK_SIZE
-
512
);
soft_reset:
#if MICROPY_ENABLE_GC
...
...
This diff is collapsed.
Click to expand it.
zephyr/prj.conf
+
1
−
0
View file @
f1f2a3ce
...
...
@@ -3,3 +3,4 @@ CONFIG_CONSOLE_HANDLER=y
CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS
=
y
CONFIG_NEWLIB_LIBC
=
y
CONFIG_FLOAT
=
y
CONFIG_MAIN_STACK_SIZE
=
4096
This diff is collapsed.
Click to expand it.
zephyr/prj.mdef
deleted
100644 → 0
+
0
−
5
View file @
58722103
% Application : MicroPython
% TASK NAME PRIO ENTRY STACK GROUPS
% ==================================
TASK MAIN 7 main 4096 [EXE]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment