mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-20 14:42:03 +00:00
test out compile_flags.txt
This commit is contained in:
parent
fe59b4e5d6
commit
c34f0e4998
0
cmake/Findchibios.cmake
Normal file
0
cmake/Findchibios.cmake
Normal file
@ -167,4 +167,8 @@ macro(add_qmk_executable target_name)
|
||||
set_target_properties(${target_name}
|
||||
PROPERTIES OUTPUT_NAME ${elf_file}
|
||||
)
|
||||
|
||||
# list(JOIN COMPILE_OPTIONS "\n" COMPILE_FLAGS_TXT)
|
||||
# file(WRITE ${CMAKE_SOURCE_DIR}/compile_flags.txt ${COMPILE_FLAGS_TXT})
|
||||
|
||||
endmacro(add_qmk_executable)
|
||||
|
61
compile_flags.txt
Normal file
61
compile_flags.txt
Normal file
@ -0,0 +1,61 @@
|
||||
-std=c11
|
||||
-Iquantum
|
||||
-Itoolchains\avr-gcc-12.1.0-x64-windows\avr\include
|
||||
-DARCH=ARCH_AVR8
|
||||
-DBACKLIGHT_ENABLE
|
||||
-DBACKLIGHT_PIN=B7
|
||||
-DBOARD=BOARD_NONE
|
||||
-DDEVICE_VER=0x3
|
||||
-DFIXED_CONTROL_ENDPOINT_SIZE=8
|
||||
-DFIXED_NUM_CONFIGURATIONS=1
|
||||
-DF_CPU=16000000
|
||||
-DF_USB=16000000UL
|
||||
-DKEYMAP_C=\\\"keyboards/mntre/keymaps/default/keymap.c\\\"
|
||||
-DLTO_ENABLE
|
||||
-DMANUFACTURER=\\\"OLKB\\\"
|
||||
-DMATRIX_COLS=15
|
||||
-DMATRIX_ROWS=6
|
||||
-DOLED_ENABLE
|
||||
-DPRODUCT=\\\"MNTRE\\\"
|
||||
-DPRODUCT_ID=0xAE01
|
||||
-DPROTOCOL_LUFA
|
||||
-DQMK_KEYBOARD_H="mntre.h"
|
||||
-DUSB_DEVICE_ONLY
|
||||
-DUSE_FLASH_DESCRIPTORS
|
||||
-DUSE_STATIC_OPTIONS=\"(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)\"
|
||||
-DVENDOR_ID=0x03A8
|
||||
-D__AVR_ATmega32U4__
|
||||
-Ikeyboards/mntre
|
||||
-Iquantum
|
||||
-Iquantum/logging
|
||||
-Iquantum/keymap_extras
|
||||
-Iquantum/process_keycode
|
||||
-Iquantum/sequencer
|
||||
-Iquantum/bootmagic
|
||||
-Iplatforms
|
||||
-Iplatforms/avr
|
||||
-Itmk_core/protocol
|
||||
-Ilib/lufa
|
||||
-Itmk_core/protocol/lufa
|
||||
-Idrivers
|
||||
-Idrivers/oled
|
||||
-Iplatforms/avr/drivers
|
||||
-Iquantum/backlight
|
||||
-std=gnu11
|
||||
-flto
|
||||
-Os
|
||||
-Wall
|
||||
-Wstrict-prototypes
|
||||
-fcommon
|
||||
--param=min-pagesize=0
|
||||
-funsigned-char
|
||||
-funsigned-bitfields
|
||||
-ffunction-sections
|
||||
-fdata-sections
|
||||
-fpack-struct
|
||||
-fshort-enums
|
||||
-fno-builtin-printf
|
||||
-fno-inline-small-functions
|
||||
-fno-strict-aliasing
|
||||
-include keyboards/mntre/config.h
|
||||
-mmcu=atmega32u4
|
@ -23,7 +23,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_FN] = LAYOUT(
|
||||
_______, BL_DOWN, BL_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
|
Loading…
Reference in New Issue
Block a user