Thats what I meant, thank you.
Type: Posts; User: bremenpl
Thats what I meant, thank you.
Hello there,
I was trying to find such tool but I was not able to. What I was wondering, is either there is a software out there, that would allow one to graphically represent work of the threads in...
Thank you.
I think I know what is the case... I have an array of sctructs created like this:
feederObject_t* rs485_feederBlock = 0;
...
size_t blockByteSize = config_globalFlash.flashStruct.nrOfFeeders *...
I understand. next time I will try to create more showing examples, sorry. I got the values read from debugger.
I am using an arm crosscompiller from Atolic:
gcc version 4.8.3 20140228...
Hello there,
I am trying to force my 32 bit system to align my struct with bytes not words...
This is my struct:
typedef struct
{
uint8_t tolerance;
uint8_t ...
Ok, thank you very much for explanation.
I think I understand... Also I meants sizeof(uint64_t) = 8. But I dont know why is it undefined? If lets say one creates a union like this:
typedef union
{
uint64_t var64;
uint8_t...
Hello thank you for answer,
But what does it mean that it is not correctly aligned? Do you mean that uint8 is not placed as lsb of uint64 when converted?
Hello there,
I have a question regarding pointers conversions (not sure if i got that right in English). Lets say I am on a 32 bit system, little endian.
There is an 8 bit variable:
uint8_t...
Thank you for the const hint, you are right i missed it!
As for the static- what would you say then, is the proper method of defining this const "structure" of data? I need this in the source file...
I have edited my post, I pasted wrong struct, thank you.
I have an enum that represens days as numbers. that way I can reffer to them as indexes and do:
printf("the day is %s",...
Hello there,
I need a const global string table like this:
const char* dayOfWeekStrings[7] =
{
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
Hi there,
I have a quick question regarding c language. I cant figure out why the code would not compile. Heres the example:
typedef struct
{
// logging
uint8_t logPlace;...
Ok, i understand everything. Thank you for help :).
I see. Eventually it wont be so len variable has to stay. So is there no other way to allocate memory for the scruct (and the containing vector) using only 1 malloc?
But does the compiller know the size of allocated data like that? If yes, then I dont need to store length in variable len.
Hello there,
this might be a silly question but I am a bit confised about the case and I wanted to ask around. I need to allocate memory for an object that looks like this:
typedef struct{...
Anyone please?
Hello there,
Before I desribe the problem, I would just like to say that I am struggling with it all day basicaly and also that I am not very expirienced with c++ language.
So I am trying to...
I found out that I can actually download the boost library on the beagle using package manager. That went a lot smoother. Thank you for replies guys.
Im not sure either such thing exists, i have provided the path to my toolchain which is arm-linux-gnueabihf-g++
Hello there,
I am trying to cross compile the boost library for BeagleBone Black, so i am abble to build c++ projects on host x86 machine using boost and deploy it to arm target.
I am on Linux...
Ill try finding tutorials on that, thank you.
Hello there,
I have some experience in linux c programming with sockets. The problem is, all my little apps I have wrote (even the ones using threads) were consuming a lot of processor time, as the...