Skip to content

[DO NOT MERGE] - Convert master branch to C (master-c)#147

Draft
livingkurt wants to merge 25 commits into
masterfrom
master-c
Draft

[DO NOT MERGE] - Convert master branch to C (master-c)#147
livingkurt wants to merge 25 commits into
masterfrom
master-c

Conversation

@livingkurt
Copy link
Copy Markdown
Collaborator

No description provided.

@livingkurt livingkurt changed the title Convert master branch to C (master-c) [DO NOT MERGE] - Convert master branch to C (master-c) Oct 16, 2025
livingkurt and others added 11 commits October 17, 2025 11:46
…related functions and initialization to streamline pattern configuration.
…ns, adjusting values for slots and total bytes.
…oved state management in the off menu handling.
… Pattern, Random, Storage, TimeControl, Timer, and CLI Makefile updates

This commit introduces several new source files for the Helios project, implementing core functionalities such as button handling, color management, pattern definitions, and random number generation. Additionally, the Makefile for both CLI and Embedded versions has been updated to ensure proper compilation of the new C++ source files, enhancing the overall structure and maintainability of the project.
…ettings, remove main.c, and enhance version tagging process. The changes include switching from gcc to g++ for CFLAGS, consolidating source file handling, and renaming the release target for consistency.
…onfiguration files, while removing the exclusion for C source files. This enhances the project's build process by ensuring relevant files are tracked and managed correctly.
…om source file search, improving build accuracy and preventing unnecessary file inclusion.
…umentation and EEPROM dump output to reflect the change.
Comment thread Helios/HeliosConfig.h Outdated
// = 31 bytes left
// -> 9 slots = 9 * 28 = 252
// = 3 bytes left
// 1 + 6 + 1 + 1 = 9 for the rest
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait why did this change, did this actually change or is this a hallucination lol?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah I actually initially did this for the aeos-c branch and then had ai try to sort of copy over changes and it took it a little too literally haha, i git it put back now tho

Comment thread HeliosCLI/Makefile
ifeq ($(OS),Windows_NT)
SRC = $(shell find ../Helios -type f -name \\*.cpp) \
$(shell find . -type f -name \\*.cpp)
$(shell find . -type f -name \\*.cpp -not -path "./venv/*")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is venv? interesting?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I know right? Funny that after I did a reinstall of macbook in order to run the python scripts in this pr I had to create a venv to run them
So in order to run them in through the make file I needed to include that path there

livingkurt and others added 7 commits October 18, 2025 10:38
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…d adjust queue size for improved performance
#154)

Port of master PR #152 cleanup changes to the master-c branch:

- Add proper #ifndef/#define guard to ColorConstants.h (replacing #pragma once)
- Rename Colortypes.h guard from COLOR_H to COLORTYPES_H to match filename
- Remove helios_wakeup() from embedded ISR (not used on embedded)
- Extract repeated time_get_current_time() calls into const local variable
  in button_update() for clarity
- Remove unused Led.h include from TimeControl.cpp, reorder includes
- Update TimeControl.h comments on time_get_current_time() and
  time_microseconds() for clarity

Made-with: Cursor
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.

2 participants