swich to official arm toolchain finished

This commit is contained in:
tkl
2016-08-18 11:57:20 +02:00
parent f2bfac4795
commit cd8d657f1b
3 changed files with 10 additions and 19 deletions

View File

@@ -26,15 +26,9 @@ struct thread_context th_ctx;
static void th_func(void *arg)
{
drv_open(&uart_1);
drv_open(&gpio_d12);
drv_write(&gpio_d12, "0", 1);
while(1) {
drv_write(&uart_1, "test\r\n", 6);
sleep_ms(1000);
drv_write(&uart_1, "set_led\r\n", 9);
drv_write(&gpio_d12, "1", 1);
sleep_ms(1000);
drv_write(&uart_1, "unset_led\r\n", 11);
drv_write(&gpio_d12, "0", 1);
}
}