mbed library sources change for ST sensors and ST BLE
Fork of mbed-src by
Revision 607:ae528ef7bd3d, committed 2015-08-13
- Comitter:
- mbed_official
- Date:
- Thu Aug 13 15:45:09 2015 +0100
- Parent:
- 606:12ecb532fd15
- Child:
- 608:14dd4108b341
- Commit message:
- Synchronized with git revision 376d6a73e345b728a788041adb166b08cd8d2b95
Full URL: https://github.com/mbedmicro/mbed/commit/376d6a73e345b728a788041adb166b08cd8d2b95/
Silicon Labs - Add support for USBDevice
Changed in this revision
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device_peripherals.h Thu Aug 13 11:45:08 2015 +0100 +++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device_peripherals.h Thu Aug 13 15:45:09 2015 +0100 @@ -26,6 +26,9 @@ #define PWM_TIMER_CLOCK cmuClock_TIMER2 #define PWM_ROUTE TIMER_ROUTE_LOCATION_LOC1 +/* USB */ +#define USB_TIMER USB_TIMER1 + /* Clocks */ /* Clock definitions */
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device_peripherals.h Thu Aug 13 11:45:08 2015 +0100 +++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device_peripherals.h Thu Aug 13 15:45:09 2015 +0100 @@ -26,6 +26,9 @@ #define PWM_TIMER_CLOCK cmuClock_TIMER0 #define PWM_ROUTE TIMER_ROUTE_LOCATION_LOC0 +/* USB */ +#define USB_TIMER USB_TIMER2 + /* Clocks */ /* Clock definitions */
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device_peripherals.h Thu Aug 13 11:45:08 2015 +0100 +++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device_peripherals.h Thu Aug 13 15:45:09 2015 +0100 @@ -26,6 +26,9 @@ #define PWM_TIMER_CLOCK cmuClock_TIMER2 #define PWM_ROUTE TIMER_ROUTE_LOCATION_LOC1 +/* USB */ +#define USB_TIMER USB_TIMER1 + /* Clocks */ /* Clock definitions */
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device_peripherals.h Thu Aug 13 11:45:08 2015 +0100 +++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device_peripherals.h Thu Aug 13 15:45:09 2015 +0100 @@ -26,6 +26,9 @@ #define PWM_TIMER_CLOCK cmuClock_TIMER2 #define PWM_ROUTE TIMER_ROUTE_LOCATION_LOC1 +/* USB */ +#define USB_TIMER USB_TIMER1 + /* Clocks */ /* Clock definitions */