GithubHelp home page GithubHelp logo

phryniszak / strtt Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 7.0 3.41 MB

Segger RTT console using ST-link

License: GNU General Public License v3.0

C++ 5.34% C 93.68% JavaScript 0.34% CMake 0.07% Assembly 0.58%
segger seggerrtt st-link

strtt's People

Contributors

genekong avatar phryniszak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

strtt's Issues

Integration with cortex-debug

I've been working (slowly) on adding swo support for the stlink debugger in cortex-debug but then realized that rtt may be a better option. I would need to ask the author of cortex-debug, but my question is: would you be okay with using this program with cortex-debug? It would probably not be distributed but would be downloaded by vscode with a prompt.

The other part of this is that, although the javascript version can run natively in vscode, I don't think it has tcp implemented, which would be required. Also the cpp version is probably more performant the the javascript version, and including the sources could cause more issues. So I think the cpp version is the right choice.

Build fails with sockpp >= v0.8.0

Hi, thank you for this project, it is really useful to me.
I noticed that the project includes sockpp as a dependency in src/rtt/CMakeLists.txt, and the GIT_TAG specified there is master.
However, with recent versions of sockpp, the build fails with the following error:

/home/user/strtt/src/rtt/sysview.cpp: In member function ‘void SysView::run_server()’:
/home/user/strtt/src/rtt/sysview.cpp:98:32: error: ‘sockpp::socket_initializer::socket_initializer()’ is private within this context
   98 |     sockpp::socket_initializer sockInit;
      |                                ^~~~~~~~
In file included from /home/user/strtt/_deps/sockpp_content-src/include/sockpp/stream_socket.h:50,
                 from /home/user/strtt/_deps/sockpp_content-src/include/sockpp/acceptor.h:49,
                 from /home/user/strtt/_deps/sockpp_content-src/include/sockpp/tcp_acceptor.h:48,
                 from /home/user/strtt/src/rtt/sysview.h:21,
                 from /home/user/strtt/src/rtt/sysview.cpp:21:
/home/user/strtt/_deps/sockpp_content-src/include/sockpp/socket.h:124:9: note: declared private here
  124 |         socket_initializer();
      |         ^~~~~~~~~~~~~~~~~~

When I specify sockpp v0.7.1, the build succeds, but starting with the following version, v0.8.0, it fails.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.