This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CMAKE_MINIMUM_REQUIRED(VERSION 2.8) | |
PROJECT(QRearrangeableLayout) | |
FIND_PACKAGE(Qt4 REQUIRED) | |
INCLUDE(${QT_USE_FILE}) | |
ADD_DEFINITIONS(${QT_DEFINITIONS}) | |
SET(qrearrangeablelayout_SOURCES QRearrangeableLayout.cpp) | |
SET(qrearrangeablelayout_HEADERS QRearrangeableLayout.h) | |
QT4_WRAP_CPP(qrearrangeablelayout_HEADERS_MOC ${qrearrangeablelayout_HEADERS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(module Bare_Mounting_Hole_M3 (layer F.Cu) (tedit 0) | |
(fp_text reference REF** (at -0.0254 0.7874) (layer F.SilkS) | |
(effects (font (size 1 1) (thickness 0.15))) | |
) | |
(fp_text value Bare_Mounting_Hole_M3 (at 0 -0.75) (layer F.Fab) | |
(effects (font (size 1 1) (thickness 0.15))) | |
) | |
(pad 1 np_thru_hole circle (at 0 0) (size 3.5 3.5) (drill 3.5) | |
(layers *.Cu *.Mask) (solder_mask_margin 1.75) (clearance 1.75)) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python uc-def.py test-input test-output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/kernel/drivers/devusb_cdc_ecm.c b/kernel/drivers/devusb_cdc_ecm.c | |
index 3f274ff..d193175 100644 | |
--- a/kernel/drivers/devusb_cdc_ecm.c | |
+++ b/kernel/drivers/devusb_cdc_ecm.c | |
@@ -34,22 +34,6 @@ struct pico_dev_usbeth { | |
}; | |
static struct pico_dev_usbeth *pico_usbeth = NULL; | |
-static const struct usb_device_descriptor cdc_ecm_dev = { | |
- .bLength = USB_DT_DEVICE_SIZE, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/usbd/backend/usbd_dwc_otg.c b/lib/usbd/backend/usbd_dwc_otg.c | |
index abd4a8f..3a8ec9c 100644 | |
--- a/lib/usbd/backend/usbd_dwc_otg.c | |
+++ b/lib/usbd/backend/usbd_dwc_otg.c | |
@@ -44,8 +44,14 @@ void dwc_otg_init(usbd_device *usbd_dev) | |
REBASE(DWC_OTG_GINTSTS) = DWC_OTG_GINTSTS_MMIS; | |
REBASE(DWC_OTG_GUSBCFG) |= DWC_OTG_GUSBCFG_PHYSEL; | |
- /* Enable VBUS sensing in device mode and power down the PHY. */ | |
- REBASE(DWC_OTG_GCCFG) |= DWC_OTG_GCCFG_VBUSBSEN | DWC_OTG_GCCFG_PWRDWN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/usb/usb_f107.c b/lib/usb/usb_f107.c | |
index fb8ddf5..af98ddc 100644 | |
--- a/lib/usb/usb_f107.c | |
+++ b/lib/usb/usb_f107.c | |
@@ -55,8 +55,14 @@ static usbd_device *stm32f107_usbd_init(void) | |
OTG_FS_GINTSTS = OTG_GINTSTS_MMIS; | |
OTG_FS_GUSBCFG |= OTG_GUSBCFG_PHYSEL; | |
- /* Enable VBUS sensing in device mode and power down the PHY. */ | |
- OTG_FS_GCCFG |= OTG_GCCFG_VBUSBSEN | OTG_GCCFG_PWRDWN; |