How to run peripheral example GPIO C Example?

Hello @drew.tx ,

First I tried to run UART1 using J6 connector but it not work getting garbage value, so then I tested my code on UART1 and it working

We want to work on UART1 and the datasheet said RS232_TX and RS232_RX, Can you please let me know what the voltage level for RS232? I checked using DMM and shows 5V?

But on debug console not able to see printf messages:

=thread-group-added,id="i1"
GNU gdb (Debian 13.1-3) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
=cmd-param-changed,param="pagination",value="off"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".

Breakpoint 1, main () at src/main.c:81
Loaded '/lib/ld-linux-aarch64.so.1'. Symbols loaded.
Loaded '/lib/aarch64-linux-gnu/libc.so.6'. Symbols loaded.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x0000007fa4b399e4 in read () from /lib/aarch64-linux-gnu/libc.so.6

But in code I used printf for logging message to see where the code running.

Thanks,
Vishal