summaryrefslogtreecommitdiff
path: root/tinyusb/common/common.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-01-30 11:35:37 +0700
committerhathach <[email protected]>2013-01-30 11:35:37 +0700
commit07048b943e6b57aeee4a671b85d76a2f592e3205 (patch)
tree63af67247cbd779590cb4f0aa6798faccf680b5d /tinyusb/common/common.h
parent6db8af20236cfecba5aef54da148309982b28396 (diff)
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
Diffstat (limited to 'tinyusb/common/common.h')
-rw-r--r--tinyusb/common/common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/tinyusb/common/common.h b/tinyusb/common/common.h
index 3a02f27f3..17c70429e 100644
--- a/tinyusb/common/common.h
+++ b/tinyusb/common/common.h
@@ -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_