Skip to content

replace portduino with ardulinux#4

Open
l5yth wants to merge 9 commits intolinuxfrom
l5y-switch-ardulinux
Open

replace portduino with ardulinux#4
l5yth wants to merge 9 commits intolinuxfrom
l5y-switch-ardulinux

Conversation

@l5yth
Copy link
Owner

@l5yth l5yth commented Mar 16, 2026

No description provided.

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

l5yth and others added 8 commits March 17, 2026 12:39
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.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@l5yth l5yth force-pushed the l5y-switch-ardulinux branch from a6de05f to 5706a1a Compare March 17, 2026 11:39
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.

1 participant