Install dependencies according to the official docs
git submodule update --init --recursive -- external/crazyflie_firmware
git submodule update --init -- external/rl_tools
brew install libusb
cd external/crazyflie_firmware
make cf2_defconfig
cd ../../
make
cfloader flash build/cf2.bin stm32-fw -w radio://0/80/2M
DYLD_LIBRARY_PATH="/opt/homebrew/lib:$DYLD_LIBRARY_PATH" cfloader flash build/cf2.bin stm32-fw -w radio://0/80/2M
DYLD_LIBRARY_PATH="/opt/homebrew/lib:$DYLD_LIBRARY_PATH" cfclient