Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: STM32F103C8T6_WebUSBDFU STM32F103C8T6_USBDFU STM32F103C8T6_USBDFU dfu_usb_stm32f103
Fork of USBDevice_STM32F103 by
Revision 42:4f589e246b9e, committed 2015-02-27
- Comitter:
- mbed_official
- Date:
- Fri Feb 27 10:00:59 2015 +0000
- Parent:
- 41:0ca6eeb54b97
- Child:
- 43:c0605f23f916
- Commit message:
- Synchronized with git revision 43d7f387ec8e6fef8c03cb5e3a74f7b1596c8f8c
Full URL: https://github.com/mbedmicro/mbed/commit/43d7f387ec8e6fef8c03cb5e3a74f7b1596c8f8c/
RZ/A1H - Modify to support GCC and Fix some bugs of driver.
Changed in this revision
--- a/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/src/userdef/usb0_function_userdef.c Mon Feb 09 09:15:46 2015 +0000 +++ b/USBDevice/TARGET_RENESAS/TARGET_RZ_A1H/src/userdef/usb0_function_userdef.c Fri Feb 27 10:00:59 2015 +0000 @@ -52,7 +52,7 @@ /******************************************************************************* Macro definitions *******************************************************************************/ -#define DUMMY_ACCESS (*(volatile unsigned long *)(OSTM0CNT)) +#define DUMMY_ACCESS OSTM0CNT /* #define CACHE_WRITEBACK */
--- a/USBDevice/USBHAL_RZ_A1H.cpp Mon Feb 09 09:15:46 2015 +0000
+++ b/USBDevice/USBHAL_RZ_A1H.cpp Fri Feb 27 10:00:59 2015 +0000
@@ -515,10 +515,10 @@
if (RZA_IO_RegRead_16(
&g_usb0_function_pipecfg[pipe], USB_PIPECFG_DIR_SHIFT, USB_PIPECFG_DIR) == 0) {
/* read */
- __nop();
+ __NOP();
} else {
/* write */
- __nop();
+ __NOP();
}
}
}
@@ -629,7 +629,7 @@
if (RZA_IO_RegRead_16(
&g_usb0_function_pipecfg[pipe], USB_PIPECFG_DIR_SHIFT, USB_PIPECFG_DIR) == 0) {
/* read */
- __nop();
+ __NOP();
} else {
/* write */
EPx_read_status = DEVDRV_USBF_PIPE_WAIT;
