Hi,
I want to use LSE clock of the board. Because of few reasons I need to disable the node in overlay file, but I enable the node in main.
Is this possible to achieve? If yes, please suggest me how?
Thanks
Hi,
I want to use LSE clock of the board. Because of few reasons I need to disable the node in overlay file, but I enable the node in main.
Is this possible to achieve? If yes, please suggest me how?
Thanks
Hi,
Could you show me how you disable the node in the overlay? And in which file do you want to enable it?
If you can tell me why you need to disable it in the overlay and enable it somewhere else, that would also be helpful.
Hi Øivind
&clk_lse {
status = "disabled";
};
The code snap of disabling the LSE clock.
I need to enable it in main (basically I need to enable the node dynamically).
I need to disable in overlay to reduce the boot time of the device.
Hi, enabling or disabling dts nodes during runtime is not possible.
The only references to the clk_lse node I could find in the SDK were in stm32_clock_control.h, which appears to rely on the node being enabled during boot in order to configure it correctly.
Hi, enabling or disabling dts nodes during runtime is not possible.
The only references to the clk_lse node I could find in the SDK were in stm32_clock_control.h, which appears to rely on the node being enabled during boot in order to configure it correctly.