µC/Clk is configurable at compile time via approximately half a dozen #defines.
A template configuration file (clk_cfg.h
) is included in the module package (see Directories and files). This configuration should be copied into your application directory and modified according to your application’s needs. µC/Clk uses #defines
because they allow code and data sizes to be scaled at compile time based on enabled features. In other words, this allows the ROM and RAM footprints of µC/Clk to be adjusted based on the application requirements.
Most of the #defines
should be configured with the default configuration values. Another small handful of values may likely never change because there is currently only one configuration choice available. This leaves a few values that should be configured with values that may deviate from the default configuration. However, keep in mind that future releases of this module might include more configuration options.
It is recommended that the configuration process starts with the recommended or default configuration values which are shown in bold
.