Skip to content

aunsbjerg/docker-kinetis-design-studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker container for Kinetis Design Studio

Usage

Use the following command to build a KDS project:

docker run \
    --user=`id -u`:`id -g` \
    --rm \
    -i \
    -v <solutiondir>:/data \
    aunsbjerg/docker-kinetis-design-studio \
    kds <projectdir> <project>

Where <solutiondir> is the folder containing the project to build. <projectdir> refers to the folder containing the actual project and <project> is the name and configuration of the project, ie. name/debug.

It may be necessary to mount the passwd and group folder from the host system. This is only if there is a permission issue when building projects with the docker container. To mount the folders, add these flags to the run call:

-v /etc/passwd:/etc/passwd:ro
-v /etc/group:/etc/group:ro

Building base image

The kinetis design studio .deb file must be supplied with the docker build command, since I'm too lazy/stupid to automate the download from nxp's website.

A docker build could look like this:

docker build \
    --squash \
    --build-arg KDS_NAME=<kds.deb> \
    --build-arg KDS_DIR=<install-dir> \
    -t <imagename> \
    .

About

Docker container for Kinetis Design Studio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published