hathach
7e4c0f64cd
abtract attribute fallthrough
2022-07-14 18:39:47 +07:00
Ha Thach
8e84529c8d
Merge pull request #1345 from alexandre-perrin/iar-cpp-verify-static
...
Fix CPP compilation with IAR
2022-02-28 17:02:33 +07:00
Alexandre Perrin
81e33477ea
Fix CPP compilation with IAR
...
IAR defines __STDC_VERSION__ in cpp as well.
Which causes TU_VERIFY_STATIC to be defined as _Static_assert
instead of cpp's static_assert.
This reorders __cplusplus__ to be first, then to fallback to
__STDC_VERSION__ if not CPP.
2022-02-23 18:27:52 +01:00
Roland
e1f0c484c6
Modifications for CCRX toolchain
2022-02-01 23:45:52 +01:00
Yunhao Tian
ac20605e3f
Ignore certain compiler options on ARMCC
...
ARMCC also sets __GNU__ macro, but doesn't support
GCC diagnostic pragmas.
2021-11-30 17:19:11 +08:00
hathach
dbd31895bc
change usage of TU_CHECK_MCU() to prevent macro conflict
2021-10-25 17:04:03 +07:00
hathach
a0202df920
add TU_ARGS_APPLY(), TU_CHECK_MCU() now could check list of mcus
2021-10-25 13:49:59 +07:00
hathach
73872a5df0
add CFG_TUSB_OS_INC_PATH for os include path
...
useful for freertos/ prefix with esp IDF
2021-09-25 16:16:55 +07:00
hathach
15112fdbba
clean up compiler
2021-07-22 22:10:48 +07:00
hathach
c4da1abb1e
rename bit filed order
...
clean up packed/bit order begin end
2021-07-22 17:30:08 +07:00
hathach
4e50ceba48
rename packed begin/end
2021-07-22 17:07:39 +07:00
hathach
fa0936bf58
Merge branch 'CCRX_Port' of https://github.com/Wini-Buh/tinyusb into Wini-Buh-CCRX_Port
2021-07-22 16:48:18 +07:00
hathach
137dff620b
add option to silent a driver log
2021-07-13 20:41:28 +07:00
hathach
3eec011a7c
add tud_vendor_control_request_cb() to poisoned list
2021-06-29 17:28:35 +07:00
Wini-Buh
51c6444e1d
final clean up
2021-06-22 23:49:24 +02:00
Wini-Buh
1c23462b43
weak atrribute work around removed from CCRX_Port
2021-06-11 22:25:36 +02:00
Wini-Buh
b4f092ec74
Adaptations for Renesas CCRX toolchain and Rx72N controller performed
2021-05-29 21:23:39 +02:00
Ha Thach
1d20c84798
add tu_unaligned_read32/write32 ( #772 )
...
* add tu_unaligned_read32/write32
* added tu_unaligned_read16/write16
* add TU_ATTR_ALWAYS_INLINE, add to most of simple inline function
2021-04-06 19:32:01 +07:00
HiFiPhile
b3c0d417ef
Fix error if "Required Prototype" is selected.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2020-12-20 23:10:34 +01:00
Niklas Hauser
78477077b4
Use C++11 static_assert when available
2020-10-03 20:17:36 +02:00
Mengsk
f02ad1d0dc
Add IAR compiler attribute and endian support.
2020-05-08 13:29:33 +02:00
Nathan Conrad
25c1bea782
Normalize line endings
2020-01-15 14:47:43 -05:00
hathach
195d0f5a14
adding log support with uart
...
started with pca10056
2019-10-12 00:02:51 +07:00
Nathan Conrad
dfe92542e6
Change inline functions to macros, and make all parameter names uniform.
2019-09-16 11:27:05 -04:00
Nathan Conrad
9593463367
Massive copy&paste typo of mine in the 32-bit byte swapping function....
2019-09-15 15:20:01 -04:00
Nathan Conrad
bb7f581b6d
TI compiler quirks, and le byte swapping functions.
2019-09-13 20:28:26 -04:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application
2019-06-06 10:39:37 +07:00
hathach
3e6d911ce9
more clean up use inline bit funciton instead of macros
2019-05-14 12:54:29 +07:00
hathach
81fc7b7e2b
clean up endian convert function
2019-05-14 12:14:51 +07:00
hathach
3e24daac79
remove deprecated tusb_task, clean up tusb compiler
2019-05-14 12:03:06 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
6135019230
clean up
2019-05-14 11:46:22 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
hathach
1a4a27324b
clean up
2018-09-02 20:30:07 +07:00
hathach
460285f852
fix compiler static assert complain
2018-08-23 21:05:52 +07:00
hathach
e07b1acbed
rename VERIFY to TU_VERIFY to avoid conflict with application
2018-08-13 18:10:23 +07:00
hathach
d2ab4db25e
add scsi start stop unit struct, improve device msc, correctly stall unsupported scsi command
2018-07-25 16:56:57 +07:00
hathach
424735d440
rename subfolder source to src
2018-06-18 14:05:24 +07:00