cancel
Showing results for 
Search instead for 
Did you mean: 

How to sync trueStudio settings?

rtursen
Associate II

Here is the situation, there are 2 developers. Both developers download the code from the repository and issue a build & debug cycle.

Test_functions is an array of function pointers. In the debug session, Test_functions has different values (given in below pictures)

Note Test_15_ArmTest section is normal

0690X000006DDSAQA4.png

Note that in below picture, Test_15_ArmTest section has a "+2 " added to it for some reason and the application doesn't work

0690X000006DDSFQA4.png

I think this has to do with the project properties but I wasn't able to find the cause of the problem. I tried disabling optimizations and disable dead code, dead data removal but the problem persists.

Can you please guide me about this?

ps: test_functions is defined as below

#define TEST_FUNC_ARRAY()                       \
  test_function_t test_functions[TestDef__Max_] = { \
      &Test_ST1_Bit,                         \
      &Test_ST2_Bit,                         \
          &Test_1_PowerUp,                    \
          &Test_2_HighVoltForPol,             \
          &Test_3_HighVoltForPol,             \
          &Test_4_HighVoltForPol,             \
          &Test_5_HighVoltRevPol,             \
          &Test_6_HighVoltRevPol,             \
          &Test_7_MCUprogram,                \
          &Test_8_InitialSetup,               \
          &Test_9_InitialSetup,               \
          &Test_10_InitialSetup,              \
          &Test_11_InitialSetup,              \
          &Test_12_InitialSetup,              \
          &Test_13_InitialSetup,              \
          &Test_14_TargetClock,               \
          &Test_15_ArmTest,                   \
          &Test_16_InvalidCommand,            \
          &Test_17_ClearStatus,               \
          ...

0 REPLIES 0