2020-02-17 20:42:11 +01:00
|
|
|
"""Information that should be available to the python library.
|
|
|
|
"""
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
# The root of the qmk_firmware tree.
|
|
|
|
QMK_FIRMWARE = Path.cwd()
|
|
|
|
|
|
|
|
# This is the number of directories under `qmk_firmware/keyboards` that will be traversed. This is currently a limitation of our make system.
|
|
|
|
MAX_KEYBOARD_SUBFOLDERS = 5
|
2020-05-26 22:05:41 +02:00
|
|
|
|
|
|
|
# Supported processor types
|
2020-09-19 05:48:02 +02:00
|
|
|
ARM_PROCESSORS = 'cortex-m0', 'cortex-m0plus', 'cortex-m3', 'cortex-m4', 'MKL26Z64', 'MK20DX128', 'MK20DX256', 'STM32F042', 'STM32F072', 'STM32F103', 'STM32F303', 'STM32F401', 'STM32F411'
|
2020-09-27 12:33:03 +02:00
|
|
|
AVR_PROCESSORS = 'atmega16u2', 'atmega32u2', 'atmega16u4', 'atmega32u4', 'at90usb646', 'at90usb647', 'at90usb1286', 'at90usb1287', 'atmega328p', 'atmega32a', None
|
2020-05-26 22:05:41 +02:00
|
|
|
ALL_PROCESSORS = ARM_PROCESSORS + AVR_PROCESSORS
|
2020-06-18 00:45:53 +02:00
|
|
|
VUSB_PROCESSORS = 'atmega328p', 'atmega32a', 'atmega328', 'attiny85'
|