Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tones #2

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/hardware_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ jobs:
matrix:
variant:
- FennecModem
- BackPlane

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true

- uses: INTI-CMNB/KiBot@v2_k7
- uses: INTI-CMNB/KiBot@v2_k8
with:
# Config file
config: Hardware/${{ matrix.variant }}.yaml
Expand Down
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "Hardware/FennecModem/Libraries/kenwoodfox-kicad-libraries"]
path = Hardware/FennecModem/Libraries/kenwoodfox-kicad-libraries
url = https://github.com/KenwoodFox/kenwoodfox-kicad-libraries.git
[submodule "Hardware/BackPlane/Libraries/kenwoodfox-kicad-libraries"]
path = Hardware/BackPlane/Libraries/kenwoodfox-kicad-libraries
url = https://github.com/KenwoodFox/kenwoodfox-kicad-libraries.git
[submodule "Hardware/FennecModem/Libraries/KiCad-RP-Pico"]
path = Hardware/FennecModem/Libraries/KiCad-RP-Pico
url = https://github.com/sol/KiCad-RP-Pico.git
46 changes: 46 additions & 0 deletions Firmware/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# A very simple makefile full of shortcuts

# What port the arduino is on
ifndef SERIAL_DEV
ifneq (,$(wildcard /dev/ttyUSB0))
SERIAL_DEV = /dev/ttyUSB0
else ifneq (,$(wildcard /dev/ttyACM0))
SERIAL_DEV = /dev/ttyACM0
else
SERIAL_DEV = unknown
endif
endif

.PHONY: help

help: ## Prints this help message
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

build: ## Invokes pio run
pio run

# For CI
binaries: ## Builds the binaries
pio run
pio run -t .pio/build/uno328/firmware.hex

flash: ## Flashes the code to the processor
pio run -t upload

deep: ## Flashes the code to processor with fresh EEPROM values
pio run -t uploadeep

clean: ## Cleans the repo of artefacts
pio run -t clean
git clean -fdx

lint: ## De-lints the repo
pio check

test: ## Run automated tests
pio test --upload-port $(SERIAL_DEV)

debug: flash monitor ## Flashes then Monitors

monitor: ## Monitors the device serial
pio device monitor --filter=direct --filter=time
231 changes: 0 additions & 231 deletions Hardware/BackPlane.yaml

This file was deleted.

Loading
Loading