27 Commits

Author SHA1 Message Date
Allen Hill e50bde197d Complete the switch to jnk0le uart lib
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 12:49:01 -07:00
Allen Hill 9fd8c5636e Finalize C <=> C++ interface 2026-07-06 19:39:49 -07:00
Allen Hill b538e07577 Establish the Lua dissector action/device/etc tables as authoritative
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 16:53:13 -07:00
Allen Hill 554fca0582 Shift Device/Action enums to avclan.h 2026-07-06 15:50:09 -07:00
Allen Hill e878a61313 Port Frame object to C++ 2026-07-05 19:35:58 -07:00
Allen Hill 66bbf8639e Parameterise Peripheral by its Devices and add CDChanger as one 2026-06-27 10:29:34 -07:00
Allen Hill d98cc8acad Add C++ Bus class for the physical layer interface 2026-06-25 20:40:10 -07:00
Allen Hill 1877bb0658 Add C++ Peripheral class 2026-06-25 18:16:38 -07:00
Allen Hill 02b370dd06 Port Queue to C++
Some knock-on changes to keep a simple design:
- Bake the data array into AVCLAN_frame_t
- Bundle the response/reaction with AVCLAN_frame_t
    - (Needed to maintain correct/simple ownership semantics with the
      cache and outgoing/incoming queues)
- Switch status frame update ticks to use a regular
  cache-originating/owned frame
2026-06-25 14:28:19 -07:00
Allen Hill 0b0c9335f9 Decouple hardware specific code from generic, agnostic code 2026-06-23 17:29:52 -07:00
Allen Hill fb130559e2 Reorganize code in prep for hardware decoupling and port to C++
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 18:13:34 -07:00
Allen Hill aefd539715 Improve periodic status reporting (tune interval better, reset count when changing time) 2026-06-18 19:58:50 -07:00
Allen Hill fee74e05c8 Add headset function control 2026-06-18 19:58:50 -07:00
Allen Hill 051d8dbe99 Refactor cmake/presets for easier serial usb device selection 2026-06-11 19:33:06 -07:00
Allen Hill 9baa57d6d9 Minor reorg of cmakelists 2026-05-15 18:28:54 -07:00
Allen Hill 263b7c1753 Specify enum size to drop (potentially surprising) enum size compile flag 2026-05-13 18:21:39 -07:00
Allen Hill 4de22e01f3 Substantially refactor ~everything to separate concerns and improve flow clarity
Highlights:
- Remove all use of malloc and friends
- Refactor message handling functions to work with references
- Move core message read => triage => respond logic loop to main
  function
- Improve message triage and support follow-up messages
- Refactor hex byte parsing
- Disable periodic interrupt when not playing
2026-05-08 13:10:14 -07:00
Allen Hill 9b2c71fa6e Add some compiler warnings and fix revealed bugs 2026-05-05 18:17:02 -07:00
Allen Hill b9382b26d7 Update Cmakelists 2024-08-23 12:25:56 -07:00
Allen Hill 1cafed82d0 Change serial baud to 500k at double-speed; but add cmake option for serial rxmode 2023-09-14 19:48:39 -04:00
Allen Hill 64cd4b9958 Remove erroneous PUBLIC include_directory 2023-09-12 19:21:43 -04:00
Allen Hill bcd07d0ffb Refine timing calculations; use for serial baudrate calculation 2023-09-10 16:48:48 -04:00
Allen Hill a9ea586ed4 Setup and bugfix programming with avrdude 2023-09-10 16:05:44 -04:00
Allen Hill 7245695bc7 Setup timing better (fuses, clock speed, TCB clock speed) 2023-09-10 16:02:06 -04:00
Allen Hill 3e008f32eb Tooling updates and modification suggested by clang-tidy 2023-09-03 09:49:03 -04:00
Allen Hill eb93931522 Only download Microchip pack if avr-libc doesnt support ATtiny3216 2023-08-22 11:59:41 -04:00
Allen Hill 522fb41290 Switch to CMake 2023-08-21 20:06:30 -04:00