I use online clock generate tool to generate clock configuration file.
I want to generate configuration files like BOARD_BootClockFROHF48M(), BOARD_BootClockFROHF96M() . But in generated clock_config.c/h, those functions are not there, only BOARD_InitBootClocks() and BOARD_BootClocksRUN()
please tell me how to proceed to generate other functions that I need. Thanks.
已解决! 转到解答。
Hi,
The problem is that your configuration is for plain processor but not based on board.
for example,
BOARD_BootClockFROHF48M() can be generated for configuration "LPCXpresso54680", but not for "LPC54608J512 "
According to developer "The pre-set configurations are available and tailored only for boards, if you would use a processor that does not have any board available, you would need to add functions and configure clocks manually in clocks tool."
you can switch configuration in "MANAGE" tab.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
The problem is that your configuration is for plain processor but not based on board.
for example,
BOARD_BootClockFROHF48M() can be generated for configuration "LPCXpresso54680", but not for "LPC54608J512 "
According to developer "The pre-set configurations are available and tailored only for boards, if you would use a processor that does not have any board available, you would need to add functions and configure clocks manually in clocks tool."
you can switch configuration in "MANAGE" tab.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi hotas,
- About " BOARD_InitBootClocks() " , it just a function name ,and it is matching with the code of SDK project,
when we create a simple SDK project, it will includes the function of " BOARD_InitBootClocks() "in main.c file:
- After you configure clock on MCUXpresso clock tool, the code in clock_config.c and clock_config.h
will be changed automatically refer to your configuration. For example :
Hope it helps
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------