]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Adding more CMake log information.
authorJacob Alexander <haata@kiibohd.com>
Wed, 31 Dec 2014 21:42:00 +0000 (13:42 -0800)
committerJacob Alexander <haata@kiibohd.com>
Wed, 31 Dec 2014 21:42:00 +0000 (13:42 -0800)
Lib/CMake/arm.cmake
Lib/CMake/avr.cmake
Lib/CMake/kll.cmake

index 4b3d32084784298a45640d6817c8026c8b12f3f5..3a62fe583ee6ec835b9d442fddbbc9daea4ffc48 100644 (file)
@@ -89,18 +89,21 @@ message( "${COMPILER_SRCS}" )
 
 
 #| USB Defines, this is how the loader programs detect which type of chip base is used
+message( STATUS "Bootloader Type:" )
 if ( "${CHIP}" MATCHES "mk20dx128vlf5" )
        set( VENDOR_ID       "0x1C11" )
        set( PRODUCT_ID      "0xB04D" )
        set( BOOT_VENDOR_ID  "0x1C11" )
        set( BOOT_PRODUCT_ID "0xB007" )
        set( DFU 1 )
+       message( "dfu" )
 elseif ( "${CHIP}" MATCHES "mk20dx128" OR "${CHIP}" MATCHES "mk20dx256" )
        set( VENDOR_ID       "0x1C11" )
        set( PRODUCT_ID      "0xB04D" )
        set( BOOT_VENDOR_ID  "0x16c0" ) # TODO Double check, this is likely incorrect
        set( BOOT_PRODUCT_ID "0x0487" )
        set( TEENSY 1 )
+       message( "Teensy" )
 endif ()
 
 
index c4b778e756eb9a0dadb713afb2b4f0425620f06d..255d062a4e06f759742e318b5cc5ef6ad42f7cbe 100644 (file)
@@ -36,10 +36,6 @@ message( STATUS "MCU Selected:" )
 message( "${MCU}" )
 
 
-#| Indicate to later build step that this is a Teensy
-set( Teensy )
-
-
 #| Chip Size Database
 #| Teensy 1.0
 if ( "${CHIP}" MATCHES "at90usb162" )
@@ -67,10 +63,6 @@ else ()
 endif ()
 
 
-#| Only Teensy based AVRs supported
-set ( TEENSY 1 )
-
-
 #| Extra Compiler Sources
 #| Mostly for convenience functions like interrupt handlers
 set( COMPILER_SRCS
@@ -94,6 +86,12 @@ set( BOOT_VENDOR_ID  "0x16C0" ) # TODO Double check, this is likely incorrect
 set( BOOT_PRODUCT_ID "0x047D" )
 
 
+#| Only Teensy based AVRs supported
+set ( TEENSY 1 )
+message( STATUS "Bootloader Type:" )
+message( "Teensy" )
+
+
 #| Compiler flag to set the C Standard level.
 #|     c89   = "ANSI" C
 #|     gnu89 = c89 plus GCC extensions
index 92205c024e00de272105b7362c8334e947c1b74a..2e53ddd815bd7077a205c07d55eadac12148f586 100644 (file)
@@ -19,6 +19,8 @@ if ( "${MacroModule}" STREQUAL "PartialMap" )
 # KLL Installation (Make sure repo has been cloned)
 #
 
+message ( STATUS "Checking for latest kll version:" )
+
 if ( NOT EXISTS "${PROJECT_SOURCE_DIR}/kll/kll.py" )
        # Make sure git is available
        find_package ( Git REQUIRED )