• Locating members of a struct variable to absolute memory locations
    I would like to know if I can use "_at_" to locate struct members to absolute memory locations. For instance, I have a struct variable defined as following, xdata struct { unsigned char member1;...
  • Locating members of a struct variable to absolute memory locations
    I would like to know if I can use "_at_" to locate struct members to absolute memory locations. For instance, I have a struct variable defined as following, xdata struct { unsigned char member1;...
  • declare variable of struct with flexible array member at compile time
    Hello everybody, is it possible to use a struct with flexible array members and declare a variable of it at compile time? e.g.: struct sFoo { uint32_t const num_Elements; uint8_t baz[];...
  • declare variable of struct with flexible array member at compile time
    Hello everybody, is it possible to use a struct with flexible array members and declare a variable of it at compile time? e.g.: struct sFoo { uint32_t const num_Elements; uint8_t baz[];...
  • declare a variable with flexible array members (c99)
    Hello everyone, in c99 I can make a struct with a flexible array member at the end. Is it possible to create such a variable at compile time? e.g: struct monitoredArray { unsigned int const...