Skip to content

Commit

Permalink
Experiment: Disable Circuits GPIO temporarily, part VI
Browse files Browse the repository at this point in the history
  • Loading branch information
RickCarlino committed Jun 1, 2020
1 parent c02da8e commit a73c5cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.1.0-rc21
10.1.0-rc22
2 changes: 1 addition & 1 deletion farmbot_os/platform/target/gpio/circuits_gpio_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defmodule FarmbotOS.Platform.Target.PinBindingWorker.CircuitsGPIOHandler do
end

def open(_, _) do
{:ok, ref}
{:ok, %{stub: :yep}}
end

def set_pull_mode(_, _) do
Expand Down
2 changes: 1 addition & 1 deletion farmbot_os/platform/target/gpio/circuits_leds_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defmodule FarmbotOS.Platform.Target.Leds.CircuitsHandler do
end

def open(_, _) do
{:ok, ref}
{:ok, %{stub: :yep}}
end

def set_pull_mode(_, _) do
Expand Down

3 comments on commit a73c5cc

@jsimmonds2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😓 Watch your work-life balance here, @RickCarlino ❤️

( but, I suppose, it's all part of the fun of life !!? )

@RickCarlino
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the support, @jsimmonds2 this is one of the nicest comments I've received on Github. It's been a crazy month for us, if not the craziest. I've got two big bugs I have been furiously hunting down for the past week (this is one of them). I can't seem to trace a root cause for AVRDude timeouts on Express boards. All of the pieces work in isolation, but not when integrated into "real FBOS". The problem is not AVRDude, nor is it the way that we flash things (works 100% of the time in an isolated environment). I tried disabling UART from all parts of the app (assuming something was writing to the serial line without permission) but that had no effect. Going to disable GPIO access next. Perhaps something I am overlooking has commandeered GPIO 19 and is preventing a clean reset of the MCU 🤔

@jsimmonds2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RickCarlino I hope that by describing the Express firmware flashing issue in detail to "someone else" has helped you. Has Gabriel got a 'scope or a logic analyzer handy ? ( to see what that GPIO is doing and when ).

P.s. When you get back to farmbot_system_rpi3 update, could you try "collecting" those two ERL_CRASH_DUMP* env. vars ? Thanks ❤️

Please sign in to comment.