Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
card10
firmware
Commits
826d17c1
Commit
826d17c1
authored
May 07, 2019
by
schneider
Browse files
fix(Makefile): compile for card10 by default
parent
eac3d661
Changes
3
Hide whitespace changes
Inline
Side-by-side
bootloader/Makefile
View file @
826d17c1
...
...
@@ -53,7 +53,8 @@ COMPILER=GCC
# Specify the board used
ifeq
"$(BOARD)" ""
BOARD
=
EvKit_V1
#BOARD=EvKit_V1
BOARD
=
card10
endif
# This is the path to the CMSIS root directory
...
...
sdk/Libraries/Boards/card10/Source/board.c
View file @
826d17c1
...
...
@@ -103,7 +103,8 @@ int Board_Init(void)
{
PORT_0
,
PIN_31
,
GPIO_FUNC_OUT
,
GPIO_PAD_NONE
},
// ECG switch
};
const
unsigned
int
num_pins
=
(
sizeof
(
pins
)
/
sizeof
(
gpio_cfg_t
));
for
(
int
i
=
0
;
i
<
num_pins
;
i
++
)
{
int
i
;
for
(
i
=
0
;
i
<
num_pins
;
i
++
)
{
GPIO_OutClr
(
&
pins
[
i
]);
GPIO_Config
(
&
pins
[
i
]);
}
...
...
testapp/Makefile
View file @
826d17c1
...
...
@@ -53,7 +53,8 @@ COMPILER=GCC
# Specify the board used
ifeq
"$(BOARD)" ""
BOARD
=
EvKit_V1
#BOARD=EvKit_V1
BOARD
=
card10
endif
# This is the path to the CMSIS root directory
...
...
Write
Preview
Supports
Markdown
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