Skip to content

Commit f83271a

Browse files
committed
appease linter, remove test files
1 parent afefe1d commit f83271a

File tree

5 files changed

+25
-5
lines changed

5 files changed

+25
-5
lines changed

FprimeZephyrReference/Components/Burnwire/Burnwire.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ Burnwire ::~Burnwire() {}
1919
// ----------------------------------------------------------------------
2020
// Handler implementations for typed input ports
2121
// ----------------------------------------------------------------------
22+
void Burnwire ::burnStart_handler(FwIndexType portNum) {
23+
// TODO
24+
}
25+
26+
void Burnwire ::burnStop_handler(FwIndexType portNum) {
27+
// TODO
28+
}
2229

2330
// void Burnwire ::stop_handler(FwIndexType portNum) {
2431
// //TODO

FprimeZephyrReference/Components/Burnwire/Burnwire.hpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@ class Burnwire final : public BurnwireComponentBase {
3434
//!
3535
//! Port to start and stop the burnwire
3636

37+
//! Handler implementation for burnStart
38+
//!
39+
//! Port getting start signal
40+
void burnStart_handler(FwIndexType portNum //!< The port number
41+
) override;
42+
43+
//! Handler implementation for burnStop
44+
//!
45+
//! Port getting stop signal
46+
void burnStop_handler(FwIndexType portNum //!< The port number
47+
) override;
48+
3749
void schedIn_handler(FwIndexType portNum, //!< The port number
3850
U32 context //!< The call order
3951
) override;

FprimeZephyrReference/Components/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/FatalHandler")
44
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/Watchdog")
55
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/Burnwire/")
6+
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/Test/")

FprimeZephyrReference/ReferenceDeployment/Top/ReferenceDeploymentTopology.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
#include <zephyr/drivers/gpio.h>
1515

1616
static const struct gpio_dt_spec ledGpio = GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios);
17-
// static const struct gpio_dt_spec burnwire0Gpio = GPIO_DT_SPEC_GET(DT_ALIAS(burnwire0), gpios);
18-
17+
// static const struct gpio_dt_spec burnwire0Gpio = GPIO_DT_SPEC_GET(DT_ALIAS(burnwire0), gpio
1918
static const struct gpio_dt_spec burnwire0Gpio = {
2019
.port = DEVICE_DT_GET(DT_NODELABEL(gpio0)),
2120
.pin = 28, // 28

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ submodules: ## Initialize and update git submodules
1212
@echo "Initializing and updating git submodules..."
1313
git submodule update --init --recursive
1414

15+
16+
1517
export VIRTUAL_ENV ?= $(shell pwd)/fprime-venv
1618
fprime-venv: uv ## Create a virtual environment
17-
@test -s $(VIRTUAL_ENV) || { \
1819
echo "Creating virtual environment..."; \
1920
$(UV) venv fprime-venv; \
20-
$(UV) pip install --requirement requirements.txt; \
21-
}
21+
$(UV) pip install --requirement requirements.txt;
22+
2223

2324
.PHONY: zephyr-setup
2425
zephyr-setup: uv ## Set up Zephyr environment

0 commit comments

Comments
 (0)