]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - keyboard/chibi_onekey/Makefile
Rename some Makefile defines.
[max/tmk_keyboard.git] / keyboard / chibi_onekey / Makefile
index 3e8e715c35985fe72e70201ee8c415febe0521ee..2d5ff8cdceb38892e9f215dbbc3f549fcbabb395 100644 (file)
@@ -20,14 +20,22 @@ endif
 
 CONFIG_H = config.h
 
-# chip/board
+## chip/board settings
+# the next two should match the directories in
+#  <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
 MCU_FAMILY = STM32
 MCU_SERIES = STM32F0xx
 # linker script to use
-MCU_MODEL_FAMILY = STM32F072xB
-# the directory in board/
+# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
+#  or <this_dir>/ld/
+MCU_LDSCRIPT = STM32F072xB
+# startup code to use
+# is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
+MCU_STARTUP = stm32f0xx
+# it should exist either in <chibios>/os/hal/boards/
+#  or <this_dir>/boards
 BOARD = ST_STM32F072B_DISCOVERY
-# ARM version, M0/M1 are 6, M3/M4/M7 are 7
+# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
 ARMV = 6
 # If you want to be able to jump to bootloader from firmware (on STM32 MCUs),
 # set the correct BOOTLOADER_ADDRESS here. Otherwise leave commented out.
@@ -45,7 +53,7 @@ EXTRAKEY_ENABLE = yes # Audio control and System control
 CONSOLE_ENABLE = yes   # Console for debug
 COMMAND_ENABLE = yes    # Commands for debug and configuration
 SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
-#NKRO_ENABLE = yes     # USB Nkey Rollover
+NKRO_ENABLE = yes          # USB Nkey Rollover
 
 include $(TMK_DIR)/tool/chibios/common.mk
 include $(TMK_DIR)/tool/chibios/chibios.mk