diff options
author | NightlyBoards <65656486+NightlyBoards@users.noreply.github.com> | 2021-01-11 14:18:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 22:18:28 -0800 |
commit | b1419742a51cd597548dff0059a4ba3781e9b984 (patch) | |
tree | 81a4b05c8a76f4ae4fe5aeda90625ce085877fcb /keyboards/nightly_boards/n40_o/rules.mk | |
parent | 65d8ac47598aa4aa439181627743749d18a19558 (diff) |
[Keyboard] Add the [n]40-o (#11286)
* Create Alter folder
* Revert "Create Alter folder"
This reverts commit 361103b821dbb22957b66cdedb0d11f996def71c.
* Added the n40_o folder
* Edited info.json, n40_o.h and rules.mk
* Edited readme as per comment
Diffstat (limited to 'keyboards/nightly_boards/n40_o/rules.mk')
-rw-r--r-- | keyboards/nightly_boards/n40_o/rules.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/nightly_boards/n40_o/rules.mk b/keyboards/nightly_boards/n40_o/rules.mk new file mode 100644 index 0000000000..0eeb14fdc2 --- /dev/null +++ b/keyboards/nightly_boards/n40_o/rules.mk @@ -0,0 +1,27 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +NKRO_ENABLE = no # USB Nkey Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow +BLUETOOTH_ENABLE = no # Enable Bluetooth +AUDIO_ENABLE = yes # Audio output +ENCODER_ENABLE = yes # Enable Rotary Encoders +LTO_ENABLE = yes + +# Added encoder Action +SRC += encoder_action.c
\ No newline at end of file |