Skip to content

Commit c31a7c2

Browse files
jeromecoutantbulislaw
authored andcommitted
STM32 LPTICKER : enable all STM32 targets supporting the feature
(All STM32 except F1 and F2 families)
1 parent 1c4174d commit c31a7c2

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed

targets/targets.json

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@
742742
"help": "default RX STDIO pins is defined in PinNames.h file, but it can be overridden"
743743
}
744744
},
745-
"device_has": ["USTICKER", "ANALOGIN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"]
745+
"device_has": ["USTICKER", "LPTICKER", "ANALOGIN", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES"]
746746
},
747747
"MIMXRT1050_EVK": {
748748
"supported_form_factors": ["ARDUINO"],
@@ -930,6 +930,7 @@
930930
},
931931
"detect_code": ["0700"],
932932
"device_has_add": ["CAN", "SERIAL_FC", "SERIAL_ASYNCH", "FLASH"],
933+
"device_has_remove": ["LPTICKER"],
933934
"release_versions": ["2", "5"],
934935
"device_name": "STM32F103RB"
935936
},
@@ -953,6 +954,7 @@
953954
"detect_code": ["0835"],
954955
"macros_add": ["USBHOST_OTHER"],
955956
"device_has_add": ["ANALOGOUT", "CAN", "EMAC", "SERIAL_ASYNCH", "SERIAL_FC", "FLASH"],
957+
"device_has_remove": ["LPTICKER"],
956958
"features": ["LWIP"],
957959
"release_versions": ["2", "5"],
958960
"device_name": "STM32F207ZG",
@@ -1079,7 +1081,7 @@
10791081
}
10801082
},
10811083
"macros_add": ["USB_STM_HAL", "USBHOST_OTHER", "HSE_VALUE=25000000"],
1082-
"device_has_add": ["SERIAL_ASYNCH", "SERIAL_FC", "FLASH", "LPTICKER"],
1084+
"device_has_add": ["SERIAL_ASYNCH", "SERIAL_FC", "FLASH"],
10831085
"overrides": {"lse_available": 0},
10841086
"release_versions": ["2", "5"],
10851087
"device_name": "STM32F401VE"
@@ -1101,7 +1103,7 @@
11011103
}
11021104
},
11031105
"detect_code": ["0744"],
1104-
"device_has_add": ["LPTICKER", "ANALOGOUT", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
1106+
"device_has_add": ["ANALOGOUT", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
11051107
"release_versions": ["2", "5"],
11061108
"device_name": "STM32F410RB"
11071109
},
@@ -1210,7 +1212,7 @@
12101212
},
12111213
"detect_code": ["0743"],
12121214
"macros_add": ["USB_STM_HAL", "USBHOST_OTHER"],
1213-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CAN", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
1215+
"device_has_add": ["ANALOGOUT", "CAN", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
12141216
"release_versions": ["2", "5"],
12151217
"device_name": "STM32F413ZH"
12161218
},
@@ -1232,7 +1234,7 @@
12321234
},
12331235
"detect_code": ["0743"],
12341236
"macros_add": ["USB_STM_HAL", "USBHOST_OTHER"],
1235-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CAN", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
1237+
"device_has_add": ["ANALOGOUT", "CAN", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
12361238
"release_versions": ["2", "5"],
12371239
"device_name": "STM32F413ZH"
12381240
},
@@ -1476,7 +1478,7 @@
14761478
}
14771479
},
14781480
"detect_code": ["0780"],
1479-
"device_has_add": ["LPTICKER", "CRC", "SERIAL_FC", "FLASH"],
1481+
"device_has_add": ["CRC", "SERIAL_FC", "FLASH"],
14801482
"default_lib": "small",
14811483
"release_versions": ["2"],
14821484
"device_name": "STM32L011K4"
@@ -1499,7 +1501,7 @@
14991501
}
15001502
},
15011503
"detect_code": ["0790"],
1502-
"device_has_add": ["LPTICKER", "CRC", "SERIAL_FC", "FLASH"],
1504+
"device_has_add": ["CRC", "SERIAL_FC", "FLASH"],
15031505
"default_lib": "small",
15041506
"release_versions": ["2"],
15051507
"device_name": "STM32L031K6"
@@ -1521,7 +1523,7 @@
15211523
}
15221524
},
15231525
"detect_code": ["0715"],
1524-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CRC", "SERIAL_FC", "SERIAL_ASYNCH", "FLASH"],
1526+
"device_has_add": ["ANALOGOUT", "CRC", "SERIAL_FC", "SERIAL_ASYNCH", "FLASH"],
15251527
"default_lib": "small",
15261528
"release_versions": ["2"],
15271529
"device_name": "STM32L053R8"
@@ -1543,7 +1545,7 @@
15431545
}
15441546
},
15451547
"detect_code": ["0760"],
1546-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CRC", "SERIAL_FC", "SERIAL_ASYNCH", "TRNG", "FLASH"],
1548+
"device_has_add": ["ANALOGOUT", "CRC", "SERIAL_FC", "SERIAL_ASYNCH", "TRNG", "FLASH"],
15471549
"release_versions": ["2", "5"],
15481550
"device_name": "STM32L073RZ"
15491551
},
@@ -1581,7 +1583,7 @@
15811583
}
15821584
},
15831585
"detect_code": ["0770"],
1584-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CRC", "SERIAL_FC", "SERIAL_ASYNCH", "CAN", "TRNG", "FLASH"],
1586+
"device_has_add": ["ANALOGOUT", "CRC", "SERIAL_FC", "SERIAL_ASYNCH", "CAN", "TRNG", "FLASH"],
15851587
"release_versions": ["2", "5"],
15861588
"device_name": "STM32L432KC",
15871589
"bootloader_supported": true
@@ -1603,7 +1605,7 @@
16031605
}
16041606
},
16051607
"detect_code": ["0779"],
1606-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CRC", "SERIAL_FC", "SERIAL_ASYNCH", "CAN", "TRNG", "FLASH"],
1608+
"device_has_add": ["ANALOGOUT", "CRC", "SERIAL_FC", "SERIAL_ASYNCH", "CAN", "TRNG", "FLASH"],
16071609
"release_versions": ["2", "5"],
16081610
"device_name": "STM32L433RC",
16091611
"bootloader_supported": true
@@ -1623,6 +1625,7 @@
16231625
"overrides": {"lse_available": 0},
16241626
"release_versions": ["5"],
16251627
"device_has_add": ["ANALOGOUT", "CRC", "SERIAL_FC", "SERIAL_ASYNCH", "CAN", "TRNG", "FLASH"],
1628+
"device_has_remove": ["LPTICKER"],
16261629
"macros_add": ["MBEDTLS_CONFIG_HW_SUPPORT"],
16271630
"device_name" : "STM32L443RC",
16281631
"detect_code": ["0458"],
@@ -1646,7 +1649,7 @@
16461649
},
16471650
"detect_code": ["0765"],
16481651
"macros_add": ["USBHOST_OTHER", "TWO_RAM_REGIONS"],
1649-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CAN", "CRC", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
1652+
"device_has_add": ["ANALOGOUT", "CAN", "CRC", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
16501653
"release_versions": ["2", "5"],
16511654
"device_name": "STM32L476RG",
16521655
"bootloader_supported": true
@@ -1687,7 +1690,7 @@
16871690
},
16881691
"detect_code": ["0827"],
16891692
"macros_add": ["USBHOST_OTHER", "MBEDTLS_CONFIG_HW_SUPPORT", "TWO_RAM_REGIONS"],
1690-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CAN", "CRC", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
1693+
"device_has_add": ["ANALOGOUT", "CAN", "CRC", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
16911694
"release_versions": ["2", "5"],
16921695
"device_name": "STM32L486RG"
16931696
},
@@ -1705,6 +1708,7 @@
17051708
"detect_code": ["0460"],
17061709
"macros_add": ["MBEDTLS_CONFIG_HW_SUPPORT", "WISE_1570", "TWO_RAM_REGIONS"],
17071710
"device_has_add": ["ANALOGOUT", "CRC", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
1711+
"device_has_remove": ["LPTICKER"],
17081712
"release_versions": ["5"],
17091713
"device_name": "STM32L486RG",
17101714
"OUTPUT_EXT": "hex"
@@ -1742,6 +1746,7 @@
17421746
"extra_labels_add": ["STM32F1", "STM32F100RB"],
17431747
"supported_toolchains": ["GCC_ARM"],
17441748
"device_has_add": [],
1749+
"device_has_remove": ["LPTICKER"],
17451750
"device_name": "STM32F100RB"
17461751
},
17471752
"DISCO_F303VC": {
@@ -1855,7 +1860,7 @@
18551860
}
18561861
},
18571862
"overrides": {"lse_available": 0},
1858-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CRC", "SERIAL_FC", "FLASH"],
1863+
"device_has_add": ["ANALOGOUT", "CRC", "SERIAL_FC", "FLASH"],
18591864
"default_lib": "small",
18601865
"release_versions": ["2"],
18611866
"device_name": "STM32L053C8"
@@ -1877,7 +1882,7 @@
18771882
}
18781883
},
18791884
"detect_code": ["0833"],
1880-
"device_has_add": ["LPTICKER", "ANALOGOUT", "SERIAL_FC", "SERIAL_ASYNCH", "TRNG", "FLASH"],
1885+
"device_has_add": ["ANALOGOUT", "SERIAL_FC", "SERIAL_ASYNCH", "TRNG", "FLASH"],
18811886
"release_versions": ["2", "5"],
18821887
"device_name": "STM32L072CZ"
18831888
},
@@ -1887,6 +1892,7 @@
18871892
"extra_labels_add": ["STM32L0", "STM32L0x2xZ", "STM32L082CZ", "STM32L082xx"],
18881893
"detect_code": ["0456"],
18891894
"device_has_add": ["ANALOGOUT", "SERIAL_FC", "SERIAL_ASYNCH", "TRNG", "FLASH"],
1895+
"device_has_remove": ["LPTICKER"],
18901896
"release_versions": ["5"],
18911897
"device_name": "STM32L082CZ"
18921898
},
@@ -1964,7 +1970,7 @@
19641970
"supported_form_factors": ["ARDUINO"],
19651971
"detect_code": ["0764"],
19661972
"macros_add": ["USBHOST_OTHER"],
1967-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CAN", "SERIAL_FC", "TRNG", "FLASH"],
1973+
"device_has_add": ["ANALOGOUT", "CAN", "SERIAL_FC", "TRNG", "FLASH"],
19681974
"release_versions": ["2", "5"],
19691975
"device_name": "STM32L475VG",
19701976
"bootloader_supported": true
@@ -1986,7 +1992,7 @@
19861992
},
19871993
"detect_code": ["0820"],
19881994
"macros_add": ["USBHOST_OTHER"],
1989-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CAN", "SERIAL_FC", "TRNG", "FLASH"],
1995+
"device_has_add": ["ANALOGOUT", "CAN", "SERIAL_FC", "TRNG", "FLASH"],
19901996
"release_versions": ["2", "5"],
19911997
"device_name": "STM32L476VG",
19921998
"bootloader_supported": true
@@ -3758,7 +3764,7 @@
37583764
"extra_labels_add": ["STM32F1", "STM32F103C8"],
37593765
"supported_toolchains": ["GCC_ARM"],
37603766
"device_has_add": [],
3761-
"device_has_remove": ["RTC", "STDIO_MESSAGES"]
3767+
"device_has_remove": ["RTC", "STDIO_MESSAGES", "LPTICKER"]
37623768
},
37633769
"NUMAKER_PFM_NUC472": {
37643770
"core": "Cortex-M4F",
@@ -3988,7 +3994,7 @@
39883994
}
39893995
},
39903996
"detect_code": ["0822"],
3991-
"device_has_add": ["ANALOGOUT", "CAN", "CRC", "LPTICKER", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
3997+
"device_has_add": ["ANALOGOUT", "CAN", "CRC", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
39923998
"release_versions": ["2", "5"],
39933999
"device_name": "STM32L496AG"
39944000
},
@@ -4009,7 +4015,7 @@
40094015
}
40104016
},
40114017
"detect_code": ["0823"],
4012-
"device_has_add": ["LPTICKER", "ANALOGOUT", "CAN", "CRC", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
4018+
"device_has_add": ["ANALOGOUT", "CAN", "CRC", "SERIAL_ASYNCH", "SERIAL_FC", "TRNG", "FLASH"],
40134019
"release_versions": ["2", "5"],
40144020
"device_name": "STM32L496ZG"
40154021
},

0 commit comments

Comments
 (0)