summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/ms_sculpt_mobile
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-09-20 02:55:03 +1000
committerDrashna Jaelre <drashna@live.com>2019-09-19 09:55:03 -0700
commitf34299efd7c5be439b0991d46c26de6c8709a2d9 (patch)
tree16f0ad27a74857fc0bca45e0c8f17e34303360a2 /keyboards/handwired/ms_sculpt_mobile
parent911b8915cc89c040db3c6075a1a547003b0ab37f (diff)
Cleanup rules.mk for USB64 and USB128 keyboards (#6769)
Diffstat (limited to 'keyboards/handwired/ms_sculpt_mobile')
-rw-r--r--keyboards/handwired/ms_sculpt_mobile/rules.mk51
1 files changed, 18 insertions, 33 deletions
diff --git a/keyboards/handwired/ms_sculpt_mobile/rules.mk b/keyboards/handwired/ms_sculpt_mobile/rules.mk
index 680c057d36..d38138bbb8 100644
--- a/keyboards/handwired/ms_sculpt_mobile/rules.mk
+++ b/keyboards/handwired/ms_sculpt_mobile/rules.mk
@@ -1,37 +1,27 @@
-
-## Project specific files
-SRC= babblePaste.c
-
-
ifdef ASTAR
- CFLAGS=-D ASTAR
- MCU = atmega32u4
- SCULPT_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done ; \
- avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
-
+ MCU = atmega32u4
+ CFLAGS = -D ASTAR
+ USB = /dev/cu.usbmodem14141
+ SCULPT_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done ; avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
else
- MCU = at90usb1286
- SCULPT_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex
+ MCU = at90usb1286
+ SCULPT_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex
endif
-F_CPU = 16000000
-ARCH = AVR8
-F_USB = $(F_CPU)
-
-# Bootloader
-# This definition is optional, and if your keyboard supports multiple bootloaders of
-# different sizes, comment this out, and the correct address will be loaded
-# automatically (+60). See bootloader.mk for all options.
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
ifdef ASTAR
- BOOTLOADER = caterina
+ BOOTLOADER = caterina
else
- BOOTLOADER = atmel-dfu
+ BOOTLOADER = atmel-dfu
endif
-# Interrupt driven control endpoint task(+60)
-OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
-
-#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
@@ -47,10 +37,5 @@ UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
-
-USB = /dev/cu.usbmodem14141
-
-
-
-# upload: build
-# $(SCULPT_UPLOAD_COMMAND)
+# Project specific files
+SRC = babblePaste.c