; PlatformIO Project Configuration File for Grbl ; ; This configuration builds Grbl v0.9j for Arduino Uno (ATmega328P) ; Based on the original Makefile settings ; ; Please visit documentation for options and examples ; https://docs.platformio.org/page/projectconf.html [platformio] src_dir = src lib_dir = . include_dir = grbl [env:uno] platform = atmelavr board = uno framework = arduino ; Build configuration matching Makefile build_flags = -DF_CPU=16000000L -DBAUD_RATE=115200 -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -lm -Igrbl -Igrbl/cpu_map -Igrbl/defaults ; Add Grbl source files to build build_src_filter = +<*> +<../grbl/*.c> -<../grbl/examples/> ; Upload configuration upload_speed = 115200 monitor_speed = 115200