Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
4320213
misplaced letter
ericv555 Feb 14, 2026
093991f
unused variable
ericv555 Feb 15, 2026
90b366f
more prints
ericv555 Feb 15, 2026
0252447
more prints
ericv555 Feb 15, 2026
40a1f30
Merge remote-tracking branch 'origin/main' into feature-vtm-comms
ericv555 Feb 25, 2026
c1f9e4b
merging from optional rework
ericv555 Feb 25, 2026
6f451c5
No longer double conuts VTM and tramsitter mouse and key data
ericv555 Mar 4, 2026
a7eb9bc
missed a }
ericv555 Mar 4, 2026
499c349
merged + added logic to dr16
ericv555 Mar 31, 2026
a075ef0
missed a merge flag
ericv555 Mar 31, 2026
6b429f5
had a build erro, typo
ericv555 Mar 31, 2026
79981fe
super sneaky gitignore change
ericv555 Mar 31, 2026
54222f8
Moved logo out of main
ericv555 Apr 11, 2026
6311922
Created global robot class and put main in there
ericv555 Apr 12, 2026
b3e66ab
partitioned the logic of the main loop into 5 functions
ericv555 Apr 12, 2026
26ea92e
Inital CLI implmenetation
ericv555 Apr 13, 2026
3d5a3bf
cleaned up the map usage with temp variables
ericv555 Apr 13, 2026
e522c00
changed some doubles to floats lol
ericv555 Apr 14, 2026
8c7dcf6
Merge branch 'main' into feature-main-refactor
ericv555 Apr 14, 2026
6b84a26
just spacing
ericv555 Apr 14, 2026
12afef1
ping works on standalone teensy
ericv555 Apr 17, 2026
497625b
added CLI implementation
ericv555 Apr 18, 2026
e912801
idk
ericv555 Apr 18, 2026
74039f9
im gerald now
ericv555 Apr 19, 2026
11e352f
finished merging with gerald... we are one now
ericv555 Apr 19, 2026
612612e
changed makefile to use tycmd monitor
ericv555 Apr 19, 2026
695eaf4
adjusted profiler for performance and added print options to every se…
ericv555 Apr 19, 2026
90de6b5
CLI now supports multiple views at the same time
ericv555 Apr 19, 2026
08df1f1
we have logger now too lol
ericv555 Apr 19, 2026
f5e7e5e
changed out some serial prints to systemlogger in main
ericv555 Apr 19, 2026
f74df6e
added release and dev flags for make
ericv555 Apr 22, 2026
bb08fa8
added help statement and logger comments
ericv555 Apr 22, 2026
cef4618
merged with main-refactor
ericv555 Apr 22, 2026
f7356df
comments
ericv555 Apr 22, 2026
6c76bb1
more comments
ericv555 Apr 22, 2026
88fc007
maybe last comment
ericv555 Apr 22, 2026
9cf2a87
added local current_feed variable
ericv555 Apr 22, 2026
be463b2
Makefile now creates unique dir for release and debug
ericv555 Apr 22, 2026
faa981e
final doxygen comments...
ericv555 Apr 22, 2026
c5b55c9
added sliders to et16 and cleaned up print statements
ericv555 Apr 23, 2026
1bb0b14
Changed substr to c style string parsing for better memory management
ericv555 Apr 30, 2026
45aa1a2
Merged main
roccoagain May 14, 2026
fdfe338
Formatting
roccoagain May 14, 2026
3193b31
merged main
ericv555 May 15, 2026
b573849
changed CLI implementation to utilize command pattern for standard co…
ericv555 May 31, 2026
f2e9a85
removed debug code
ericv555 May 31, 2026
97f7906
adjusted comments to match new setup
ericv555 May 31, 2026
8ac23fa
added comments
ericv555 May 31, 2026
848ec82
misspeled brief
ericv555 May 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Ignore the build directory
build
build/
.pio/

# Ignore the output binaries
*.elf
Expand Down
19 changes: 15 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ TARGET_EXEC := firmware
# Directory where build outputs will be placed
BUILD_DIR := ./build

ifneq ($(filter debug,$(MAKECMDGOALS)),)
BUILD_DIR := ./build/debug
PROFILER_FLAG := -DPROFILER
endif

ifneq ($(filter release,$(MAKECMDGOALS)),)
BUILD_DIR := ./build/release
endif

# Tools directory
TOOLS_DIR := ./tools

Expand Down Expand Up @@ -54,7 +63,7 @@ TEENSY4_FLAGS = -DF_CPU=600000000 -DUSB_CUSTOM -DLAYOUT_US_ENGLISH -D__IMXRT1062
# CPU flags to optimize code for the Teensy processor
CPU_CFLAGS = -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -mthumb

DEFINES := $(TEENSY4_FLAGS)
DEFINES := $(TEENSY4_FLAGS) $(PROFILER_FLAG)

# Preprocessor flags for both C and C++ files
# -MMD: Generate dependency files for each source file
Expand Down Expand Up @@ -116,7 +125,8 @@ MAKEFLAGS += -j$(nproc)

# Phony target to force a build every time
.PHONY: build

debug: clangd $(BUILD_DIR)/$(TARGET_EXEC)
release: clangd $(BUILD_DIR)/$(TARGET_EXEC)

# Main build target; depends on the target executable and git scraper
build: clangd $(BUILD_DIR)/$(TARGET_EXEC)
Expand Down Expand Up @@ -222,7 +232,8 @@ upload: build
# Teensy serial isn't immediately available after upload, so we wait a bit
# The Teensy waits for 20 + 280 + 20 ms after power up/boot
@sleep 0.4s
@bash $(TOOLS_DIR)/monitor.sh
#@bash $(TOOLS_DIR)/monitor.sh
@tycmd monitor


# Install required tools for building and uploading firmware
Expand All @@ -242,7 +253,7 @@ gdb:
# monitors currently running firmware on robot
monitor:
@echo [Monitoring]
@bash $(TOOLS_DIR)/monitor.sh
@tycmd monitor


# resets teensy and switches it into boot-loader mode, effectively stopping any execution
Expand Down
4 changes: 3 additions & 1 deletion src/comms/comms_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ extern "C" void reset_teensy(void) {

namespace Comms {

CommsLayer comms_layer;

CommsLayer::CommsLayer() {
Serial.printf("CommsLayer: constructed\n");
};
Expand Down Expand Up @@ -203,4 +205,4 @@ bool CommsLayer::initialize_ethernet() {
return true;
};

} // namespace Comms
} // namespace Comms
4 changes: 2 additions & 2 deletions src/comms/comms_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class CommsLayer {
/// @brief Timer for use in the configuration process
Timer config_loop_timer;
};

extern CommsLayer comms_layer;
} // namespace Comms

extern Comms::CommsLayer comms_layer;
//extern Comms::CommsLayer comms_layer;
Loading
Loading