initial commit
This commit is contained in:
22
agents.md
Normal file
22
agents.md
Normal file
@@ -0,0 +1,22 @@
|
||||
Complete echo_bot build/flash/reset/UART workflow (user-provided commands):
|
||||
|
||||
# 1. Build
|
||||
cd ~/ncs/v3.0.2 && nrfutil toolchain-manager launch --ncs-version v3.0.2 -- west build --build-dir /home/paul/Documents/echo_bot/build /home/paul/Documents/echo_bot --board Scout/nrf5340/cpuapp -- -DBOARD_ROOT="/home/paul/Documents/custom_boards_nrf"
|
||||
|
||||
# 2. Flash
|
||||
cd ~/ncs/v3.0.2 && nrfutil toolchain-manager launch --ncs-version v3.0.2 -- west flash --build-dir /home/paul/Documents/echo_bot/build
|
||||
|
||||
# 3. Reset device
|
||||
nrfutil device reset --serial-number <SERIAL_NUMBER>
|
||||
|
||||
# 4. UART capture (30s timeout)
|
||||
We use Uart for logging!
|
||||
timeout 30 minicom --device /dev/serial/by-id/<id> --baudrate 115200
|
||||
|
||||
Notes:
|
||||
- Use nrfutil toolchain-manager launch wrapper for NCS v3.0.2
|
||||
- Board: Scout/nrf5340/cpuapp with custom BOARD_ROOT
|
||||
- Serial number for reset: <SERIAL_NUMBER>
|
||||
- UART device: /dev/serial/by-id/<id>
|
||||
- Timeout 30s on minicom to auto-exit
|
||||
- Start the UART and directly after that reset, to get the output
|
||||
Reference in New Issue
Block a user