Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atmel Studio support --> How-to (enhancement & solution) #23

Open
ericbaril72 opened this issue Jul 6, 2017 · 0 comments
Open

Atmel Studio support --> How-to (enhancement & solution) #23

ericbaril72 opened this issue Jul 6, 2017 · 0 comments

Comments

@ericbaril72
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant