No profile info found for VadimB

In the current state, I don't see how you program can even be built. You declare static functions but don't define them. The linker should scream.
You don't even need memcpy and sizeof. The following will do it for you:#include ...void main (void){    WrkSettings = DefSettings;}Advantage: just one...
Can you try it this way:Settings DefSettings = {    .vds = {        .vdMagicNum    = 0x42,        .vdVersionNum ...
The first error (well, the second) I get with arm-none-eabi-gcc is: init.c:24:1: error: unknown type name 'Settings'; use 'union' keyword to refer to the type  ...
Have a look at gcc-arm-none-eabi. I've got the following V5TE-related files:~/bin/gcc-arm-none-eabi-9-2020-q2-update/lib/gcc/arm-none-eabi/9.3.1/arm/v5te/hard/crtn.o~/bin/gcc-arm-none-eabi-9-2020-q2-update/lib/gcc/arm-none-eabi/9.3.1/arm/v5te/hard/crtfastmath.o~/bin/gcc-arm-none-eabi-9-2020-q2-update/lib/gcc/arm-none-eabi/9.3.1/arm/v5te/hard/crtend.o~/bin/gcc-arm-none-eabi-9-2020-q2-update/lib/gcc/arm-none-eabi/9.3.1/arm/v5te/hard/crti.o~/bin/gcc-arm-none-eabi-9-2020-q2-update/lib/gcc/arm-none-eabi/9.3.1/arm/v5te/hard/crtbegin.o~/bin/gcc-arm-none-eabi-9-2020-q2-update/lib/gcc/arm-none-eabi/9.3.1/arm/v5te/softfp/crtn.o~/bin/gcc-arm-none-eabi-9-2020-q2-update/lib/gcc/arm-none-eabi/9.3.1/arm/v5te/softfp/crtfastmath.o~/bin/gcc-arm-none-eabi-9-2020-q2-update/lib/gcc/arm-none-eabi/9.3.1/arm/v5te/softfp/crtend.o~/bin/gcc-arm-none-eabi-9-2020-q2-update/lib/gcc/arm-none-eabi/9.3.1/arm/v5te/softfp/crti.o~/bin/gcc-arm-none-eabi-9-2020-q2-update/lib/gcc/arm-none-eabi/9.3.1/arm/v5te/softfp/crtbegin.o~/bin/gcc-arm-none-eabi-9-2020-q2-update/arm-none-eabi/lib/arm/v5te/hard/crt0.o~/bin/gcc-arm-none-eabi-9-2020-q2-update/arm-none-eabi/lib/arm/v5te/softfp/crt0.oEDIT:...
There is no need to reinvent the wheel (device drivers) time after time. You would be more interested in the bio-logic of your device, rather then in fiddling with...

Re: Improvement in Software design

Reply posted 2 years ago (05/05/2020)
Ask your team a few questions:struct2 is declared global, while struct1 is accessed via the pointer. Why this way and not vice versa?Imagine, you've got 17 data...

Re: Improvement in Software design

Reply posted 2 years ago (05/05/2020)
1. Your code example will not compile.2. You are passing an address of a global structure. Ok, modify whatever you need via the pointer, and return nothing from...
> This is a 3-core processor and an array is set up in a shared memory.Then, there should be a mailbox structure of some sort for inter-core communication,...

Use this form to contact VadimB

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address