Changes to tools to support MAC OS

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4232 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-12-27 12:44:39 +00:00
parent 46c481bf94
commit 5a29f52d68
2 changed files with 7 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* arch/arm/src/stm32/stm32_usbdev.c
*
* Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* Author: Gregory Nutt <gnutt@nuttx.orgr>
*
* References:
* - RM0008 Reference manual, STMicro document ID 13902
@ -148,7 +148,7 @@
#define REQRECIPIENT_MASK (USB_REQ_TYPE_MASK | USB_REQ_RECIPIENT_MASK)
/* Endpoint rister masks (handling toggle fields) */
/* Endpoint register masks (handling toggle fields) */
#define EPR_NOTOG_MASK (USB_EPR_CTR_RX | USB_EPR_SETUP | USB_EPR_EPTYPE_MASK |\
USB_EPR_EP_KIND | USB_EPR_CTR_TX | USB_EPR_EA_MASK)

View File

@ -67,5 +67,9 @@ CHIP_CSRCS = pic32mx-irq.c pic32mx-decodeirq.c pic32mx-exception.c pic32mx-gpio.
# Configuration-dependent PIC32MX files
ifeq ($(CONFIG_GPIO_IRQ),y)
CHIP_CSRCS += up_gpioirq.c
CHIP_CSRCS += pic32mx_gpioirq.c
endif
ifeq ($(CONFIG_PIC32MX_USBDEV),y)
CHIP_CSRCS += pic32mx-usbdev.c
endif