1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/include
chrysn 763ce7a9bf USB VID/PID: Move check inside usb.h include guards
As the whitelist define can be set per compilation unit in all
legitimate cases, the checks do not need to be run on every single usb.h
inclusion. This is done for two reaons:

* It is sufficient -- if any user C file includes usb.h, there's already
  a good chance that the user is doing something USB related manualy.
  (And conversely, the existing examples with boards that happen to pull
  in CDC-ACM or CDC-ECM do not include usb.h from an example C file).

* Defining the USB_H_USER_IS_RIOT around legitimate uses of the header
  by other headers would allow accidental sidestepping: If a user
  includes a legitimate usb.h using header (say, board.h) and just
  forgets to include usb.h on their own, their application that'd mess
  with USB would still work as usb.h is transitively included, and the
  check for custom includes does not trigger.
2020-01-30 15:04:26 +01:00
..
can sys/include: fix typos 2019-11-23 22:39:37 +01:00
checksum sys/checksum: add crc8 implementation 2019-12-13 14:50:32 +01:00
crypto sys/include/crypto/modes/ccm: specify implem limits 2020-01-12 17:57:27 +01:00
ecc sys/ecc: add repetition code 2018-10-18 13:37:21 +02:00
embUnit sys/include: fix typos 2019-11-23 22:39:37 +01:00
event sys/include: fix typos 2019-11-23 22:39:37 +01:00
fs pkg/littlefs: fix file buffer size 2018-10-03 11:54:17 +02:00
hashes sys/include: fix typos 2019-11-23 22:39:37 +01:00
isrpipe isrpipe: change API to be in line with tsrb 2019-06-05 18:13:57 +02:00
net Merge pull request #8796 from miri64/dhcpv6c-pd/feat/initial 2020-01-16 13:32:51 +01:00
riotboot sys/riotboot: add initial image digest verification 2019-07-10 13:15:02 +02:00
suit suit/v4: display a progress bar while fetching the image 2020-01-09 11:31:24 +01:00
test_utils test_utils_interactive_sync: add a helper for synchronizing tests 2019-08-15 12:26:28 +02:00
usb usbus/cdc/acm: Add configs to compile time configuration Doxygen group 2019-12-04 20:08:02 +01:00
xtimer sys: xtimer concurrency/robustness improvement 2020-01-10 10:06:16 -08:00
analog_util.h sys/include: fix typos 2019-11-23 22:39:37 +01:00
app_metadata.h tests/shell: Add app_metadata to shell tests 2019-03-06 13:07:57 +01:00
auto_init.h sys/include: fix typos 2019-11-23 22:39:37 +01:00
base64.h sys/base64: fix return value when input data is empty 2019-10-08 15:38:27 +02:00
bcd.h bcd: initial import of binary coded decimal en-/decoder 2017-07-06 20:43:29 +02:00
benchmark.h sys/benchmark: incl irq.h and fixed output 2018-09-11 11:29:19 +02:00
bitfield.h bitfield: unify order 2019-11-20 18:53:11 +01:00
bloom.h many typo fixes 2019-11-23 22:39:07 +01:00
c11_atomics_compat.hpp sys: Added basic C++ compat for C11 atomics 2019-10-24 23:08:35 +02:00
cb_mux.h sys/cb_mux: initial support 2018-05-28 15:43:41 -04:00
clif.h sys: Add clif (CoRE Link Format) module 2019-10-04 11:35:52 +02:00
color.h sys/color: add color_rgb_set_brightness() 2019-11-24 23:27:05 +01:00
div.h sys/include: fix typos 2019-11-23 22:39:37 +01:00
eepreg.h sys/eepreg: initial EEPROM registration support 2018-10-20 09:30:40 -04:00
embUnit.h sys: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
event.h sys/event: fix typo: imlementation -> implementation 2019-10-22 16:23:08 +02:00
evtimer_msg.h evtimer: initial import 2017-06-16 16:50:54 +02:00
evtimer.h evtimer: initial import 2017-06-16 16:50:54 +02:00
fmt_table.h sys/fmt: Added submodule fmt_table 2019-08-20 14:32:49 +02:00
fmt.h sys/fmt: add fmt_is_number() 2019-12-05 15:39:24 +01:00
frac.h frac: Integer fraction scaling library 2019-12-06 09:36:33 +01:00
hashes.h hashes: change ingroup directive 2018-08-29 15:57:24 +02:00
iolist.h many typo fixes 2019-11-23 22:39:07 +01:00
irq_handler.h many typo fixes 2019-11-23 22:39:07 +01:00
isrpipe.h isrpipe: change API to be in line with tsrb 2019-06-05 18:13:57 +02:00
luid.h sys/luid: provide luid_get_eui48() and luid_get_eui64() 2019-11-04 21:08:23 +01:00
matstat.h sys/matstat: change ingroup directive 2018-08-24 18:14:03 +02:00
memarray.h doc/mem_management: add implementations and utils 2018-09-27 10:54:39 +02:00
mineplex.h *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
od.h sys/od: add ASCII representation to memory dump 2017-11-14 09:22:02 +01:00
phydat.h sys/include: fix typos 2019-11-23 22:39:37 +01:00
pipe.h cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
pm_layered.h pm_layered: make sure no conflict for pm_set_lowest and periph_common exists 2017-10-26 10:09:09 +02:00
progress_bar.h sys/progress_bar: add module for configurable progress bars 2019-12-02 16:48:16 +01:00
ps.h sys: fix include headers guards 2016-10-26 21:53:58 +02:00
puf_sram.h sys/puf_sram: extend documentation 2020-01-02 13:22:35 +01:00
random.h sys/random: fix distribution of random_uint32_range() 2018-06-26 14:08:43 +02:00
saul_reg.h saul_reg: make ptr to device descriptor non const 2017-10-12 11:51:24 +02:00
schedstatistics.h sys: add schedstatistics module 2019-09-13 11:37:44 +02:00
sema.h Merge pull request #6696 from lebrush/fix/semaphore 2017-03-28 20:54:06 +02:00
seq.h sys/seq: change ingroup directive 2018-08-24 18:14:03 +02:00
shell_commands.h sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
shell.h shell: make shell_run run shell forever 2019-09-19 10:26:31 +02:00
stdio_base.h sys/stdio: factor out STDIO abstraction 2018-08-22 10:54:25 +02:00
stdio_rtt.h sys/stdio: s/rtt_stdio/stdio_rtt/ 2018-08-22 10:54:25 +02:00
stdio_uart.h sys/stdio_uart: document stdin module requirement 2019-06-20 16:01:45 +02:00
timex.h timex: add US_PER_CS converter 2020-01-02 11:56:25 +01:00
tm.h sys/include: fix typos 2019-11-23 22:39:37 +01:00
trickle.h sys/trickle: document time interval unit 'ms' 2018-05-29 11:59:12 +02:00
tsrb.h tsrb: remove implicit cast in TEST_INIT() macro 2019-06-05 18:16:32 +02:00
unaligned.h sys/include/unaligned: initial commit 2019-01-25 22:22:45 +01:00
universal_address.h sys/include: fix typos 2019-11-23 22:39:37 +01:00
usb.h USB VID/PID: Move check inside usb.h include guards 2020-01-30 15:04:26 +01:00
utlist.h sys/include: Include utlist for simple list operation defines 2014-12-12 12:18:34 +01:00
uuid.h sys/include: fix typos 2019-11-23 22:39:37 +01:00
vfs.h stdio/vfs: generalized VFS mapping for STDIO 2018-08-30 11:14:59 +02:00
xtimer.h sys: xtimer concurrency/robustness improvement 2020-01-10 10:06:16 -08:00