You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yet the function attempts to call into digitalWrite() and and pinMode() which is undeclared.
GCC throws the errors
C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600\core_w600_main.cpp: In function 'void power_output_startup()':
C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600\core_w600_main.cpp:23:13: error: 'PB_7' was not declared in this scope
pinMode(PB_7, OUTPUT);
^
C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600\core_w600_main.cpp:23:19: error: 'OUTPUT' was not declared in this scope
pinMode(PB_7, OUTPUT);
^
C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600\core_w600_main.cpp:23:25: error: 'pinMode' was not declared in this scope
pinMode(PB_7, OUTPUT);
^
C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600\core_w600_main.cpp:24:24: error: 'HIGH' was not declared in this scope
digitalWrite(PB_7, HIGH);
^
C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600\core_w600_main.cpp:24:28: error: 'digitalWrite' was not declared in this scope
digitalWrite(PB_7, HIGH);
^
thus the core in its current latest-git form is uncompilable.
Adding #include <Arduino.h> also does not make the code compile because of code in WString.h
Compiling .pio\build\wio_w600\FrameworkArduino\core_w600_main.cpp.o
In file included from C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600/Print.h:18:0,
from C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600/Stream.h:15,
from C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600/HardwareSerial.h:15,
from C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600/wiring.h:24,
from C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600/Arduino.h:13,
from C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600\core_w600_main.cpp:21:
C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600/WString.h:137:83: error: conflicting declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, const char*)'
friend StringSumHelper & operator + (const StringSumHelper &lhs, const char *cstr);
^
C:\Users\Maxi\.platformio\packages\framework-arduino-w60x\cores\w600/WString.h:136:27: note: previous declaration 'StringSumHelper& operator+(const StringSumHelper&, const String&)'
friend StringSumHelper & operator + (const StringSumHelper &lhs, const String &rhs);
^
[...] many more errors
The text was updated successfully, but these errors were encountered:
You write
arduino/cores/w600/core_w600_main.cpp
Lines 20 to 26 in b94d129
With the only includes being
arduino/cores/w600/core_w600_main.cpp
Lines 1 to 2 in b94d129
and
https://github.com/w600/arduino/blob/master/cores/w600/debug.h
Yet the function attempts to call into
digitalWrite()
and andpinMode()
which is undeclared.GCC throws the errors
thus the core in its current latest-git form is uncompilable.
Adding
#include <Arduino.h>
also does not make the code compile because of code inWString.h
The text was updated successfully, but these errors were encountered: