Generate README.md, add clock dividers and limiters, load configs from WS client, fix stream per-segment subscriptions according to memory projections mechanism

This commit is contained in:
2026-04-05 17:13:53 +03:00
parent 71ec472510
commit d8804c9ae2
19 changed files with 396 additions and 109 deletions

View File

@@ -11,7 +11,7 @@ LIBS_HEADERS=deps/ $(OPENSSL_INCLUDE)
SYSTEM_INCLUDES=-isystem deps/flatcc/include/ -isystem $(PROTO_INC_DIR)/
STATIC_LIBS=crypto
STANDART=c23
OPTIMIZE=-O3
OPTIMIZE=-Og
TARGET=main
FLATCC = deps/flatcc/bin/flatcc
@@ -48,7 +48,7 @@ LFLAGS=$(OPTIMIZE) -g $(PEDANTIC_FLAGS) $(DEFINES) $(STATICLIBS_FLAGS) -flto -fu
OBJECTS = $(patsubst $(SRC_DIR)/%.c, $(BUILD_DIR)/%.o, $(C_SOURCES))
DEP = $(filter %.d, $(OBJECTS:.o=.d))
$(info $(DEP))
#$(info $(DEP))
OBJECTS += $(LIBS)
vpath %.c $(sort $(dir $(C_SOURCES)))
@@ -56,11 +56,11 @@ vpath %.c $(sort $(dir $(C_SOURCES)))
all: build
build: date deps Dir proto target compile_commands
build: date deps Dir proto python-proto target compile_commands
rebuild: clean | build
$(info $(DEP))
#$(info $(DEP))
-include $(DEP)
@@ -92,7 +92,7 @@ $(PROTO_STAMP): $(FBS_SOURCES) | ProtoDir BuildDir
BuildDir:
@mkdir -p $(BUILD_DIR)
$(shell mkdir -p $(dir $(OBJECTS)))
@$(shell mkdir -p $(dir $(OBJECTS)))
SrcDir:
@mkdir -p $(SRC_DIR)