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);
}