mbed library sources. Supersedes mbed-src. Add PORTG support for STM32L476JG (SensorTile kit)

Dependents:   SensorTileTest

Fork of mbed-dev by mbed official

Revision:
153:fa9ff456f731
Parent:
149:156823d33999
diff -r 9a67f0b066fc -r fa9ff456f731 targets/TARGET_NUVOTON/TARGET_NUC472/trng_api.c
--- a/targets/TARGET_NUVOTON/TARGET_NUC472/trng_api.c	Thu Dec 15 11:48:27 2016 +0000
+++ b/targets/TARGET_NUVOTON/TARGET_NUC472/trng_api.c	Tue Dec 20 17:27:56 2016 +0000
@@ -86,7 +86,7 @@
         memcpy(output, &tmpBuff, length);
         *output_length = length;
     } else {
-        for (int i = 0; i < (length/32); i++) {
+        for (size_t i = 0; i < (length/32); i++) {
             trng_get(output);
             *output_length += 32;
             output += 32;