[env:f722]
platform = ststm32
board = nucleo_f722ze
framework = stm32cube
upload_protocol = dfu
upload_command = /opt/homebrew/bin/dfu-util -a 0 -s 0x08000000:leave -D $SOURCE
monitor_speed = 115200
board_build.mcu = stm32f722ret6
board_build.f_cpu = 216000000L
build_flags = 
    -DSTM32F722xx
    -DUSE_HAL_DRIVER
    -DHSE_VALUE=8000000U
    -DUSE_USB_FS
    -I include
    -Os
    -Wl,--defsym,_Min_Heap_Size=0x2000
    -Wl,--defsym,_Min_Stack_Size=0x1000
