added prescaler for 16 bit pwm in LPC1347 target

Fork of mbed-dev by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Mar 14 16:15:11 2016 +0000
Parent:
89:76c2ee472b3f
Child:
91:ecf78a9c440b
Commit message:
Synchronized with git revision fec574a5ed6db26aca1b13992ff271bf527d4a0d

Full URL: https://github.com/mbedmicro/mbed/commit/fec574a5ed6db26aca1b13992ff271bf527d4a0d/

Increased allocated netbufs to handle DTLS handshakes

Changed in this revision

targets/hal/TARGET_STM/TARGET_STM32F4/serial_api.c Show annotated file Show diff for this revision Revisions of this file
targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/device.h Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_STM/TARGET_STM32F4/serial_api.c	Mon Mar 14 10:00:13 2016 +0000
+++ b/targets/hal/TARGET_STM/TARGET_STM32F4/serial_api.c	Mon Mar 14 16:15:11 2016 +0000
@@ -451,6 +451,9 @@
             irq_handler(serial_irq_ids[id], RxIrq);
             __HAL_UART_CLEAR_FLAG(handle, UART_FLAG_RXNE);
         }
+        if (__HAL_UART_GET_FLAG(handle, UART_FLAG_ORE) != RESET) {
+            uint8_t c = handle->Instance->DR;
+        }
     }
 }
 
--- a/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/device.h	Mon Mar 14 10:00:13 2016 +0000
+++ b/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/device.h	Mon Mar 14 16:15:11 2016 +0000
@@ -48,6 +48,7 @@
 #define DEVICE_SPISLAVE         1
 
 #define DEVICE_RTC              1
+#define DEVICE_RTC_LSI          0
 
 #define DEVICE_PWMOUT           1