add primitive_types.h for portable with uint8,16,32_t, and bool

add osal_common.h to ease the complaint of MISRA 19.1
implement OSAL_NONE Task loop, semaphore wait/post and its test code
This commit is contained in:
hathach
2013-01-30 11:35:37 +07:00
parent 6db8af2023
commit 07048b943e
8 changed files with 297 additions and 19 deletions

View File

@@ -56,8 +56,7 @@
extern "C" {
#endif
#include <stdbool.h>
#include <stdint.h>
#include "primitive_types.h"
#include <stddef.h>
#include <string.h>
#include <stdio.h>
@@ -71,7 +70,6 @@
#include "hal/hal.h"
#include "core/tusb_types.h"
#include "core/std_descriptors.h"
#include "osal/osal.h"
// TODO try to manipulate gcc cmd option instead
#ifndef _TEST_