Skip to content
Snippets Groups Projects
Commit 826d17c1 authored by schneider's avatar schneider
Browse files

fix(Makefile): compile for card10 by default

parent eac3d661
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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]);
}
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment