clean up
This commit is contained in:
9
pkg.yml
Normal file
9
pkg.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
pkg.name: tinyusb
|
||||||
|
pkg.description: A silly USB stack for embedded
|
||||||
|
pkg.author: "Ha Thach <thach@tinyusb.org>"
|
||||||
|
pkg.homepage: "https://github.com/hathach/tinyusb"
|
||||||
|
pkg.keywords:
|
||||||
|
- usb
|
||||||
|
|
||||||
|
pkg.deps:
|
||||||
|
- "@apache-mynewt-core/kernel/os"
|
@@ -58,9 +58,8 @@
|
|||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
// Compile-time Assert (use TU_VERIFY_STATIC to avoid name conflict)
|
// Compile-time Assert (use TU_VERIFY_STATIC to avoid name conflict)
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
#if defined(__ICCARM__) || (__STDC_VERSION__ >= 201112L )
|
#if __STDC_VERSION__ >= 201112L
|
||||||
#include <assert.h>
|
#define TU_VERIFY_STATIC _Static_assert
|
||||||
#define TU_VERIFY_STATIC static_assert
|
|
||||||
#else
|
#else
|
||||||
#define TU_VERIFY_STATIC(const_expr, _mess) enum { XSTRING_CONCAT_(_verify_static_, _TU_COUNTER_) = 1/(!!(const_expr)) }
|
#define TU_VERIFY_STATIC(const_expr, _mess) enum { XSTRING_CONCAT_(_verify_static_, _TU_COUNTER_) = 1/(!!(const_expr)) }
|
||||||
#endif
|
#endif
|
||||||
|
@@ -1,3 +1 @@
|
|||||||
# Newt uses this file to determine the version of a checked out repo.
|
|
||||||
# This should always be 0.0.0 in the master branch.
|
|
||||||
repo.version: 0.0.1
|
repo.version: 0.0.1
|
||||||
|
Reference in New Issue
Block a user