Skip to content

Commit

Permalink
More changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cam0Cow committed Oct 7, 2023
1 parent 3214028 commit 68590d1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 146 deletions.
11 changes: 0 additions & 11 deletions .vscode/LHR.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@
"args": ["-i"]
},
},
"files.associations": {
"Test_Runner.h": "c",
"tasks.h": "c",
"stm32f4xx.h": "c",
"os.h": "c",
"bsp.h": "c",
"bsp_gpio.h": "c",
"uart.h": "c",
"fifo.h": "c"
}
},
"tasks": {
"version": "2.0.0",
Expand All @@ -41,7 +31,6 @@
"args": [
"${input:target}",
"TEST=${input:test}",
"USE_TEST_RUNNER=${input:use_test_runner}",
"DEBUG=${input:debug}"
],
"presentation": {
Expand Down
20 changes: 10 additions & 10 deletions Apps/Inc/Tasks.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
/**
* Priority Definitions
*/
#define TASK_FAULT_STATE_PRIO 1
#define TASK_INIT_PRIO 2
#define TASK_READ_TRITIUM_PRIO 3
#define TASK_SEND_TRITIUM_PRIO 4
#define TASK_READ_CAR_CAN_PRIO 5
#define TASK_UPDATE_DISPLAY_PRIO 6
#define TASK_SEND_CAR_CAN_PRIO 8
#define TASK_TELEMETRY_PRIO 9
#define TASK_DEBUG_DUMP_PRIO 10
#define TASK_COMMAND_LINE_PRIO 11
#define TASK_FAULT_STATE_PRIO 1
#define TASK_INIT_PRIO 2
#define TASK_READ_TRITIUM_PRIO 3
#define TASK_SEND_TRITIUM_PRIO 4
#define TASK_READ_CAR_CAN_PRIO 5
#define TASK_UPDATE_DISPLAY_PRIO 6
#define TASK_SEND_CAR_CAN_PRIO 8
#define TASK_TELEMETRY_PRIO 9
#define TASK_DEBUG_DUMP_PRIO 10
#define TASK_COMMAND_LINE_PRIO 11

/**
* Stack Sizes
Expand Down
10 changes: 0 additions & 10 deletions BSP/STM32F413/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,6 @@ C_SOURCES += \
$(filter-out ../../Apps/Src/main.c, $(wildcard ../../Apps/Src/*.c)) \
../../$(TEST)

# This line adds the test runner if necessary. MotorSim and CarSim currently use nothing from the test runner.
# TODO: Remove once all of our tests have been integrated with the new test framework
ifeq ($(USE_TEST_RUNNER), 1)
ifeq (,$(findstring MotorSim/, $(C_SOURCES)))
ifeq (,$(findstring CarSim/, $(C_SOURCES)))
C_SOURCES += ../../Tests/Leader/Test_Runner.c
endif
endif
endif

# ASM sources
ASM_SOURCES = \
../../BSP/STM32F413/Src/startup_stm32f413xx.s \
Expand Down
6 changes: 3 additions & 3 deletions Renode/startup.resc
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ $motor_bin?=$ORIGIN/../Objects/motor-sim.elf
$platform=$ORIGIN/stm32f413.repl

EnsureTypeIsLoaded "Antmicro.Renode.Peripherals.DMA.STM32DMA"
Execute Command include @${CURDIR}/STM32DMA_Fix.cs
include $ORIGIN/STM32DMA_Fix.cs

EnsureTypeIsLoaded "Antmicro.Renode.Peripherals.Analog.STM32_ADC"
Execute Command include @${CURDIR}/STM32_ADC_Fix.cs
include $ORIGIN/STM32_ADC_Fix.cs

EnsureTypeIsLoaded "Antmicro.Renode.Peripherals.UART.STM32_UART"
Execute Command include @${CURDIR}/STM32_UART_Fix.cs
include $ORIGIN/STM32_UART_Fix.cs

macro reset
"""
Expand Down
1 change: 0 additions & 1 deletion Tests/CarSim/Test_CarSim.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include <stdio.h>

#define TEST_USE_RTOS 0
#include "Test_Runner.h"

// Handlers
static void RX_Handler(){
Expand Down
111 changes: 0 additions & 111 deletions Tests/Leader/Test_Runner.c

This file was deleted.

0 comments on commit 68590d1

Please sign in to comment.