hal_tick.h changed for the L432KC target in TARGET/../device/ in order to reassign the system ticker from TIM2 to TIM7, since TIM2 was needed as a 32bit encoder counter.

Dependents:   Nucleo_L432KC_Quadrature_Decoder_with_ADC_and_DAC

Fork of mbed-dev by mbed official

Revision:
157:ff67d9f36b67
Parent:
149:156823d33999
--- a/targets/TARGET_STM/TARGET_STM32L4/pinmap.c	Mon Jan 16 15:03:32 2017 +0000
+++ b/targets/TARGET_STM/TARGET_STM32L4/pinmap.c	Thu Feb 02 17:01:33 2017 +0000
@@ -41,14 +41,14 @@
     0x00000002, //  3 = GPIO_MODE_AF_PP
     0x00000012, //  4 = GPIO_MODE_AF_OD
     0x00000003, //  5 = GPIO_MODE_ANALOG
-    0x0000000B, //  6 = GPIO_MODE_ANALOG_ADC_CONTROL
-    0x10110000, //  7 = GPIO_MODE_IT_RISING
-    0x10210000, //  8 = GPIO_MODE_IT_FALLING
-    0x10310000, //  9 = GPIO_MODE_IT_RISING_FALLING
-    0x10120000, // 10 = GPIO_MODE_EVT_RISING
-    0x10220000, // 11 = GPIO_MODE_EVT_FALLING
-    0x10320000, // 12 = GPIO_MODE_EVT_RISING_FALLING
-    0x10000000  // 13 = Reset IT and EVT (not in STM32Cube HAL)
+    0x10110000, //  6 = GPIO_MODE_IT_RISING
+    0x10210000, //  7 = GPIO_MODE_IT_FALLING
+    0x10310000, //  8 = GPIO_MODE_IT_RISING_FALLING
+    0x10120000, //  9 = GPIO_MODE_EVT_RISING
+    0x10220000, // 10 = GPIO_MODE_EVT_FALLING
+    0x10320000, // 11 = GPIO_MODE_EVT_RISING_FALLING
+    0x10000000, // 12 = Reset IT and EVT (not in STM32Cube HAL)
+    0x0000000B  //13 = GPIO_MODE_ANALOG_ADC_CONTROL
 };
 
 // Enable GPIO clock and return GPIO base address