Closed Xorlent closed 2 years ago
I found the directive that was indicating use of an MCP chip; it seems the checked in code has this enabled for the MEGA board. Thanks.
Thank you for reporting this. I had been using this board to develop support for MCP23x17 chips and the setting to enable MCP23017 support had inadvertently been left enabled. However, there was also an underlying problem that was causing the compile error. The problem has now been corrected and the relevant enable flag commented out of the default config.
Thanks for the follow-up, I will grab the latest code!
Hello, When attempting a first-time compile with MEGA 2560 board selected, I receive this error. I looked through the documentation and prior issues, but was unable to find a match for what I'm facing. Thanks very much in advance!
AR488_Layouts.cpp:1241:3: error: 'mcpPinAssertedReg' was not declared in this scope mcpPinAssertedReg = 0; ^
~~~~AR488_Layouts.cpp:1310:7: error: 'mcpPinAssertedReg' was not declared in this scope mcpPinAssertedReg = mcpByteRead(MCPINTCAPA); ^
~~~~ AR488_Layouts.cpp:1314:39: error: 'gpibsig' was not declared in this scope return (mcpPinAssertedReg & (1<<gpibsig)); ^~~ exit status 1 'mcpPinAssertedReg' was not declared in this scope