Skip to content

Commit 479bcfd

Browse files
Ashok RaoAshok Rao
authored andcommitted
Incorporating review comments
Removing USBDEVICE since USB pins are NOT brought out on the MTB/MCB.
1 parent d2af702 commit 479bcfd

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

components/802.15.4_RF/stm-s2lp-rf-driver/mbed_lib.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"provide-default": {
55
"help": "Provide default NanostackRfpy. [true/false]",
66
"value": false
7+
},
8+
"target_overrides": {
9+
"MTB_STM_S2LP": {
10+
"s2lp.provide-default": true
11+
}
712
}
813
}
914
}

targets/targets.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2834,11 +2834,16 @@
28342834
"help": "Mask value : USE_PLL_HSE_EXTC | USE_PLL_HSE_XTAL (8MHz) | USE_PLL_HSI",
28352835
"value": "USE_PLL_HSE_XTAL",
28362836
"macro_name": "CLOCK_SOURCE"
2837+
},
2838+
"clock_source_usb": {
2839+
"help": "As 48 Mhz clock is configured for USB, SYSCLK has to be reduced from 180 to 168 MHz (set 0 for the max SYSCLK value)",
2840+
"value": "1",
2841+
"macro_name": "CLOCK_SOURCE_USB"
28372842
}
28382843
},
28392844
"extra_labels_add": ["STM32F4", "STM32F429", "STM32F429ZI", "STM32F429xx", "STM32F429xI"],
28402845
"macros_add": ["USB_STM_HAL"],
2841-
"device_has_add": ["ANALOGOUT", "CAN", "SERIAL_ASYNCH", "TRNG", "FLASH", "MPU", "USBDEVICE"],
2846+
"device_has_add": ["ANALOGOUT", "CAN", "SERIAL_ASYNCH", "TRNG", "FLASH", "MPU"],
28422847
"detect_code": ["0467"],
28432848
"release_versions": ["5"],
28442849
"device_name": "STM32F429ZI",

0 commit comments

Comments
 (0)