Recent Posts

Pages: 1 2 3 4 5 6 [7] 8 9 10
61
Embedded development / Re: MSP430 Programming with Debugging
« Last post by glen-the-grey on October 30, 2025, 10:43:52 pm »
Another finding on Debian 13.  The version of mspdebug in the toolchain from Texas Instruments depends on libcurses.so.5 and libtinfo.so.5 but Debian 13 has moved on to version 6 of these.

The workaround is to get the old libraries from a previous version of Debian (just download the *.deb file and extract it to get to the lib files).  I have extracted them into /opt/oldlibs/ and then included that folder in: Project->Build Options->Linker->Search Paths
62
Using Code::Blocks / Re: Problem with standalone exe
« Last post by gd_on on October 30, 2025, 07:32:32 pm »
have a look to https://stackoverflow.com/questions/1993390/static-linking-vs-dynamic-linking
And add in your PATH system variable, the path to "your compiler\bin" sub-folder (where is located your gcc.exe or g++.exe) : may be something like C:\MinGW64\bin or C:\Program Files\CodeBlocks\MinGW\bin or something else. Code::Blocks, for its own usage, know that path. Bur for a standalone executable, build dynamically (with dlls) you have to help a little bits Windows.
63
Is the certificate not auto renewed by the ACME? That's kind of what Let's Encrypt was designed for.
64
Nightly builds / Re: The 25 October 2025 build (13754) is out.
« Last post by cacb on October 30, 2025, 11:12:43 am »
Thank you to the C::B team and Xaviou!

I have build 13754 running under Kubuntu 24.04.3 LTS now.
65
General (but related to Code::Blocks) / Re: forums.codeblocks.org Cert has expired
« Last post by Wkerry on October 30, 2025, 09:26:41 am »
So you are saying that cert's should be okay after the expiry? I disagree and my second post was a reminder that the admin needs to keep any eye on the 3 monthly lets encrypt expiry.

ollydbg's response was good and expected.
66
General (but related to Code::Blocks) / Re: forums.codeblocks.org Cert has expired
« Last post by sodev on October 30, 2025, 01:29:08 am »
New cert has an expiry date of:
- Thu, 22 Jan 2026 15:46:40 GMT

Thanks, I will report to our site admin about this.

No need to report anything, Let't Encrypt certificates do have a short lifespan by intent ;)
67
Embedded development / Re: MSP430 Programming with Debugging
« Last post by glen-the-grey on October 30, 2025, 12:23:55 am »
I have also just found that you need to add the Launchpad to the udevd rules if you want to be able to run mspdebug as a non root user.

I have some instructions but the codeblocks forum software wont let me write them so I've attached a screenshot.
68
Embedded development / Re: MSP430 Programming with Debugging
« Last post by glen-the-grey on October 29, 2025, 11:41:28 pm »
Just had to re-install on Debian and it seems things have changed with the update to 13 "Trixie".

The good news is the bundled mspdebug is now the latest version so you can just install it with apt.

The bad news is that the library "libmsp430.so" which is needed to run mspdebug on the newer FET debuggers or Launchpad boards is no-longer bundled with Debian, nor does it seem to be available from the Internet anywhere (despite there being numerous projects and websites dedicated to building libmsp430 and the MSP430 most seem to be out of date, obsolete or simply silently fail...many of the downloads from TI just fail without any explanation, I suspect it might be that they are 32bit ELF *.bin files and they wont run on a 64bit system?).

Anyway, several hours of digging around and I found the only place where libmsp430.so seems to be available:

https://www.ti.com/tool/MSP430-FLASHER

This has the MSP430-FLASHER tools (make sure to download the 64bit version) which can be installed into your home directory and inside there is the libmsp430.so file.  I simply made a symlink to it from  /usr/lib/libmsp430.so but you could probably include the install directory into the search path for libraries or just copy the library over.
69
I modified the last command to give perf permissions, so now it is

Code
sudo sysctl -w kernel.perf_event_paranoid=1
70
Is there any way you could tell me what "auto" actually is or give me an example as to how to re-create the situation you're showing here?

You can simply do this:

1, clone the code repo or download the zip file:  asmwarrior/parserlib: A c++ recursive-descent PEG parsing library that supports left recursion..

2, open the cbp project in the root folder: https://github.com/asmwarrior/parserlib/blob/master/test_parser_lib.cbp

3, open the file: cpp_lexer_grammar.h in the C::B editor

4, you can use clangd_client, and use the mouse to hover the "token" variable in the line 172

5, you will see a very big tip window which cover the whole screen, note I only tested on Windows 10 OS.

Thanks.
Pages: 1 2 3 4 5 6 [7] 8 9 10