mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-03 22:30:22 +00:00
[GH-ISSUE #192] Option -DOPK_LOG=1 makes OpenPuck disconnect/reconnect frequently #82
Labels
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
safijari/openpuck#82
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Bambusbro on GitHub (Jul 26, 2026).
Original GitHub issue: https://github.com/safijari/openpuck/issues/192
Description
Compiling OpenPuck with
-DOPK_LOG=1usingarduino-cliresults in repeated crashes/reboots during operation.Environment
arduino-cli compile -b adafruit:nrf52:feather52840 --build-property "build.extra_flags=-DNRF52840_XXAA {build.flags.usb} -DCFG_TUD_HID=6 -DCFG_TUD_TASK_QUEUE_SZ=512 -DCFG_TUD_VENDOR_TX_BUFSIZE=256 -DOPK_LOG=1" OpenPuck" .Memory Usage at Compile Time
The compiler output shows sufficient RAM available:
Behavior
When flashed with
-DOPK_LOG=1, the OpenPuck crashes in constant reboot loop as soon as connected via USBWithout
-DOPK_LOG=1, the firmware runs completely stable.Expected Behavior
The device should boot and operate normally with diagnostic logging / capture ring enabled.