-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
417 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Check CAN, build Calypso | ||
on: | ||
push: | ||
paths: | ||
- 'cangen/**' | ||
|
||
jobs: | ||
run-build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone Calypso | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: Northeastern-Electric-Racing/Calypso | ||
|
||
- name: Clone Embedded-base | ||
uses: actions/checkout@v4 | ||
with: | ||
path: "./Embedded-Base" | ||
|
||
- name: Build Calypso | ||
run: cargo build --locked |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,22 @@ | ||
# Embedded-Base | ||
Embedded-Base is a collection of drivers & middleware designed for use across various systems. | ||
Embedded-Base is a collection of drivers, middlewares, and communication definitions designed for use across various systems. | ||
|
||
This repository houses custom drivers and middleware that can be utilized in multiple projects. | ||
Most firmware projects define Embedded-Base as a submodule. | ||
|
||
To use this repository in any project, it should be set up as a submodule. | ||
## Getting Started With NER Firmware | ||
|
||
## Getting Started | ||
All you need is on confluence [here](https://nerdocs.atlassian.net/wiki/spaces/NER/pages/1343533/Firmware+Onboarding+Embedded+Software#Development-Environment-Setup). | ||
|
||
#### 1. Clone Embbeded-Base: | ||
~~~ | ||
git clone https://github.com/Northeastern-Electric-Racing/Embedded-Base.git | ||
~~~ | ||
### Notable items in this repository | ||
|
||
#### 2. Initialize submodule | ||
Within the application directory, run the following command to initialize the submodule: | ||
~~~ | ||
git submodule update --init | ||
~~~ | ||
|
||
## Development Guidelines | ||
|
||
When developing in the parent directory, it's recommended to frequently run the following command to update all submodules in case changes have been made: | ||
~~~ | ||
git submodule update --remote | ||
~~~ | ||
|
||
|
||
**When making changes to a driver located within Embedded-Base, always make those changes directly within the Embedded-Base repository. Avoid making changes to a submodule from the parent directory.** Although it's technically possible, doing so can lead to disorganization, which we want to avoid. | ||
|
||
This approach ensures that changes to Embedded-Base are tracked properly and can be easily integrated into your projects using it as a submodule. | ||
- `cangen`: All JSON definitions of in-car CAN data as well as documentation and parsing utilities. | ||
- `dev`: The manual version of the NER build system, compatible up circuit boards in competition 22A | ||
- `ner_environment`: The NER developer environment compatible with all boards from 22A onwards and cross platform support. | ||
- `general`: Cross-platform C source files for all peripheral drivers used by NER. | ||
- `middleware`: Cross-platform C source files common utilities used across various platforms. | ||
- `platforms`: C source files specific to STM HAL versions. | ||
- `clang-format`: The organization wide clang-format definition. | ||
- `ftdi_flash.cfg`: An openocd script to assist in FTDI flashing. | ||
- `openocd.cfg`: A openocd stub to load GDB onto a target. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -218,10 +218,10 @@ | |
"send": false, | ||
"points": [ | ||
{ | ||
"size": 24 | ||
"size": 27 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
] |
Oops, something went wrong.