This repository will be used for any software associated with the mini firetrucks received from the Huntsville Fire Department through SMAP at UAH.
This project requires PlatformIO.
See install documentation here.
Run and upload tests using PlatformIO's VSCode extension. Or upload them using the command pio run -t upload -e Test[Name]. Name is the name of the test to run.
In general, when adding tests make sure to add Test to the beginning of the environment name. Make sure to only include the files for your test. See below for guidelines.
If you add a test, add an env section to platformio.ini with a syntax like the following:
... rest of ini file ...
[env:Test[NameOfTest]]
upload_port = [Your upload port]
platform = atmelavr
framework = arduino
board = uno
lib_deps =
[any libraries you need]
# filter everything else except the files needed for the test
build_src_filter =
-<*>
-<.git/>
-<.svn/>
+<componentTests/[NameOfTest].cpp>Go over the guide in docs/manual.pdf to get the parts for this project and learn how to set them up.
To get setup, go to the PlatformIO tab, run the platformIO environment FireTruckMaster and FireTruckSlave.