Skip to content

Public reference workbench git sub-module for ehwe. Replace with your own

Notifications You must be signed in to change notification settings

helsinova/ehwe_workbench

Repository files navigation

SPIRAM

This is a very simple template/sample project for EHWE. The simplicity is intentional, i.e. project contains only a bare minimum to function as intended. Purposes fullfilled:

  • Allows EHWE to compile straight out from repo using it's pre-defined git submodules.
  • Serves as a template for how to set-up an "embedded workbench" under EHWE.

How to use

First, git-clone EHWE somewhere. Make sure you got all submodules by reading it's README.md.

The following assumes you have a fresh newly created git repository which is empty. I.e. in essence the following:

mkdir newproject
cd newproject
git init
git commit --allow-empty -m"Initial commit"

Lets now allocate the path of this directory for the sake of exemplification later on (you can off course upload to a server and use that as a origin instead):

REMOTE_REPO=$(pwd)
  • Copy & paste this project into a newly created .git project. I.e. all but the .git directory. Hint: Copy in two steps.
    1. Into a temporary directory. In this directory you remove the .git/ sub-directory. Intermediate directory is now not a git-repo anymore.
    2. Copy everything from the intermediate directory into your newly prepared git-directory.
  • Add & commit everything in your new workbench. Possibly rename the source-files and/or add more first.
  • Adapt EHWE to use your new workbench instead as follows:

Lets assume $EHWE contains the path to ehwe

cd $EHWE
git submodule deinit src/embedded
git submodule add $REMOTE_REPO src/embedded
git submodule init
git submodule update

About

Public reference workbench git sub-module for ehwe. Replace with your own

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published