[x] I have read the Troubleshooting section of the ReadMe
What type of issues is this?
[ ] Request to support a new module
[x] Bug or problem compiling the library
[ ] Bug or issue with library functionality (ie, sending data over TCP/IP)
[ ] Question or request for help
What are you working with?
Modem: SIM76000
Main processor board: NUCLEO-G0B1RE with (stm32duino)
TinyGSM version: 0.11.7
Code: File download example
Actual result
In file included from C:\Users\Fathi\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.7.1\system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:109,
from C:\Users\Fathi\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.7.1\cores\arduino/stm32/stm32_def.h:40,
from C:\Users\Fathi\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.7.1\cores\arduino/stm32/clock.h:19,
from C:\Users\Fathi\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.7.1\cores\arduino/wiring_time.h:23,
from C:\Users\Fathi\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.7.1\cores\arduino/wiring.h:38,
from C:\Users\Fathi\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.7.1\cores\arduino/Arduino.h:36,
from C:\Users\Fathi\AppData\Local\Temp\arduino\sketches\084523D83014BCDC11AA1915DDBB04AF\sketch\FileDownload.ino.cpp:1:
C:\Users\Fathi\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.7.1\system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0b1xx.h:984:40: error: expected ')' before '*' token
984 | #define DBG ((DBG_TypeDef *) DBG_BASE)
| ~ ^
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:71:13: note: in expansion of macro 'DBG'
71 | static void DBG(Args... args) {
| ^~~
C:\Users\Fathi\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.7.1\system/Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0b1xx.h:984:40: error: expected ')' before '*' token
984 | #define DBG ((DBG_TypeDef *) DBG_BASE)
| ~ ^
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:71:13: note: in expansion of macro 'DBG'
71 | static void DBG(Args... args) {
| ^~~
In file included from c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmBattery.tpp:12,
from c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h:18,
from c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClient.h:55,
from C:\Users\Fathi\AppData\Local\Temp\.arduinoIDE-unsaved2024227-15596-69kijw.dwgjj\FileDownload\FileDownload.ino:93:
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h: In function 'uint32_t TinyGsmAutoBaud(T&, uint32_t, uint32_t)':
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:103:8: error: expression cannot be used as a function
103 | DBG("Trying baud rate", rate, "...");
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmCommon.h:110:12: error: expression cannot be used as a function
110 | DBG("Modem responded at rate", rate);
In file included from c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h:23:
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmModem.tpp: In member function 'String TinyGsmModem<modemType>::getModemNameImpl()':
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmModem.tpp:152:8: error: expression cannot be used as a function
152 | DBG("### Modem:", name);
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h: In member function 'bool TinyGsmSim7600::initImpl(const char*)':
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h:169:8: error: expression cannot be used as a function
169 | DBG(GF("### TinyGSM Version:"), TINYGSM_VERSION);
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h:170:8: error: expression cannot be used as a function
170 | DBG(GF("### TinyGSM Compiled Module: TinyGsmClientSIM7600"));
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h:184:8: error: expression cannot be used as a function
184 | DBG(GF("### Modem:"), getModemName());
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h: In member function 'String TinyGsmSim7600::getModemNameImpl()':
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h:217:8: error: expression cannot be used as a function
217 | DBG("### Modem:", name);
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h: In member function 'bool TinyGsmSim7600::modemConnect(const char*, uint16_t, uint8_t, bool, int)':
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h:628:19: error: expression cannot be used as a function
628 | if (ssl) { DBG("SSL not yet supported on this module!"); }
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h: In member function 'int8_t TinyGsmSim7600::waitResponse(uint32_t, String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)':
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h:812:14: error: expression cannot be used as a function
812 | DBG("### Closed: ", mux);
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h:816:14: error: expression cannot be used as a function
816 | DBG("### Network error!");
c:\Users\Fathi\Documents\Arduino\libraries\TinyGSM\src/TinyGsmClientSIM7600.h:825:31: error: expression cannot be used as a function
825 | if (data.length()) { DBG("### Unhandled:", data); }
exit status 1
Compilation error: exit status 1
[x] I have read the Troubleshooting section of the ReadMe
What type of issues is this?
[ ] Request to support a new module
[x] Bug or problem compiling the library [ ] Bug or issue with library functionality (ie, sending data over TCP/IP) [ ] Question or request for help
What are you working with?
Modem: SIM76000 Main processor board: NUCLEO-G0B1RE with (stm32duino) TinyGSM version: 0.11.7 Code: File download example
Actual result