Post Go back to editing

Export system Files .h SIGMA_WRITE_DELAY erroroneus call

Thread Summary

The user encountered a compilation error when exporting system files from SigmaStudio+ 3.3.0 due to a mismatch in the number of arguments for the SIGMA_WRITE_DELAY function in SigmastudioFW.h. The solution involved manually adding an overloaded function with four arguments to match the SS+ export. The issue arises because SigmastudioFW.h was originally designed for Sigma Studio, not SigmaStudio+.
AI Generated Content
Category: Software
Product Number: Sigmastudio+ v 3.3.0
Software Version: 3.3.0

I dont know if this is a bug

Sigmastudio+ 3.3.0
wen i export system files , the .h generated, calls this function on SigmastudioFW.h,
with four arguments

SIGMA_WRITE_DELAY(DEVICE_ADDR_ADAU145XSCHEMATIC_0, R2_RESET_DELAY_ADDR_ADAU145XSCHEMATIC_0 , R2_RESET_DELAY_SIZE_ADAU145XSCHEMATIC_0 , R2_RESET_DELAY_ADAU145XSCHEMATIC_0_Data);

in SigmastudioFW.h the function is declared with 3 arguments, so compillation stops

void SIGMA_WRITE_DELAY(byte devAddress, int length, byte pData[])

i fixed it adding this same function with more arguments

void SIGMA_WRITE_DELAY(byte devAddress,int address, int length, byte pData[]) {
SIGMA_WRITE_DELAY(devAddress, length, pData);
}

Parents
  • Hello FrankAlons0,

    I can also see what you observed.

    The SigmastudioFW.h file is from the uC interfacing wiki page which was originally created for sigma studio exported files. The Sigma studio exported file has only three arguments in that function, so has the FW.h file.

    But the SS+ file has four arguments in that function, so we have to adjust the FW.h file as you did.

    This is a little mismatch because the FW.h file wasn't written for SS+ and SS+ gives an additional argument if it's needed in any point.

    So please make these changes manually.

    Regards,

    Harish

Reply
  • Hello FrankAlons0,

    I can also see what you observed.

    The SigmastudioFW.h file is from the uC interfacing wiki page which was originally created for sigma studio exported files. The Sigma studio exported file has only three arguments in that function, so has the FW.h file.

    But the SS+ file has four arguments in that function, so we have to adjust the FW.h file as you did.

    This is a little mismatch because the FW.h file wasn't written for SS+ and SS+ gives an additional argument if it's needed in any point.

    So please make these changes manually.

    Regards,

    Harish

Children