Hi
I believe I have found a typo in clock.h, I guess the LPC17xx code doesn't
get a lot of use
patch:
diff --git a/include/libopencm3/lpc17xx/clock.h
b/include/libopencm3/lpc17xx/clock.h
index 431658e..8ad6f47 100644
--- a/include/libopencm3/lpc17xx/clock.h
+++ b/include/libopencm3/lpc17xx/clock.h
@@ -154,7 +154,7 @@ LGPL License Terms @ref lgpl_license
#define CLK_CLKOUTCFG_SEL_RTC 0x04
#define CLK_CLKOUTCFG_DIV_SHIFT 4
#define CLK_CLKOUTCFG_ENABLE (1 << 8)
-#define CLK_CLKOUTCFG_ENABLE (1 << 9)
+#define CLK_CLKOUTCFG_ACTIVITY (1 << 9)
/* Reserved: [31:10]*/
#endif
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
libopencm3-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libopencm3-devel