Commit c6b27251 authored by Andreas Werner's avatar Andreas Werner
Browse files

add main

parent 48a9032b
Subproject commit bc09981af73d78d15ab244d8fc9a8b3712086519
Subproject commit 27e559ac5402fb8a672c8dd6ca2a5558ca6ab144
Subproject commit 8a794b3927e2e50ada8c2c8514a29bf95a570494
Subproject commit e76a04da27c89fb1f768ceefc1936ce1fbcff01b
Subproject commit b29e4bcb9445e0f359c71f6a6acaac186e6fc550
Subproject commit edfa3070af210f47fe9003d175cd4dcfa5aaf4ca
Subproject commit 6fea94489428a5b9c9009bcdf993b92c3800ba78
Subproject commit 6d0794325d86715fd45b3c7f28712eb2282bc901
......@@ -4,3 +4,4 @@ obj-$(CONFIG_MACH_IMX6) += imx6/
obj-$(CONFIG_MACH_AM57xx) += am57xx/
obj-$(CONFIG_MACH_LINUX) += linux/
obj-$(CONFIG_MACH_S32K) += s32k/
obj-$(CONFIG_MACH_C28X) += c28x/
obj-y += test.o
/* SPDX-License-Identifier: MIT */
/*
* Author: Andreas Werner <kernel@andy89.org>
* Date: 2016
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <FreeRTOS.h>
#include <task.h>
# define PRINTF(...) printf(__VA_ARGS__)
void vApplicationMallocFailedHook( void ) {
CONFIG_ASSERT(0);
}
void vApplicationTickHook() {
}
void vApplicationStackOverflowHook( TaskHandle_t xTask, char *pcTaskName ) {
CONFIG_ASSERT(0);
}
void vApplicationIdleHook( void ) {
}
void userErrorHandler(void) {
}
void vApplicationSetupTimerInterrupt(void) {
}
int main() {
int32_t ret;
//ret = irq_init();
//CONFIG_ASSERT(ret == 0);
PRINTF("Start Scheduler\n");
vTaskStartScheduler ();
for(;;);
return 0;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment