feat(slave_node): Switch to RTT console output
- Reconfigure the project to use SEGGER RTT for console output instead of UART. - Update the main loop with a new printk message for testing purposes.
This commit is contained in:
parent
b005fd5c11
commit
0d3696bf93
|
|
@ -2,8 +2,9 @@
|
|||
CONFIG_CONSOLE=y
|
||||
CONFIG_PRINTK=y
|
||||
|
||||
# Enable UART console
|
||||
CONFIG_UART_CONSOLE=y
|
||||
# Disable UART console
|
||||
CONFIG_UART_CONSOLE=n
|
||||
|
||||
# Disable RTT console to avoid conflicts
|
||||
CONFIG_RTT_CONSOLE=n
|
||||
# Enable RTT console
|
||||
CONFIG_RTT_CONSOLE=y
|
||||
CONFIG_USE_SEGGER_RTT=y
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
int main(void)
|
||||
{
|
||||
while (1) {
|
||||
printk("Hello from Slave Node!\n");
|
||||
printk("Hello from the updated Slave Node! Version 2.0\n");
|
||||
k_msleep(1000);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue