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
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.
While playing around with plugins on my TM4C1294XL, I came over a compile error in
Plugin_OpenPNP/openpnp.c
Line 155 in 422f7a4
due to it not being a standard function and not contained in TI's stdlib.h
Quick fix
ltoa()
?The text was updated successfully, but these errors were encountered: