mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12873 from rajkan01/usb_bare_metal_support
Bare metal profile: USB class device supportpull/12896/head
commit
4108cd2c8c
|
@ -18,6 +18,7 @@
|
|||
#ifndef USBCDC_ECM_H
|
||||
#define USBCDC_ECM_H
|
||||
|
||||
#if defined(MBED_CONF_RTOS_PRESENT)
|
||||
#include "USBDescriptor.h"
|
||||
#include "USBDevice.h"
|
||||
#include "ByteBuffer.h"
|
||||
|
@ -275,5 +276,5 @@ private:
|
|||
};
|
||||
|
||||
/** @}*/
|
||||
|
||||
#endif // defined(MBED_CONF_RTOS_PRESENT)
|
||||
#endif
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if defined(MBED_CONF_RTOS_PRESENT)
|
||||
#include <stdint.h>
|
||||
#include "USBCDC_ECM.h"
|
||||
#include "EndpointResolver.h"
|
||||
|
@ -556,3 +556,4 @@ void USBCDC_ECM::_bulk_out_callback()
|
|||
|
||||
read_start(_bulk_out, _bulk_buf, MAX_PACKET_SIZE_BULK);
|
||||
}
|
||||
#endif // defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
Loading…
Reference in New Issue