First amcfoc
projects: amcfoc.loader
and amcfoc.CM7launcher
#521
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the
amcfoc.loader
and theamcfoc.CM7launcher
projects.Both projects produce the binary that is first executed by the CM4 at bootstrap. They are alternative one to each other and they work in the following way.
The
amcfoc.loader
is responsible to launch the other binaries of the CM4: theamfoc.updater
or theamcfoc.yri
. It is theamcfoc.yri
that will activate the application dedicated to motor control on the CM7 core, theamcfoc.mot
.There is however a caveat: the
amcfoc.loader
cannot properly work yet because needs the device driver of the EEPROM that is still WIP, so we have an alternative.The
amcfoc.CM7launcher
project launches directly the CM7 core with whatever projects it holds and then will just ... blink a LED @ 2 Hz. The project on the CM7 can be for now the one in folderexamples\cm7-embot-os
w/ targetamcfoc.1cm7-slave
. Soon it will be theamcfoc.mot
.This PR can be safely merged as it touches only files dedicated to the
amcfoc
.