btashton commented on a change in pull request #2699: URL: https://github.com/apache/incubator-nuttx/pull/2699#discussion_r559045724
########## File path: tools/lwl/README.txt ########## @@ -56,7 +56,47 @@ Usage ===== No special python modules are needed, it should be possible to run the -application simply as shown below; +application simply as shown below: + +In the first terminal execute the openocd command to connect to the board. +Assuming that you already flashed to firmware (nuttx.bin) with the LWL +console support. For stm32f4discovery board I use this command: + +------------------------------------------ +$ sudo openocd -f interface/stlink-v2.cfg -f target/stm32f4x.cfg Review comment: This should just be using `openocd -f board/stm32f4discovery.cfg` which will also remove a lot of the warnings you have here. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org