Comments (2)
Quick fix ltoa()?
That breaks other drivers...
I added a macro symbol for itoa() in CCS:
Way to fix it?
from plugin_openpnp.
Thx for this idea, that seems better than touching the Plugin sources.
Maybe this could find its way into TI driver.h (I hesitate to make a pull request for changes like this):
diff --git i/base/driver.h w/base/driver.h
index 3c433c6..fff068d 100644
--- i/base/driver.h
+++ w/base/driver.h
@@ -129,6 +129,10 @@
#define DIGITAL_OUT(port, pin, on) GPIOPinWrite(port, 1<<pin, (on) ? 1<<pin : 0);
#endif
+#ifdef OPENPNP_ENABLE
+#define itoa(a, b, c) ltoa(a, b, c)
+#endif
+
// Define GPIO output mode options
// Use GPIO_SHIFTx when output bits are consecutive and in the same port
// Use GPIO_MAP when output bits are not consecutive but in the same port
PS:
If anyone who is also untrained in CCSTudio also wondered where this screenshot from above came from: It shows settings which are only available when "Show advanced settings" in the project properties dialogue is activated. A tree "C/C++ General" is then available.
from plugin_openpnp.
Related Issues (2)
- Status request HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin_openpnp.