Search found 10 matches

by rdamon
Fri Jun 21, 2019 1:48 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: Min Free Stack Disabled
Replies: 2
Views: 297

Re: Min Free Stack Disabled

In the upper right corner of the window is a 'Hamburger Menu' (3 stacked lines) which has a flyover hint of 'Toggle Stack Checking', press that to get the stack remaining (though if there is a lot, it will just say >256).
by rdamon
Fri May 24, 2019 5:00 pm
Forum: Embedded target code development discussions
Topic: typedef structure issue
Replies: 3
Views: 367

Re: typedef structure issue

The basic issue is that the typedef name isn't visible until the struct definition is complete, so the struct definition can't use the typedef name. The struct tag name is available as soon as you start the definition, so you can use it in the definition. In addition, you didn't provide the name tha...
by rdamon
Tue May 07, 2019 2:45 pm
Forum: TrueSTUDIO for STM32 discussions
Topic: Compile and perform unit test for STM32 on Host
Replies: 1
Views: 184

Re: Compile and perform unit test for STM32 on Host

To unit test on a different platform, you need to stub out all platform specific code, especially anything that uses assembly since you are using very different CPUs.
by rdamon
Mon May 06, 2019 4:18 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: How to force a file to always build?
Replies: 14
Views: 1014

Re: How to force a file to always build?

'Application' is a folder we create ourselves to put the main code files of our application as part of a standard file layout we use for many different platforms. It sounds like you have somehow told eclipse to only look at the changes it makes to figure out what to make, not sure where you could ha...
by rdamon
Mon May 06, 2019 1:15 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: How to force a file to always build?
Replies: 14
Views: 1014

Re: How to force a file to always build?

My project has listed as the Post-Build step: cmd.exe /c ..\postbuild.bat postbuild.bat has the line del Application\Version.* (the IDE runs the build step from the output directory, and the file I want to always build is in my project at {$proj_dir}/Application/Version.c) For me, this seems to work.
by rdamon
Mon Apr 15, 2019 7:04 pm
Forum: TrueSTUDIO for STM32 discussions
Topic: Min Free Stack is not updated
Replies: 1
Views: 265

Re: Min Free Stack is not updated

It seems to only report the exact usage if it is less than 256, and >256 if it is over that. I suspect so they don't need to download the full stack from all the tasks.

I tend to put a command into my programs to list the task status of all the tasks to get the exact value at a point in time.
by rdamon
Mon Apr 01, 2019 4:14 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: How to force a file to always build?
Replies: 14
Views: 1014

Re: How to force a file to always build?

One other nugget that I use is my date string is declared as:

Code: Select all

const char version_date[] = __DATE__ " " __TIME__;

So I have just a single string (using C's automatic string concatenation), and because it is declared const, can be put in flash.
by rdamon
Mon Apr 01, 2019 1:46 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: How to force a file to always build?
Replies: 14
Views: 1014

Re: How to force a file to always build?

As I said, with Atollic, I found I needed it to be a POST build step, so that after linking the object file was removed so it would be regenerated for the next build. When done as a Pre build step, it would alternate working or not, my guess being that the list of files to build were computed before...
by rdamon
Fri Mar 29, 2019 4:10 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: How to force a file to always build?
Replies: 14
Views: 1014

Re: How to force a file to always build?

I use a build step to delete the object file output for that file, so it needs to be recompiled to link. For most tools I make it a pre-build step but with Atollic I seem to need to make it a post-build step as it seems that it has already determined what files to build before it runs the pre-build ...
by rdamon
Fri Mar 29, 2019 4:02 pm
Forum: Atollic TrueSTUDIO tool discussions
Topic: Task List
Replies: 1
Views: 256

Re: Task List

It means the task is delayed via a call to vTaskDelay or vTaskDelayUntil (or similar functionality in something wrapping these). It will automatically continue running after that delay.

Go to advanced search