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:
151:5eaa88a5bcc7
--- a/targets/TARGET_ONSEMI/TARGET_NCS36510/ncs36510Init.c	Thu Dec 15 11:48:27 2016 +0000
+++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/ncs36510Init.c	Tue Dec 20 17:27:56 2016 +0000
@@ -37,7 +37,7 @@
 #include "ncs36510Init.h"
 
 void fPmuInit(void);
-uint32_t ADC_Trim_Offset;
+
 /**
  * @brief
  * Hardware trimming function
@@ -94,8 +94,6 @@
         RFANATRIMREG->TX_VCO_TRIM_LUT1 = TRIMREG->TX_VCO_LUT1.WORD;;
         RFANATRIMREG->TX_VCO_TRIM_LUT2 = TRIMREG->TX_VCO_LUT2.WORD;;
 
-        ADC_Trim_Offset = TRIMREG->ADC_OFFSET_TRIM;
-
         status = True;
 
     } else {