Commit Graph

4 Commits

Author SHA1 Message Date
Andrei Emeltchenko
4ea0ab9ac0 usb: Fix compile error with debug enabled
...
usb_device.c:265:27: error: expected ')' before 'chunk'
    SYS_LOG_DBG(chunk > 0 ? "?" : "");
                           ^
...

Change-Id: I7d9f583c8591c7f86389c26338d70422e422fe4b
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2016-08-10 15:27:36 +00:00
Andrei Emeltchenko
953165cda1 usb: Fix incorrect macro assignment
We should prepend CONFIG with macro name, otherwise it is not possible
to enable debug.

Change-Id: I9a4ec4da7607c6bc9894eecc42fe7c4556b62c6b
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2016-08-10 15:27:36 +00:00
Genaro Saucedo Tejada
31994e0645 sys_log: replace old debug macros at USB stack
USB stack is now using new system log macros, updated the Kconfig
variable to be a level rather than a bool and the .conf files at
samples.

JIRA: ZEP-311

Change-Id: I873ee0f12b81a364307cdac27a2e058a43d4c9ea
Signed-off-by: Genaro Saucedo Tejada <genaro.saucedo.tejada@intel.com>
2016-07-31 21:02:25 +00:00
Adrian Bradianu
7a16ade6d1 usb: Add USB device core layer
USB Device core layer is a hardware independent interface between USB
device controller driver and USB device class drivers or customer
applications. It's a port of the LPCUSB device stack.

Change-Id: I9371ffab7034d20953fec0525e72fbe9e094c931
Signed-off-by: Adrian Bradianu <adrian.bradianu@windriver.com>
Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
Signed-off-by: Jithu Joseph <jithu.joseph@intel.com>
2016-06-30 17:51:56 +00:00