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
uart_group [ 08.10.2025 14:24] 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 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.txt · Last modified: by lars