Search:

Type: Posts; User: bremenpl

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    4,380

    Thats what I meant, thank you.

    Thats what I meant, thank you.
  2. Replies
    2
    Views
    4,380

    Threads debugging graohical tool

    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...
  3. Replies
    5
    Views
    732

    Thank you.

    Thank you.
  4. Replies
    5
    Views
    732

    I think I know what is the case... I have an...

    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 *...
  5. Replies
    5
    Views
    732

    I understand. next time I will try to create more...

    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...
  6. Replies
    5
    Views
    732

    Force 1 byte alignement in 32 bit system

    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 ...
  7. Replies
    6
    Views
    1,150

    Ok, thank you very much for explanation.

    Ok, thank you very much for explanation.
  8. Replies
    6
    Views
    1,150

    I think I understand... Also I meants...

    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...
  9. Replies
    6
    Views
    1,150

    Hello thank you for answer, But what does it...

    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?
  10. Replies
    6
    Views
    1,150

    Pointer conversion issues

    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...
  11. Replies
    5
    Views
    1,574

    Thank you for the const hint, you are right i...

    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...
  12. Replies
    5
    Views
    1,574

    I have edited my post, I pasted wrong struct,...

    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",...
  13. Replies
    5
    Views
    1,574

    global const string vector

    Hello there,
    I need a const global string table like this:

    const char* dayOfWeekStrings[7] =
    {
    "Monday",
    "Tuesday",
    "Wednesday",
    "Thursday",
    "Friday",
  14. Replies
    1
    Views
    1,602

    Cast a struct pointer to an array pointer

    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;...
  15. Ok, i understand everything. Thank you for help...

    Ok, i understand everything. Thank you for help :).
  16. I see. Eventually it wont be so len variable has...

    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?
  17. But does the compiller know the size of allocated...

    But does the compiller know the size of allocated data like that? If yes, then I dont need to store length in variable len.
  18. Memory allocation for an array in a struct pointer

    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{...
  19. Replies
    1
    Views
    2,431

    Anyone please?

    Anyone please?
  20. Replies
    1
    Views
    2,431

    Smart way of defining an end of operator

    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...
  21. I found out that I can actually download the...

    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.
  22. Im not sure either such thing exists, i have...

    Im not sure either such thing exists, i have provided the path to my toolchain which is arm-linux-gnueabihf-g++
  23. cross compiling boost library for BeagleBone Black

    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...
  24. Replies
    3
    Views
    5,208

    Ill try finding tutorials on that, thank you.

    Ill try finding tutorials on that, thank you.
  25. Replies
    3
    Views
    5,208

    C++ non blocking tcp server for linux help

    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...
Results 1 to 25 of 57
Page 1 of 3 1 2 3