nixos-configuration/pkgs/mute-indicator/platformio.ini
2021-11-17 16:08:19 +00:00

24 lines
500 B
INI

[env:bluepill]
framework = arduino
platform = ststm32
board = genericSTM32F103C8
board_build.mcu = stm32f103c8t6
board_build.f_cpu = 72000000L
upload_protocol = dfu
upload_port = anything
lib_deps =
Adafruit NeoPixel
build_flags =
-D USBCON
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D USBD_VID=0x1EAF
-D USBD_PID=0x6d75
-D USB_MANUFACTURER_STRING="\"github.com/jalr\""
-D USB_PRODUCT_STRING="\"mute-indicator\""
# -D HAL_PCD_MODULE_ENABLED
# -D USB_PRODUCT=bluepill