wip
This commit is contained in:
@@ -4,15 +4,11 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "board.h"
|
||||
#include "ctx.h"
|
||||
#include "driver.h"
|
||||
#include "board_devices.h"
|
||||
#include "stack.h"
|
||||
#include "queue.h"
|
||||
#include "thread.h"
|
||||
#include "schedule.h"
|
||||
#include "isr.h"
|
||||
#include "sys_tick.h"
|
||||
|
||||
#include "kernel.h"
|
||||
#include "driver.h"
|
||||
|
||||
#define STACK_SIZE 256
|
||||
@@ -51,8 +47,6 @@ stack_t tc_2_stack[STACK_SIZE];
|
||||
struct thread_context tc_2;
|
||||
int main(void)
|
||||
{
|
||||
board_init();
|
||||
sys_tick_init(&timer_1);
|
||||
open(&uart_1);
|
||||
thread_create(&tc_1, tc_1_stack, STACK_SIZE, task1, NULL, THREAD_PRIO_LOW);
|
||||
thread_create(&tc_2, tc_2_stack, STACK_SIZE, task2, NULL, THREAD_PRIO_LOW);
|
||||
|
Reference in New Issue
Block a user