Skip to content

Added Various Pi hat / etc radio settings files - #19

Open
Littleaton wants to merge 14 commits into
l5yth:linuxfrom
Littleaton:linux
Open

Added Various Pi hat / etc radio settings files#19
Littleaton wants to merge 14 commits into
l5yth:linuxfrom
Littleaton:linux

Conversation

@Littleaton

Copy link
Copy Markdown

No description provided.

ggodlewski and others added 14 commits June 9, 2026 13:07
* variants: add scaffolding for linux native

* address review comments

* address review comments
* variants: allow linux repeater to be configured at runtime

* address review comments

* address review comments

* address review comments
* replace portduino with ardulinux

* replace portduino with ardulinux

* replace portduino with ardulinux

* Remove flags now owned by the ardulinux platform framework

ARDULINUX_LINUX_HARDWARE, -lgpiod, and -li2c are detected and injected
by builder/frameworks/arduino.py via pkg-config. Hardcoding them here
caused linker failures on machines without libgpiod even though the
framework would have gracefully omitted them.

Also switch variants/ardulinux to the git+ platform URL (dropping the
platform-native + platform_packages indirection), update the linux
variant board name, and add arduino to the frameworks list in linux.json.

* address review comments

* Remove stale portduino branding note

The startup string was already fixed in l5yth/ardulinux — main.cpp
says "An application written with ardulinux". Remove the pending-fix
note and update the description to match the current behaviour.

* replace portduino with ardulinux

* Wire up ardulinux platform and fix SPI/VFS/printf for Linux target

variants/ardulinux/platformio.ini: revert local symlink:// back to
git+ URL — the symlink only works in a co-located checkout and would
break CI.

variants/linux/LinuxBoard.cpp:
- Add empty ardulinuxSetup() to satisfy the weak symbol; without it the
  default prints a noisy "No ardulinuxSetup() found" message on startup.
- Replace Serial.printf with printf — Serial.printf is not available
  until after Serial.begin(); using stdio printf is safe at this
  init-time call site.
- Pass 2MHz frequency to SPI.begin() to match the expected SPI clock.

variants/linux/target.cpp: fix spiTransfer — ArduLinux's SPI only has
a 2-arg transfer(buf, len) that operates in-place; copy out→in first
then call the 2-arg form.

examples/simple_repeater/main.cpp: fix arduLinuxVFS → ardulinuxVFS
(case was wrong; symbol is defined as ardulinuxVFS in ArduLinuxFS.cpp).

* set app info to meshcored

* fix linux sx1262 wrapper

* address review: fix GPIO hardware guard, document spiTransfer, use printf

* docs: fix linux variant README (binary name, deps, SPI setup, config keys; use install(1))
l5yth#8)

* variants/linux: on-hardware smoke-test fixes (rx_boost, dio2, --fsdir, docs)

* address review comments
* proofread README

* proofread README
* variants/linux: use linux_base for platformio

* variants/linux: use linux_base for platformio
* pin ardulinux to wire-fix branch, document pkg-config

* pin ardulinux 0.2.1
…l5yth#14)

* variants/linux: fail loud when libgpiod is missing or pin claim fails

* variants/linux: exit when configured GPIO pins fail to bind
* variants/linux: make lora_gpiochip configurable, refresh docs

* ci: variants/linux: add lora_gpiochip hint to base meshcored.ini too

* bump ardulinux to 0.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants