Mercurial > louis > kiibohd-controller
comparison Bootloader/CMakeLists.txt @ 338:80bca7f4808b
Adding Chip configuration to CMake
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Mon, 08 Jun 2015 20:42:52 -0700 |
parents | 7be3475fc9fa |
children | e8841d3c6db5 |
comparison
equal
deleted
inserted
replaced
337:932ef3bbd4d7 | 338:80bca7f4808b |
---|---|
20 #| You _MUST_ clean the build directory if you change this value | 20 #| You _MUST_ clean the build directory if you change this value |
21 #| | 21 #| |
22 set( CHIP | 22 set( CHIP |
23 #"mk20dx128vlf5" # McHCK mk20dx128vlf5 | 23 #"mk20dx128vlf5" # McHCK mk20dx128vlf5 |
24 "mk20dx256vlh7" # Kiibohd-dfu mk20dx256vlh7 | 24 "mk20dx256vlh7" # Kiibohd-dfu mk20dx256vlh7 |
25 CACHE STRING "Chip" | |
25 ) | 26 ) |
26 | 27 |
27 | 28 |
28 | 29 |
29 ### | 30 ### |
34 #| Stick with gcc unless you know what you're doing | 35 #| Stick with gcc unless you know what you're doing |
35 #| Currently only arm is supported with clang | 36 #| Currently only arm is supported with clang |
36 set( COMPILER | 37 set( COMPILER |
37 "gcc" # arm-none-eabi-gcc / avr-gcc - Default | 38 "gcc" # arm-none-eabi-gcc / avr-gcc - Default |
38 # "clang" # arm-none-eabi | 39 # "clang" # arm-none-eabi |
39 CACHE STRING "Compiler Type" ) | 40 CACHE STRING "Compiler Type" |
41 ) | |
40 | 42 |
41 | 43 |
42 | 44 |
43 ### | 45 ### |
44 # Bootloader Configuration | 46 # Bootloader Configuration |