2023-05-17 |
Synchronize upstream changes - May 2023 edition (#160)
...
Jamie Smith
authored
on 17 May 2023
GitHub
committed
on 17 May 2023
|
---|---|
2021-01-25 |
After checking other parts of the code (trng_api.c and a few other board platforms (NUCLEO_F413ZH, ...)) it appears that even though the reset value defaults correctly it may be good practice to keep the HAL_RCCEx_PeriphCLKConfig statement that selects the HSI48CLK as source for USB/RNG.
Tauno Magnusson
committed
on 25 Jan 2021
|
Removed the HAL_RCCEx_PeriphCLKConfig statement that was selecting the HSI48 CLK for USB. Assumption is that the STM32G4 reset value (defaults to HSI48 selected for USB) is preserved throughout Mbed initialization.
Tauno Magnusson
committed
on 25 Jan 2021
|
|
Updated to enable HSI48 Clock also for USBDEVICE define in targets.json. Also added so that the CK48 Clock Mux selects HSI48 for both RNG and USB. Without these the RNG/USB will be clocked at PLLQ (170 MHz) and not work.
Tauno Magnusson
committed
on 25 Jan 2021
|
|
2021-01-23 |
Reverted to a pure copy of 474RE system_clock.c since it was updated with RNG clock fixes. Removing USB Clock enablement (USB will not work out-of-the box but will require users to modify system_clock.c to enable its clock) - this inline with changes to targets.json where I removed the USBDEVICE define
Tauno Magnusson
committed
on 23 Jan 2021
|
Adding support for NUCLEO_G431KB. Created this file based on G474RE file. Added support for USB - connected the HSI48 clock to USB (and RNG). Warning: I'm assuming Flash latency is the same as for G474RE.
Tauno Magnusson
committed
on 23 Jan 2021
|