Skip to content

Dev - #57

Merged
91tleg merged 87 commits into
mainfrom
dev
Dec 22, 2025
Merged

Dev#57
91tleg merged 87 commits into
mainfrom
dev

Conversation

@91tleg

@91tleg 91tleg commented Dec 22, 2025

Copy link
Copy Markdown
Owner

No description provided.

91tleg and others added 30 commits November 25, 2025 14:41
- Source files are moved into src.
- Public headers moved to include for public API.
- Assert can be disabled when `NDEBUG` is defined.
- Include file and line in assert_handler for better debug.
- Use spin loop to blink led on assertion failure.
- Disable log when `NDEBUG` is defined.
- directly wrap esp log macros in header.
- Don't need source file anymore.
Renamed lcd to hd44780 for clarity.
- Renamed lcd to hd44780 for better clarity.
- The driver is tightly coupled to i2c, but should be fine for now.
- Added isr so we don't have to poll in button task.
- Events are now pushed to a queue with level and timestamp.
Use queue to pass event to uart task.
Pass `i2c_master_bus_handle_t` and `i2c_master_dev_handle_t` into
driver instead of using global handle.
- Pass `i2c_master_dev_handle_t` into driver.
- Now hd44780 does not depend on i2c driver.
Move drivers init somewhere else.
- Queue is injected when task is initialized.
- Changed to use static task.
- Updated to use hd44780 api.
- Renamed for more clarity.
- Prevents naming clash with button module.
- Moved from polling to event-driven button handling.
- Inject queues into task.
Contains all parameters incase we need to display multiple params.
91tleg and others added 29 commits December 11, 2025 14:25
- Added drivers directory for hd44780.
- Mocks from hd44780 is provided in `test_display`.
Changed to module-based tests.
- Changed to `display_queue` instead of `decoded_data_queue`.
- Added missing string include for memcpy.
- removed if block for queue recieve.
- initialized structs to 0.
- Flattened uart read logic.
- Renamed function from `read_bytes` to `uart_read_from_isr`.
- Increased isr queue size to 40.
- Use fast float division.
- Replace hand-written asm decode with C.
- ~30% fewer instructions overall.
- Replace hand-written asm with C.
- ~30% fewer instructions.
Enable optional fast float division for decode path.
- Added stop command to stop uart stream.
- Simplify parser by removing address read.
- Stop command for old state is send when enter new state.
- Send initial empty romid to update display at startup.
@91tleg
91tleg merged commit f69fca7 into main Dec 22, 2025
2 checks passed
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