MBSP

Microcontroller Board Support Package

User Tools

Site Tools


uart_group

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
uart_group [ 17.08.2025 05:49] larsuart_group [ 26.10.2025 02:30] (current) lars
Line 22: Line 22:
             "IRQ" : "20",              "IRQ" : "20", 
             "IRQ_priority" : "0",             "IRQ_priority" : "0",
 +            "enable_define": "FEAT_TARGET_UART",
         }         }
     }     }
Line 75: Line 76:
 **type**: enum **type**: enum
  
-**default**: 8+**default**: 1
  
  
Line 133: Line 134:
 **type**: int **type**: int
  
 +==== enable_define ====
  
 +If this setting is present then the initialization will be in a ifdef block.
 +
 +**type**: String
 +
 +**Example**:
 +
 +<code>
 +"enable_define": "FEAT_TARGET_UART"
 +
 +#ifdef FEAT_TARGET_UART
 +    // initialize UART target_uart
 +    target_uart_init(115200);
 +#endif // FEAT_TARGET_UART
 +</code>
  
 ===== API ===== ===== API =====
uart_group.1755409785.txt.gz · Last modified: by lars