-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin' into 49-cangen-sim
Showing
10 changed files
with
246 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
adapter driver ftdi | ||
ftdi vid_pid 0x0403 0x6010 | ||
ftdi_vid_pid 0x0403 0x6010 | ||
|
||
# Initial state: Assuming 0x0008 doesn't interfere with your setup | ||
# and 0x000b sets the required initial states for your other signals. | ||
ftdi layout_init 0x0008 0x000b | ||
ftdi_layout_init 0x0008 0x000b | ||
|
||
ftdi layout_signal LED_Tx -data 0x00F0 -oe 0x00F0 | ||
ftdi layout_signal LED_Rx -data 0x00F0 -oe 0x00F0 | ||
ftdi_layout_signal LED_Tx -data 0x00F0 -oe 0x00F0 | ||
ftdi_layout_signal LED_Rx -data 0x00F0 -oe 0x00F0 | ||
|
||
# Configure GPIOL0 (ADBUS4) as nSRST, assuming active low reset | ||
# Setting `-data` for active low, `-oe` to enable output. | ||
# If tri-state isn't supported, this configures the pin as push-pull. | ||
ftdi layout_signal nSRST -data 0x0010 -oe 0x0010 | ||
ftdi_layout_signal nSRST -data 0x0010 -oe 0x0010 | ||
|
||
transport select jtag | ||
transport select jtag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
from .build_system import main | ||
from .build_system import app | ||
from . import miniterm |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ distro | |
pre-commit | ||
clang-format | ||
pyserial | ||
typer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
$_TARGETNAME configure -event gdb-detach { | ||
reset run | ||
shutdown | ||
} | ||
|
||
init | ||
reset halt |