Changeset 1008
- Timestamp:
- 11/18/08 20:35:33 (7 weeks ago)
- Location:
- firmware/branches/cpp
- Files:
-
- 7 modified
-
core/usb/device/cdc-serial/CDCDSerialDriver.c (modified) (2 diffs)
-
core/usb/device/core/USBDCallbacks.h (modified) (1 diff)
-
core/usb/device/core/USBDDriverCallbacks_ConfigurationChanged.c (modified) (1 diff)
-
core/usb/device/core/USBD_UDP.c (modified) (1 diff)
-
libraries/appled/appled_cpp.h (modified) (1 diff)
-
projects/heavy/Makefile (modified) (1 diff)
-
projects/heavy/make_.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
firmware/branches/cpp/core/usb/device/cdc-serial/CDCDSerialDriver.c
r1006 r1008 41 41 #include "CDCDSerialDriver.h" 42 42 #include "CDCDSerialDriverDescriptors.h" 43 #include "USBDCallbacks.h" 43 44 // #include <utility/trace.h> 44 45 // #include <utility/assert.h> … … 141 142 // isDTEPresent); 142 143 144 (void)isDTEPresent; 143 145 cdcdSerialDriver.isCarrierActivated = activateCarrier; 144 146 USBD_Write(0, 0, 0, 0, 0); -
firmware/branches/cpp/core/usb/device/core/USBDCallbacks.h
r1006 r1008 64 64 received. Does nothing by default. 65 65 */ 66 void USBDCallbacks_Initialized(void);67 void USBDCallbacks_Reset(void);68 void USBDCallbacks_Suspended(void);69 void USBDCallbacks_Resumed(void);70 void USBDCallbacks_RequestReceived(const USBGenericRequest *request);66 extern void USBDCallbacks_Initialized(void); 67 extern void USBDCallbacks_Reset(void); 68 extern void USBDCallbacks_Suspended(void); 69 extern void USBDCallbacks_Resumed(void); 70 extern void USBDCallbacks_RequestReceived(const USBGenericRequest *request); 71 71 72 72 #endif //#ifndef USBDCALLBACKS_H -
firmware/branches/cpp/core/usb/device/core/USBDDriverCallbacks_ConfigurationChanged.c
r1006 r1008 46 46 { 47 47 // trace_LOG(trace_INFO, "ConfigurationChanged "); 48 (void)cfgnum; 48 49 } 49 50 -
firmware/branches/cpp/core/usb/device/core/USBD_UDP.c
r1006 r1008 1163 1163 #error Unsupported pull-up type. 1164 1164 #endif 1165 AT91C_BASE_PIOA->PIO_PER = AT91C_PIO_PA10; 1166 AT91C_BASE_PIOA->PIO_ODR = AT91C_PIO_PA10; 1167 1168 AT91C_BASE_PIOA->PIO_PER = AT91C_PIO_PA11; 1169 AT91C_BASE_PIOA->PIO_OER = AT91C_PIO_PA11; 1170 AT91C_BASE_PIOA->PIO_CODR = AT91C_PIO_PA11; 1165 1171 } 1166 1172 -
firmware/branches/cpp/libraries/appled/appled_cpp.h
r971 r1008 27 27 #include "config.h" 28 28 } 29 30 #include "io_cpp.h" 29 31 30 32 /* AppLed Functions */ -
firmware/branches/cpp/projects/heavy/Makefile
r1006 r1008 150 150 -I../../core/freertos/portable/GCC/ARM7_AT91SAM7S \ 151 151 -I$(LWIP)/src/include/ipv4 \ 152 -I ../../core/usb/device/cdc-serial \153 -I ../../core/usb/device/core \154 -I ../../core/usb/common/core \155 -I ../../core/usb/common/cdc152 -I$(USB)/device/cdc-serial \ 153 -I$(USB)/device/core \ 154 -I$(USB)/common/core \ 155 -I$(USB)/common/cdc 156 156 157 157 ############################################################################ -
firmware/branches/cpp/projects/heavy/make_.cpp
r970 r1008 26 26 #include "led_cpp.h" 27 27 #include "appled_cpp.h" 28 #include "usb_.h" 28 29 29 30 void BlinkTask( void* parameters ); … … 34 35 35 36 // Do this right quick after booting up - otherwise we won't be recognised 36 Usb_SetActive( 1 ); 37 // Usb_SetActive( 1 ); 38 // Led_SetState( ); 39 USB::init(); 37 40 38 41 // Fire up the OSC system and register the subsystems you want to use
