Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

At a Glance

...

Code Block
# Initialize the directory structure for a new project named "gettinghello_startedworld"
# See projects/README.md for more information on how our projects work
make new PROJECT=gettinghello_startedworld

With our branch created, we initialize our new project gettinghello_startedworld. You should see a new folder at projects/gettinghello_startedworld.

In your favorite editor, create a new file main.c in gettinghello_startedworld/src. We advise opening the firmware folder as a project or workspace in your editor supports that.

...

You should have the following directory structure:

Code Block
projects/gettinghello_startedworld/
├── inc
├── rules.mk
├── src
│   └── main.c
└── test


3 directories, 2 files

You'll notice that make new also created a rules.mk. This file is what identifies the folder gettinghello_startedworld as a project to our build system. Please refer to the projects readme for more information.

...

With your code workring, we want to make sure your code matches our Coding Standards. We use two tools for that:

...