Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@FIR445 tsi-shell #10

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion subsys/shell/backends/Kconfig.backends
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ config SHELL_BACKEND_SERIAL_INIT_PRIORITY

config SHELL_PROMPT_UART
string "Displayed prompt name"
default "uart:~$ "
default "TSI:~$ "
help
Displayed prompt name for UART backend. If prompt is set, the shell will
send two newlines during initialization.
Expand Down
14 changes: 8 additions & 6 deletions tsi_core/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This application can be built as follows:
.. zephyr-app-commands::
:zephyr-app:
:host-os: unix
:board: ek_tsi_skyp/m85
:board: tsi/skyp/m85
:goals: run
:compact:

Expand All @@ -26,10 +26,10 @@ Sample Output
Tsavorite Scalable Intelligence

|||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||
|||||| |||||
|||||| |||||
|||||| |||||
||||||||||||||||| ||||| |||||
||||||||||||||||| ||||| |||||
||||||||||||||||| ||||| |||||
|||||| |||||
|||||| |||||| ||||| ||||||
Expand All @@ -41,6 +41,8 @@ Sample Output
||||| |||||
||| |||
|
[00:00:00.012,000] <inf> m85: Test Platform: tsi/skyp/m85
[00:00:00.013,000] <wrn> m85: Testing on FPGA
[00:00:00.012 000] <inf> m85: Test Platform: tsi/skyp/m85
[00:00:00.013 000] <wrn> m85: Testing on FPGA
TSI Logging enabled and printk is functional
TSI:~$
TSI:~$
3 changes: 2 additions & 1 deletion tsi_core/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ CONFIG_LOG=y
CONFIG_CONSOLE=y
CONFIG_LOG_PRINTK=y
CONFIG_UART_CONSOLE=y
CONFIG_SHELL=n
CONFIG_SHELL=y
CONFIG_BOOT_BANNER=y
CONFIG_SHELL_BACKEND_SERIAL_INTERRUPT_DRIVEN=n
CONFIG_SHELL_BACKEND_SERIAL_RX_POLL_PERIOD=1

CONFIG_LOG_BACKEND_UART=y
#

# Use immediate mode so all messages are being
# printed. Under deferred mode, there may be
Expand Down
12 changes: 8 additions & 4 deletions tsi_core/sample.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
sample:
description: TSI Core platform - M85
name: m85
description: TSI Core platform - M85
name: m85
common:
tags: introduction
integration_platforms:
- ek_tsi_skyp
- tsi/skyp/m85
harness: console
harness_config:
type: one_line
regex:
- "Welcome to TSI!"
- "Tsavorite Scalable Intelligence"
- [00:00:00.016 000] <inf> m85: Test Platform: tsi/skyp/m85

Check warning on line 13 in tsi_core/sample.yaml

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

YAMLLint (None)

tsi_core/sample.yaml:13 syntax error: expected <block end>, but found '<scalar>' (syntax)
- [00:00:00.018 000] <wrn> m85: Testing on FPGA
- TSI Logging enabled and printk is functional
- TSI Shell
tests:
sample.m85:
tags: introduction
Loading