Platform Atmel megaAVR: 8-bit MCUs Built for Real-time Control with Core Independent Peripherals combining intelligent hardware peripherals along with the low-power capability of an AVR core, megaAVR microcontrollers (MCUs) broaden the effectiveness of your real-time control systems.
[env:ATtiny402] platform = atmelmegaavr board = ATtiny402
You can override default ATtiny402 settings per build environment using
board_*** option, where
*** is a JSON object path from
board manifest ATtiny402.json. For example,
[env:ATtiny402] platform = atmelmegaavr board = ATtiny402 ; change microcontroller board_build.mcu = attiny402 ; change MCU frequency board_build.f_cpu = 16000000L