From 5b998ec5ac79154e37a827c5daa475fa77658e10 Mon Sep 17 00:00:00 2001 From: Drath Date: Sun, 28 Dec 2025 23:05:21 +0100 Subject: [PATCH 1/2] cmake: --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ad7ffbb..e58b8c0 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Same as plugins. Just write in more features scrub, learn some C++, damn - In the LCDDisplay lib, reimplement all the features I have in picoSmartie + maybe finally add keypad support for both so I can toggle backlight (?) or change screens if I want any - Screens could be automatic tbh, like if it detects media playing it switches to media screen, if in media screen and GPU power > 80W it switches to main (hwmon) screen - Try to be C++26, avoid globals, wrap in namespaces, use naming conventions, use classes, avoid pure C way of doing things unless it makes more sense (which it often does tbh, better for reading small files) +- switch to CMake? We don't really need to but a progress indicator is kinda cool and we could learn cmake ## LCD layout It looks something like this From 5ab0f43e8d5ddbe98cb85a83093cbae86484fcd1 Mon Sep 17 00:00:00 2001 From: Drath Date: Sun, 28 Dec 2025 23:15:46 +0100 Subject: [PATCH 2/2] figure out threads automatically --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1b4a55e..d929fde 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -MAKEFLAGS := --jobs=16 +MAKEFLAGS := "-j $(shell nproc)" # compiling with C++26 CXXFLAGS := -std=c++2c -fdiagnostics-color=always -Iinclude -lwebsockets -lz -Wall -Wextra -Wpedantic -Werror