summaryrefslogtreecommitdiff
path: root/keyboards/rocketboard_16/rules.mk
diff options
context:
space:
mode:
authorSeth <fl3tching101@gmail.com>2020-11-01 12:46:00 -0600
committerGitHub <noreply@github.com>2020-11-01 10:46:00 -0800
commit9f0dbc21a3bcb815877e321c974c55c5320605c6 (patch)
tree5ec4ec1df71d2912600ee6e81eb2aea78b0210cc /keyboards/rocketboard_16/rules.mk
parentc731432765c17a159fd83f859a148c861769fd35 (diff)
[Keyboard] beta support for the Rocketboard-16 macro/num pad (#10688)
* Firmware initial commit, still has a few bugs - mainly rotary encoders do not work and needs cleaning up * Fixed the volume control issue and limited the RGB brightness (can be really bright), added the ability to switch LED mode with left encoder click, and added via support (untested) * Remove define that should go in config.h * Removed define that should be in config.h * Removed LTO_ENABLE as suggested - has issues on ARM Co-authored-by: Drashna Jaelre <drashna@live.com> * Added the correct define for OLED screen size * Applied suggested change to remove description Co-authored-by: Ryan <fauxpark@gmail.com> * Made suggested change to remove backslashes Co-authored-by: Ryan <fauxpark@gmail.com> * Suggested change made to rgblight Co-authored-by: Ryan <fauxpark@gmail.com> * Suggested change made to rgblight Co-authored-by: Ryan <fauxpark@gmail.com> * Suggested change made to remove backslashes Co-authored-by: Ryan <fauxpark@gmail.com> * Suggested change made to rgblight Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/rocketboard_16/rocketboard_16.c Co-authored-by: Ryan <fauxpark@gmail.com> * Added suggested comments Co-authored-by: Ryan <fauxpark@gmail.com> * Made suggested changes to rules file Co-authored-by: Ryan <fauxpark@gmail.com> * Added suggested change to rgblight Co-authored-by: Ryan <fauxpark@gmail.com> * Added info.json for QMK configurator * Update readme.md * This change makes the firmware work... through magic... seriously, no idea - but it works! * Updated dimming step, OLED functionality, and rules for formatting - Changed the dimming step size for smoother dimming with the reduced range - Added lots of OLED functionality - QMK logo and title at top, num/caps/scroll lock status, and backlight brightness level - Updated the rules.mk file to comply more closely with the formatting guidelines * Fixed tab issues Co-authored-by: Ryan <fauxpark@gmail.com> * Updated to use bootmagic lite with the key that usually turns rgb on/off Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/rocketboard_16/rules.mk')
-rw-r--r--keyboards/rocketboard_16/rules.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/rocketboard_16/rules.mk b/keyboards/rocketboard_16/rules.mk
new file mode 100644
index 0000000000..eedbc33d98
--- /dev/null
+++ b/keyboards/rocketboard_16/rules.mk
@@ -0,0 +1,27 @@
+# MCU name
+MCU = STM32F103
+
+# Bootloader selection
+BOOTLOADER = stm32duino
+
+# 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 = yes # Console for debug
+COMMAND_ENABLE = yes # 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 = yes # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB backlit keys
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
+OLED_DRIVER_ENABLE = yes
+ENCODER_ENABLE = yes
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE