Set to 1 to use Cortex ®-M SysTick timer as RTX Kernel Timer.ĭefines the Timer clock frequency <1-1000000000>. Processor mode for thread execution: 0 = Unprivileged mode, 1 = privileged mode. Note that additional code reduces the Kernel performance. Total combined stack size for threads with user-provided stack size <0-4096> (needs to be a multiple of 8).Įnable check for stack overflow for threads. Number of threads with user-provided stack size <0-250> Main Thread stack size <64-4096> (needs to be a multiple of 8).It is used if the “osThreadDef” statement does not specify stack size (stacksz set to 0). Using the selection box tag, we can now create selection options for the USART serial interfaces.ĭefines max number of threads that will run at the same time.ĭefault Thread stack size <64-4096> (needs to be a multiple of 8).Here, we can create a drop down selection box by using the following tags: Next, we can extend the serial interfaces section. Using this tag, we can expand the sentences section with configuration options to select the NMEA messages that will be processed. Using the following tag, it is possible to create tick boxes which modify the #define that immediately follows them. For the NMEA sentence section, we can specify the GPS messages we want to receive. Now, we can start to populate the sections with configuration options. The editor can then view the source code as a configuration wizard. Configuration wizard tags are placed in comments. This section must be closed by:įigure 12.36. This define will be modified to a 1 if the selection is ticked. It is also possible to create a section header with an enable option. The end of the section must be closed by A section header can be created with the following comment: Now, we can create some logical sections to group our configuration settings. The closing comment is optional but it is good practice to add it. This is done by adding the following comment in the first 100 lines of the header file.Īt the end of the file, add the following comment to close the configuration wizard: In this example, we will read through this file to see how they work.įirst, we need to enable this file as a configuration wizard file. This file also contains the necessary annotations to be viewed as a configuration wizard. This file contains a set of #defines that are used by the main application code. The configuration options for our software component are held in the header file gps_config.h. In this exercise, we will add the configuration wizard annotations to the GPS_Config.h header file. Once you are familiar with the configuration wizard annotations, creating new template files is a relatively quick process. Skip i #defines and modify the next #define Modify a single bit in the following #define Create header section with enable and modify specific bit
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |