Permalink
Browse files

complete renaming of k26 to kl26

  • Loading branch information...
focalintent committed Jun 29, 2015
1 parent 952842b commit a03e34d1a61fabf6d2901fc5b4a7429fe5c838fa
View
@@ -2,12 +2,12 @@
== Setting up the basic files/folders ==
-* Create platform directory (e.g. platforms/arm/k26)
-* Create configuration header led_sysdefs_arm_k26.h:
+* Create platform directory (e.g. platforms/arm/kl26)
+* Create configuration header led_sysdefs_arm_kl26.h:
* Define platform flags (like FASTLED_ARM/FASTLED_TEENSY)
* Define configuration parameters re: interrupts, or clock doubling
* Include extar system header files if needed
-* Create main platform include, fastled_arm_k26.h
+* Create main platform include, fastled_arm_kl26.h
* Include the various other header files as needed
* Modify led_sysdefs.h to conditionally include platform sysdefs header file
* Modify platforms.h to conditionally include platform fastled header
View
@@ -9,8 +9,8 @@
// Include k20/T3 headers
#include "platforms/arm/k20/led_sysdefs_arm_k20.h"
#elif defined(__MKL26Z64__)
-// Include k26/T-LC headers
-#include "platforms/arm/k26/led_sysdefs_arm_k26.h"
+// Include kl26/T-LC headers
+#include "platforms/arm/kl26/led_sysdefs_arm_kl26.h"
#elif defined(__SAM3X8E__)
// Include sam/due headers
#include "platforms/arm/sam/led_sysdefs_arm_sam.h"
View
@@ -9,8 +9,8 @@
// Include k20/T3 headers
#include "platforms/arm/k20/fastled_arm_k20.h"
#elif defined(__MKL26Z64__)
-// Include k26/T-LC headers
-#include "platforms/arm/k26/fastled_arm_k26.h"
+// Include kl26/T-LC headers
+#include "platforms/arm/k26/fastled_arm_kl26.h"
#elif defined(__SAM3X8E__)
// Include sam/due headers
#include "platforms/arm/sam/fastled_arm_sam.h"
@@ -1,5 +1,5 @@
-#ifndef __INC_CLOCKLESS_ARM_K26
-#define __INC_CLOCKLESS_ARM_K26
+#ifndef __INC_CLOCKLESS_ARM_KL26
+#define __INC_CLOCKLESS_ARM_KL26
#define TADJUST 0
#define TOTAL ( (T1+TADJUST) + (T2+TADJUST) + (T3+TADJUST) )
@@ -1,10 +0,0 @@
-#ifndef __INC_FASTLED_ARM_K26_H
-#define __INC_FASTLED_ARM_K26_H
-
-// Include the k20 headers
-#include "fastled_delay.h"
-#include "fastpin_arm_k26.h"
-#include "fastspi_arm_k26.h"
-#include "clockless_arm_k26.h"
-
-#endif
@@ -0,0 +1,10 @@
+#ifndef __INC_FASTLED_ARM_KL26_H
+#define __INC_FASTLED_ARM_KL26_H
+
+// Include the k20 headers
+#include "fastled_delay.h"
+#include "fastpin_arm_kl26.h"
+#include "fastspi_arm_kl26.h"
+#include "clockless_arm_kl26.h"
+
+#endif
@@ -43,7 +43,7 @@ template<uint8_t PIN, uint32_t _MASK, typename _PDOR, typename _PSOR, typename _
inline static port_t mask() __attribute__ ((always_inline)) { return _MASK; }
};
-// Macros for k26 pin access/definition
+// Macros for kl26 pin access/definition
#define GPIO_BITBAND_ADDR(reg, bit) (((uint32_t)&(reg) - 0x40000000) * 32 + (bit) * 4 + 0x42000000)
#define GPIO_BITBAND_PTR(reg, bit) ((uint32_t *)GPIO_BITBAND_ADDR((reg), (bit)))
@@ -1,5 +1,5 @@
-#ifndef __INC_FASTSPI_ARM_K26_H
-#define __INC_FASTSPI_ARM_K26_h
+#ifndef __INC_FASTSPI_ARM_KL26_H
+#define __INC_FASTSPI_ARM_KL26_h
FASTLED_NAMESPACE_BEGIN
@@ -1,5 +1,5 @@
-#ifndef __INC_LED_SYSDEFS_ARM_K26_H
-#define __INC_LED_SYSDEFS_ARM_K26_H
+#ifndef __INC_LED_SYSDEFS_ARM_KL26_H
+#define __INC_LED_SYSDEFS_ARM_KL26_H
#define FASTLED_TEENSYLC
#define FASTLED_ARM

0 comments on commit a03e34d

Please sign in to comment.