Compare commits

..

2 Commits

Author SHA1 Message Date
Thomas Klaehn
a1c89c96d5 Remove hal 2020-04-09 09:54:29 +02:00
Thomas Klaehn
76af8665b2 Add Sys_Tick example application 2020-04-09 09:54:29 +02:00
2 changed files with 3 additions and 3 deletions

4
.vscode/tasks.json vendored
View File

@ -2,10 +2,10 @@
"version": "2.0.0", "version": "2.0.0",
"options": { "options": {
"env": { "env": {
"APPLICATION": "blinky", // "APPLICATION": "blinky",
// "APPLICATION": "spi", // "APPLICATION": "spi",
// "APPLICATION": "st7789_lcd", // "APPLICATION": "st7789_lcd",
// "APPLICATION": "sys_tick", "APPLICATION": "sys_tick",
"${BUILD_CMD}": "eval docker run --env PLATFORM=${PLATFORM} --env APPLICATION=${APPLICATION} -t --rm -v '${workspaceFolder}':/work --user $(id -u):$(id -g) arm-none-eabi.buildenv", "${BUILD_CMD}": "eval docker run --env PLATFORM=${PLATFORM} --env APPLICATION=${APPLICATION} -t --rm -v '${workspaceFolder}':/work --user $(id -u):$(id -g) arm-none-eabi.buildenv",
}, },
}, },

View File

@ -39,9 +39,9 @@ int main(void)
if(tick != last_tick) { if(tick != last_tick) {
Gpio * tmp = *it; Gpio * tmp = *it;
tmp->toggle(); tmp->toggle();
}
last_tick = tick; last_tick = tick;
} }
} }
}
return 0; return 0;
} }