Sensebender does not compile with MY_DEBUG



  • I cannot compile a sketch for Sensebender Micro with #include MY_DEBUG.
    Got the following error. If I comment it out , it works just fine. Any ideas please?

    Arduino: 1.8.7 (Windows 10), Board: "Sensebender Micro, Atmega328 8Mhz"
    
    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\ashes\AppData\Local\Arduino15\packages -hardware C:\Users\ashes\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\ashes\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\ashes\Documents\Arduino\libraries -fqbn=MySensors:avr:MysensorsMicro:cpu=8Mhz -ide-version=10807 -build-path C:\Users\ashes\AppData\Local\Temp\arduino_build_137735 -warnings=none -build-cache C:\Users\ashes\AppData\Local\Temp\arduino_cache_571216 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.arduinoOTA-1.1.1.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.avrdude.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -prefs=runtime.tools.avrdude-6.3.0-arduino9.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avr-gcc-4.9.2-atmel3.5.4-arduino2.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -verbose C:\Users\ashes\Documents\Arduino\Sensebender-Micro-2.1.1-original\Sensebender-Micro-2.1.1-original.ino
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\ashes\AppData\Local\Arduino15\packages -hardware C:\Users\ashes\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\ashes\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\ashes\Documents\Arduino\libraries -fqbn=MySensors:avr:MysensorsMicro:cpu=8Mhz -ide-version=10807 -build-path C:\Users\ashes\AppData\Local\Temp\arduino_build_137735 -warnings=none -build-cache C:\Users\ashes\AppData\Local\Temp\arduino_cache_571216 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.arduinoOTA-1.1.1.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.avrdude.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -prefs=runtime.tools.avrdude-6.3.0-arduino9.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.avr-gcc-4.9.2-atmel3.5.4-arduino2.path=C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -verbose C:\Users\ashes\Documents\Arduino\Sensebender-Micro-2.1.1-original\Sensebender-Micro-2.1.1-original.ino
    Using board 'MysensorsMicro' from platform in folder: C:\Users\ashes\Documents\Arduino\hardware\MySensors\avr
    Using core 'arduino' from platform in folder: C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21
    Warning: platform.txt from core 'MySensors AVR based boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
    Detecting libraries used...
    "C:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10807 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\cores\\arduino" "-IC:\\Users\\ashes\\Documents\\Arduino\\hardware\\MySensors\\avr\\variants\\micro" "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\sketch\\Sensebender-Micro-2.1.1-original.ino.cpp" -o nul
    "C:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10807 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\cores\\arduino" "-IC:\\Users\\ashes\\Documents\\Arduino\\hardware\\MySensors\\avr\\variants\\micro" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\SPI\\src" "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\sketch\\Sensebender-Micro-2.1.1-original.ino.cpp" -o nul
    "C:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10807 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\cores\\arduino" "-IC:\\Users\\ashes\\Documents\\Arduino\\hardware\\MySensors\\avr\\variants\\micro" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\SPI\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\MySensors" "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\sketch\\Sensebender-Micro-2.1.1-original.ino.cpp" -o nul
    "C:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10807 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\cores\\arduino" "-IC:\\Users\\ashes\\Documents\\Arduino\\hardware\\MySensors\\avr\\variants\\micro" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\SPI\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\MySensors" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\Wire\\src" "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\sketch\\Sensebender-Micro-2.1.1-original.ino.cpp" -o nul
    "C:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10807 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\cores\\arduino" "-IC:\\Users\\ashes\\Documents\\Arduino\\hardware\\MySensors\\avr\\variants\\micro" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\SPI\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\MySensors" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\Wire\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\SI7021" "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\sketch\\Sensebender-Micro-2.1.1-original.ino.cpp" -o nul
    "C:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10807 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\cores\\arduino" "-IC:\\Users\\ashes\\Documents\\Arduino\\hardware\\MySensors\\avr\\variants\\micro" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\SPI\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\MySensors" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\Wire\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\SI7021" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\EEPROM\\src" "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\sketch\\Sensebender-Micro-2.1.1-original.ino.cpp" -o nul
    "C:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10807 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\cores\\arduino" "-IC:\\Users\\ashes\\Documents\\Arduino\\hardware\\MySensors\\avr\\variants\\micro" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\SPI\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\MySensors" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\Wire\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\SI7021" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\EEPROM\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\sha204" "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\sketch\\Sensebender-Micro-2.1.1-original.ino.cpp" -o nul
    "C:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10807 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\cores\\arduino" "-IC:\\Users\\ashes\\Documents\\Arduino\\hardware\\MySensors\\avr\\variants\\micro" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\SPI\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\MySensors" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\Wire\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\SI7021" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\EEPROM\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\sha204" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\RunningAverage" "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\sketch\\Sensebender-Micro-2.1.1-original.ino.cpp" -o nul
    Using cached library dependencies for file: C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SPI\src\SPI.cpp
    Using cached library dependencies for file: C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\Wire\src\Wire.cpp
    Using cached library dependencies for file: C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\Wire\src\utility\twi.c
    Using cached library dependencies for file: C:\Users\ashes\Documents\Arduino\libraries\SI7021\SI7021.cpp
    Using cached library dependencies for file: C:\Users\ashes\Documents\Arduino\libraries\sha204\sha204_library.cpp
    Using cached library dependencies for file: C:\Users\ashes\Documents\Arduino\libraries\RunningAverage\RunningAverage.cpp
    Generating function prototypes...
    "C:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10807 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\cores\\arduino" "-IC:\\Users\\ashes\\Documents\\Arduino\\hardware\\MySensors\\avr\\variants\\micro" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\SPI\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\MySensors" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\Wire\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\SI7021" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\EEPROM\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\sha204" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\RunningAverage" "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\sketch\\Sensebender-Micro-2.1.1-original.ino.cpp" -o "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\preproc\\ctags_target_for_gcc_minus_e.cpp"
    "C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\preproc\\ctags_target_for_gcc_minus_e.cpp"
    Compiling sketch...
    "C:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10807 -DARDUINO_AVR_MICRO8 -DARDUINO_ARCH_AVR "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\cores\\arduino" "-IC:\\Users\\ashes\\Documents\\Arduino\\hardware\\MySensors\\avr\\variants\\micro" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\SPI\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\MySensors" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\Wire\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\SI7021" "-IC:\\Users\\ashes\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\libraries\\EEPROM\\src" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\sha204" "-IC:\\Users\\ashes\\Documents\\Arduino\\libraries\\RunningAverage" "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\sketch\\Sensebender-Micro-2.1.1-original.ino.cpp" -o "C:\\Users\\ashes\\AppData\\Local\\Temp\\arduino_build_137735\\sketch\\Sensebender-Micro-2.1.1-original.ino.cpp.o"
    In file included from C:\Users\ashes\Documents\Arduino\libraries\MySensors/MySensors.h:49:0,
    
                     from C:\Users\ashes\Documents\Arduino\Sensebender-Micro-2.1.1-original\Sensebender-Micro-2.1.1-original.ino:67:
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp: In function 'void stInitUpdate()':
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:124:45: error: expected ')' before 'PRIu8'
    
        TRANSPORT_DEBUG(PSTR("TSM:INIT:STATID=%" PRIu8 "\n"),(uint8_t)MY_NODE_ID);
    
                                                 ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/MyConfig.h:2078:43: note: in definition of macro 'DEBUG_OUTPUT'
    
     #define DEBUG_OUTPUT(x,...)  hwDebugPrint(x, ##__VA_ARGS__) //!< debug
    
                                               ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:124:4: note: in expansion of macro 'TRANSPORT_DEBUG'
    
        TRANSPORT_DEBUG(PSTR("TSM:INIT:STATID=%" PRIu8 "\n"),(uint8_t)MY_NODE_ID);
    
        ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp: In function 'void stUplinkUpdate()':
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:265:44: error: expected ')' before 'PRIu8'
    
        TRANSPORT_DEBUG(PSTR("TSM:UPL:DGWC,O=%" PRIu8 ",N=%" PRIu8 "\n"), _transportConfig.distanceGW,
    
                                                ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/MyConfig.h:2078:43: note: in definition of macro 'DEBUG_OUTPUT'
    
     #define DEBUG_OUTPUT(x,...)  hwDebugPrint(x, ##__VA_ARGS__) //!< debug
    
                                               ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:265:4: note: in expansion of macro 'TRANSPORT_DEBUG'
    
        TRANSPORT_DEBUG(PSTR("TSM:UPL:DGWC,O=%" PRIu8 ",N=%" PRIu8 "\n"), _transportConfig.distanceGW,
    
        ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp: In function 'void stReadyTransition()':
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:292:40: error: expected ')' before 'PRIu8'
    
      TRANSPORT_DEBUG(PSTR("TSM:READY:ID=%" PRIu8 ",PAR=%" PRIu8 ",DIS=%" PRIu8 "\n"),
    
                                            ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/MyConfig.h:2078:43: note: in definition of macro 'DEBUG_OUTPUT'
    
     #define DEBUG_OUTPUT(x,...)  hwDebugPrint(x, ##__VA_ARGS__) //!< debug
    
                                               ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:292:2: note: in expansion of macro 'TRANSPORT_DEBUG'
    
      TRANSPORT_DEBUG(PSTR("TSM:READY:ID=%" PRIu8 ",PAR=%" PRIu8 ",DIS=%" PRIu8 "\n"),
    
      ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp: In function 'void stFailureTransition()':
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:342:40: error: expected ')' before 'PRIu8'
    
      TRANSPORT_DEBUG(PSTR("TSM:FAIL:CNT=%" PRIu8 "\n"),_transportSM.failureCounter);
    
                                            ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/MyConfig.h:2078:43: note: in definition of macro 'DEBUG_OUTPUT'
    
     #define DEBUG_OUTPUT(x,...)  hwDebugPrint(x, ##__VA_ARGS__) //!< debug
    
                                               ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:342:2: note: in expansion of macro 'TRANSPORT_DEBUG'
    
      TRANSPORT_DEBUG(PSTR("TSM:FAIL:CNT=%" PRIu8 "\n"),_transportSM.failureCounter);
    
      ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp: In function 'bool transportWaitUntilReady(uint32_t)':
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:449:38: error: expected ')' before 'PRIu32'
    
      TRANSPORT_DEBUG(PSTR("TSF:WUR:MS=%" PRIu32 "\n"), waitingMS); // timeout
    
                                          ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/MyConfig.h:2078:43: note: in definition of macro 'DEBUG_OUTPUT'
    
     #define DEBUG_OUTPUT(x,...)  hwDebugPrint(x, ##__VA_ARGS__) //!< debug
    
                                               ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:449:2: note: in expansion of macro 'TRANSPORT_DEBUG'
    
      TRANSPORT_DEBUG(PSTR("TSF:WUR:MS=%" PRIu32 "\n"), waitingMS); // timeout
    
      ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp: In function 'bool transportCheckUplink(bool)':
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:485:44: error: expected ')' before 'PRIu8'
    
        TRANSPORT_DEBUG(PSTR("TSF:CKU:DGWC,O=%" PRIu8 ",N=%" PRIu8 "\n"), _transportConfig.distanceGW,
    
                                                ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/MyConfig.h:2078:43: note: in definition of macro 'DEBUG_OUTPUT'
    
     #define DEBUG_OUTPUT(x,...)  hwDebugPrint(x, ##__VA_ARGS__) //!< debug
    
                                               ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:485:4: note: in expansion of macro 'TRANSPORT_DEBUG'
    
        TRANSPORT_DEBUG(PSTR("TSF:CKU:DGWC,O=%" PRIu8 ",N=%" PRIu8 "\n"), _transportConfig.distanceGW,
    
        ^
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp: In function 'bool transportAssignNodeID(uint8_t)':
    
    C:\Users\ashes\Documents\Arduino\libraries\MySensors/core/MyTransport.cpp:504:42: error: expected ')' before 'PRIu8'
    
       TRANSPORT_DEBUG(PSTR("TSF:SID:OK,ID=%" PRIu8 "\n"),newNodeId); // Node ID assigned
    
                                              ^
    
                                               ^
    
    
    Using library SPI at version 1.0 in folder: C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\SPI 
    Using library MySensors at version 2.3.0 in folder: C:\Users\ashes\Documents\Arduino\libraries\MySensors 
    Using library Wire at version 1.0 in folder: C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\Wire 
    Using library SI7021 in folder: C:\Users\ashes\Documents\Arduino\libraries\SI7021 (legacy)
    Using library EEPROM at version 2.0 in folder: C:\Users\ashes\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\libraries\EEPROM 
    Using library sha204 in folder: C:\Users\ashes\Documents\Arduino\libraries\sha204 (legacy)
    Using library RunningAverage in folder: C:\Users\ashes\Documents\Arduino\libraries\RunningAverage (legacy)
    exit status 1
    Error compiling for board Sensebender Micro.```

Log in to reply
 

Suggested Topics

  • 33
  • 2
  • 8
  • 2
  • 6
  • 17

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts