Closed MCUdude closed 5 years ago
@heapx let's look the first example (1_Volume). If I execute the DSP_parameter_generator.sh script I get the following DSP and EEPROM addesses:
/* 7-bit i2c addresses */
#define DSP_I2C_ADDRESS (0x68 >> 1) & 0xFE
#define EEPROM_I2C_ADDRESS (0xA0 >> 1) & 0xFE
However if I execute the DSP_parameter_generator.ps1 script instead I get:
/* 7-bit i2c addresses */
#define DSP_I2C_ADDRESS (8 >> 1) & 0xFE
#define EEPROM_I2C_ADDRESS (0 >> 1) & 0xFE
It seems like the PowerShell script are struggling to get this DSP address and this EEPROM address.
This is a problem I think @heapx would solve rather quickly (thanks for awesome build script BTW 🎉). I'll see if I can bring up an example for you in order to highlight the issue.