Solution:
Atmel studio supports external makefiles projects( using an available Extension ).
-- Importing the project --
1- Tools/Extension and Updates --> Available Downloads -->"Create Project from Makefile"
2- Tools/"Create Project from Makefile" --> Select the directory whre it is located
-- Building the bootloader project --
/Build/Build
-- Creating the .uf2 files --
/Debug/Options --> Build Events -->Post-build event command line ( will add theese commands in the auto-generated makefile )
------ event command line start -------
node $(Configuration)/scripts/bin2uf2.js $(Configuration)/$(OutputFileName).bin $(OutputFileName)
mv $(OutputFileName).uf2 $(Configuration)/
------ event command line end -------
make sure the bin2uf2.js script has been copied into your current project
$(Configuration)/scripts/bin2uf2.js
Solution: Atmel studio supports external makefiles projects( using an available Extension ).
-- Importing the project -- 1- Tools/Extension and Updates --> Available Downloads -->"Create Project from Makefile" 2- Tools/"Create Project from Makefile" --> Select the directory whre it is located
-- Building the bootloader project -- /Build/Build
-- Creating the .uf2 files -- /Debug/Options --> Build Events -->Post-build event command line ( will add theese commands in the auto-generated makefile )
------ event command line start ------- node $(Configuration)/scripts/bin2uf2.js $(Configuration)/$(OutputFileName).bin $(OutputFileName) mv $(OutputFileName).uf2 $(Configuration)/ ------ event command line end -------
make sure the bin2uf2.js script has been copied into your current project $(Configuration)/scripts/bin2uf2.js