Skip to content

Commit 76cde77

Browse files
Ashok Rao0xc0170
authored andcommitted
Incorporating review comments Removing USBDEVICE since USB pins are NOT brought out on the MTB/MCB.
1 parent 438cf8c commit 76cde77

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
@@ -2837,11 +2837,16 @@
28372837
"help": "Mask value : USE_PLL_HSE_EXTC | USE_PLL_HSE_XTAL (8MHz) | USE_PLL_HSI",
28382838
"value": "USE_PLL_HSE_XTAL",
28392839
"macro_name": "CLOCK_SOURCE"
2840+
},
2841+
"clock_source_usb": {
2842+
"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)",
2843+
"value": "1",
2844+
"macro_name": "CLOCK_SOURCE_USB"
28402845
}
28412846
},
28422847
"extra_labels_add": ["STM32F4", "STM32F429", "STM32F429ZI", "STM32F429xx", "STM32F429xI"],
28432848
"macros_add": ["USB_STM_HAL"],
2844-
"device_has_add": ["ANALOGOUT", "CAN", "SERIAL_ASYNCH", "TRNG", "FLASH", "MPU", "USBDEVICE"],
2849+
"device_has_add": ["ANALOGOUT", "CAN", "SERIAL_ASYNCH", "TRNG", "FLASH", "MPU"],
28452850
"detect_code": ["0467"],
28462851
"release_versions": ["5"],
28472852
"device_name": "STM32F429ZI",

0 commit comments

Comments
 (0)