-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
566c853
commit 6801924
Showing
33 changed files
with
277 additions
and
637 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
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 +1,18 @@ | ||
# POST | ||
# FarmBot factory test firmware | ||
|
||
Tests electronics box LEDs, | ||
Farmduino peripherals using load sensors (including rotary tool on Genesis), | ||
and motors using encoders. | ||
|
||
Press the red E-STOP button to proceed through tests. | ||
|
||
All LEDs flashing indicates error. | ||
|
||
``` | ||
MIX_TARGET=rpi4 mix deps.get | ||
MIX_TARGET=rpi4 mix firmware.image factory_test_genesis_v1.6_pi4.img | ||
MIX_TARGET=rpi02w mix deps.get | ||
MIX_TARGET=rpi02w mix firmware.image factory_test_express_v1.1_pi02w.img | ||
``` | ||
|
||
[Nerves docs](https://hexdocs.pm/nerves/getting-started.html) |
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 was deleted.
Oops, something went wrong.
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,15 @@ | ||
import Config | ||
IO.puts("using EXPRESS_K11 profile") | ||
|
||
config :post, POST.Comms, device: "ttyUSB0" | ||
|
||
config :post, POST.ButtonSupervisor, button: POST.GPIOButton | ||
|
||
config :post, POST.ButtonPopulator, buttons: [16, 22] | ||
|
||
config :post, POST.LEDSupervisor, led: POST.GPIOLED | ||
|
||
config :post, POST.LEDPopulator, leds: [17, 23, 24, 25] | ||
|
||
config :post, POST.TestSuite, peripherals: [0, 1, 2] | ||
config :post, POST.TestSuite, motors: [0, 1, 2, 3] |
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
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
import Config | ||
|
||
config :post, POST.PlatformSupervisor, children: [] | ||
import_config "profiles/EXPRESS_K11.ex" |
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
import Config | ||
|
||
config :post, POST.PlatformSupervisor, children: [] | ||
import_config "profiles/FARMDUINO_K16.ex" |
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
Oops, something went wrong.