This commit is contained in:
Hladu357 2025-03-02 11:30:13 +02:00
parent df05915624
commit b1bade4f9e
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,8 @@ CC = arm-none-eabi-gcc
# The location of the C compiler
# ARMGCC_ROOT is used by some makefiles that need to know where the compiler
# is installed.
ARMGCC_ROOT := ${shell dirname ${shell readlink ${shell which ${CC}}}}/..
ARMGCC_ROOT := /usr/arm-none-eabi
# ${shell dirname ${shell readlink ${shell which ${CC}}}}/..
ROOT ?= $(abspath ..)

View File

@ -228,11 +228,11 @@ int main(void) {
break;
case SW1 | SW2:
outP1(0);
outP2(RED);
outP2(BLUE | GREEN);
break;
default:
outP1(0);
outP2(BLUE | GREEN);
outP2(0);
}
}
}