Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
19 changes: 11 additions & 8 deletions .github/workflows/multi-platform-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ jobs:
run: |
mkdir -p ./artifacts/${{ matrix.name }}

# Target the integration tests instead of the example
# Pointing to the example instead of tests/
arduino-cli compile --library . \
-b ${{ matrix.board }} \
tests/integration/integration.ino \
examples/BasicUsage/BasicUsage.ino \
--output-dir ./artifacts/${{ matrix.name }} \
--export-binaries # This is critical for ESP32/SAMD bootability
--export-binaries

- name: Upload Binaries
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -104,18 +104,21 @@ jobs:

- name: Compile Native Executable
run: |
# 1. Generate the Makefile on the fly
# 1. Generate Makefile pointing to the new example path
cat << 'EOF' > tests/integration/Makefile
APP_NAME := integration
APP_NAME := BasicUsage
CXXFLAGS += -I../../
VPATH := ../../examples/BasicUsage
include $(EPOXY_DUINO_DIR)/EpoxyDuino.mk
EOF

# 2. Compile it
# 2. Compile
export EPOXY_DUINO_DIR=$PWD/EpoxyDuino
make -C tests/integration

- name: Run Native Simulation
run: |
# Run the Python test harness against the native executable
python3 tests/integration/yaml_runner.py --yaml tests/integration/universal_test.yaml --binary tests/integration/integration.out
# Run runner against the binary generated from the example
python3 tests/integration/yaml_runner.py \
--yaml tests/integration/universal_test.yaml \
--binary tests/integration/BasicUsage.out
File renamed without changes.
10 changes: 10 additions & 0 deletions library.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name=SerialCommandCoordinator
version=0.1.0
author=Matthew Miller
maintainer=Matthew Miller
sentence=A memory-efficient, zero-heap, non-blocking serial command dispatcher.
paragraph=A lightweight string parser designed to safely map incoming serial commands to registered function addresses. It operates entirely without dynamic memory allocation (zero-heap) to prevent fragmentation. Features include automatic buffer overflow recovery, in-place parameter extraction, interactive sub-mode polling, and seamless compatibility across 8-bit and 32-bit Arduino architectures.
category=Data Processing
url=https://github.com/mattykakes/SerialCommandCoordinator
architectures=*
includes=SerialCommandCoordinator.h
4 changes: 2 additions & 2 deletions tests/integration/Make
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# tests/integration/Makefile
APP_NAME := integration.out
APP_NAME := BasicUsage
ARDUINO_LIBS := SerialCommandCoordinator

# Point to where your library source files live relative to this directory
USER_LIB_DIRS := ../../
USER_LIB_DIRS := ../../examples/BasicUsage
include $(EPOXY_CORE_PATH)/EpoxyCore.mk
Loading