Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
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
Show more breadcrumbs
card10
firmware
Commits
2afaf931
Commit
2afaf931
authored
5 years ago
by
schneider
Browse files
Options
Downloads
Patches
Plain Diff
fix(mpconfig): Remove hard coded value for interrupt numbers
parent
314a22e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!374
fix(interrupts): Add the callbacks to the list of root pointers
Pipeline
#4480
passed
5 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/micropython/gen-qstr.sh
+0
-1
0 additions, 1 deletion
lib/micropython/gen-qstr.sh
pycardium/meson.build
+1
-1
1 addition, 1 deletion
pycardium/meson.build
pycardium/mpconfigport.h
+6
-4
6 additions, 4 deletions
pycardium/mpconfigport.h
with
7 additions
and
6 deletions
lib/micropython/gen-qstr.sh
+
0
−
1
View file @
2afaf931
...
...
@@ -11,7 +11,6 @@ shift 5
OUTPUT_DIR
=
"
$(
dirname
"
$OUTPUT
"
)
"
# call gcc -E to generate qstr.i.last
gcc
-E
-DNO_QSTR
-I
"
$SOURCE_DIR
/micropython"
-I
"
$PROJECT_SRC
"
-I
"
$OUTPUT_DIR
"
"
$@
"
>
"
$OUTPUT_DIR
/qstr.i.last"
...
...
This diff is collapsed.
Click to expand it.
pycardium/meson.build
+
1
−
1
View file @
2afaf931
...
...
@@ -79,7 +79,7 @@ upy = static_library(
micropython_additional_sources
,
micropython_extmod_sources
,
mp_headers
,
include_directories
:
micropython_includes
,
include_directories
:
[
micropython_includes
,
include_directories
(
'../epicardium'
)],
c_args
:
'-w'
,
)
...
...
This diff is collapsed.
Click to expand it.
pycardium/mpconfigport.h
+
6
−
4
View file @
2afaf931
// TODO: we need this define, but the header is not found...
//#include "epicardium/epicardium.h"
#define EPIC_INT_NUM 9
/* Hardware Name */
#define MICROPY_HW_BOARD_NAME "card10"
#define MICROPY_HW_MCU_NAME "max32666"
...
...
@@ -97,6 +93,12 @@ typedef long mp_off_t;
/* TODO: Document this */
#define MP_STATE_PORT MP_STATE_VM
#ifndef NO_QSTR
#include
"epicardium.h"
#else
#define EPIC_INT_NUM 1
#endif
/* For some reason, we need to define readline history manually */
#define MICROPY_PORT_ROOT_POINTERS \
const char *readline_hist[16]; \
...
...
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