Skip to content

Commit

Permalink
Merge pull request #287 from yrabbit/tangnano20-uart
Browse files Browse the repository at this point in the history
Use USB-C UART on Tangnano20k
  • Loading branch information
yrabbit authored Oct 24, 2024
2 parents 93db64e + 6fab641 commit 2fe5c4d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions examples/himbaechel/tangnano20k.cst
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ IO_PORT "key_i" IO_TYPE=LVCMOS33;
IO_LOC "rst_i" 88;
IO_PORT "rst_i" IO_TYPE=LVCMOS33;

IO_LOC "TXD" 26;
IO_PORT "TXD" PULL_MODE=UP;
IO_LOC "RXD" 48;
IO_PORT "RXD" PULL_MODE=UP;
// USB-C UART
IO_LOC "TXD" 69;
IO_PORT "TXD" PULL_MODE=NONE;
IO_LOC "RXD" 70;
IO_PORT "RXD" PULL_MODE=NONE;

IO_LOC "LED_R" 15;
IO_LOC "LED_G" 16;
Expand Down Expand Up @@ -117,4 +118,4 @@ IO_PORT "tmds_d_p[2]" PULL_MODE=NONE;
IO_LOC "tmds_d_n[2]" 40;
IO_PORT "tmds_d_n[2]" PULL_MODE=NONE;

IO_LOC "div_led" 15;
IO_LOC "div_led" 15;

0 comments on commit 2fe5c4d

Please sign in to comment.