w600 / arduino Goto Github PK
View Code? Open in Web Editor NEWarduino for w60x platform
arduino for w60x platform
See file
arduino/cores/w600/wiring_constants.h
Lines 1 to 4 in b94d129
please add language support for non native mandarin talkers.
google translate won't convert text in graphics ;-(
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 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
You write
arduino/cores/w600/wiring_time.c
Lines 39 to 50 in 6148ebc
and you write
arduino/cores/w600/wiring_time.c
Lines 16 to 19 in 6148ebc
By which you can see that in line 45, you are not calling the function and checking its return value, you are doing if(function name)
, and since function name is also the address of the function, the if
statement will always have a true
statement.
GCC is throwing errors in your code regarding warning: no return statement in function returning non-void
errors.
E.g., where is the return
statement in this function that's supposed return a signed short
?
arduino/cores/w600/HardwareSerial.cpp
Lines 45 to 57 in b94d129
Same here
arduino/cores/w600/HardwareSerial.cpp
Lines 148 to 175 in b94d129
tried http://arduino.w600.fun/package_w600_index.json included in preferences but no w600 shown in board manager, the link is 404
Currently cannot be installed in Arduino IDE on Linux..
Are there any plans to support it?
Maybe
http://arduino.w600.fun/package_w600_index.json
is pointing to wrong web ressource or version 0.2.x files are missing ?
Error (HTTP 404) downloading https://dev.tencent.com/u/beewu/p/Download/git/raw/master/w600-arduino-0.2.6.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.