Skip to content

Commit

Permalink
Support HALInterfaces v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gabryelreyes committed Jul 2, 2024
1 parent 9b59443 commit 7a3b1a2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 33 deletions.
10 changes: 1 addition & 9 deletions lib/HALTest/src/ButtonA.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* @brief Button A realization
* @author Andreas Merkle <[email protected]>
*
*
* @addtogroup HALTarget
*
* @{
Expand Down Expand Up @@ -81,15 +81,7 @@ class ButtonA : public IButton
return false;
}

/**
* Wait until button is released.
*/
void waitForRelease() final
{
}

private:

};

/******************************************************************************
Expand Down
10 changes: 1 addition & 9 deletions lib/HALTest/src/ButtonB.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* @brief Button B realization
* @author Andreas Merkle <[email protected]>
*
*
* @addtogroup HALTarget
*
* @{
Expand Down Expand Up @@ -81,15 +81,7 @@ class ButtonB : public IButton
return false;
}

/**
* Wait until button is released.
*/
void waitForRelease() final
{
}

private:

};

/******************************************************************************
Expand Down
10 changes: 1 addition & 9 deletions lib/HALTest/src/ButtonC.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* @brief Button C realization
* @author Andreas Merkle <[email protected]>
*
*
* @addtogroup HALTarget
*
* @{
Expand Down Expand Up @@ -81,15 +81,7 @@ class ButtonC : public IButton
return false;
}

/**
* Wait until button is released.
*/
void waitForRelease() final
{
}

private:

};

/******************************************************************************
Expand Down
10 changes: 4 additions & 6 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ build_flags =
-Wno-switch
-Werror
lib_deps =
BlueAndi/ZumoHALATmega32u4 @ ~0.2.0
BlueAndi/ZumoHALATmega32u4 @ ~1.0.0
lib_ignore =
ArduinoNative
HALTest
extra_scripts =

Expand Down Expand Up @@ -100,8 +99,7 @@ build_flags =
-I./lib/Webots/include/cpp
lib_deps =
MainNative
BlueAndi/ArduinoNative @ ~0.1.0
BlueAndi/ZumoHALWebots @ ~0.2.0
BlueAndi/ZumoHALWebots @ ~1.0.0
Webots
lib_ignore =
HALTest
Expand All @@ -127,8 +125,8 @@ build_flags =
-Itest/common
lib_deps =
MainTestNative
BlueAndi/ArduinoNative @ ~0.1.0
BlueAndi/ZumoHALInterfaces @ ~0.2.0
BlueAndi/ArduinoNative @ ~0.1.1
BlueAndi/ZumoHALInterfaces @ ~1.0.0
HALTest
lib_ignore =
Webots
Expand Down

0 comments on commit 7a3b1a2

Please sign in to comment.