refactor: use standard integer types; remove <algorithm> dependency

- Replaced unsigned char,  int and long long with uint8_t int32_t and int64_t for platform independence
- Removed <algorithm> dependency, implemented custom alternatives
This commit is contained in:
Gatsby
2024-11-07 14:13:37 +08:00
parent d4159ec998
commit 2fc5941f0f
7 changed files with 144 additions and 144 deletions
+2 -2
View File
@@ -10,10 +10,10 @@ CC := arm-none-eabi-gcc
CXX := arm-none-eabi-g++
AR := arm-none-eabi-ar
CXXFLAGS := -static -static-libstdc++ -std=c++17 -fPIC -Wl,--as-needed \
-Wall -Wextra \
-pedantic -Wall -Wextra \
-fmessage-length=0 -mfpu=vfpv3 -mfloat-abi=hard \
-I. -I./cx9261A_api
CFLAGS := -std=c17 -Wall -Wextra \
CFLAGS := -std=c17 -pedantic -Wall -Wextra \
-fmessage-length=0 -mfpu=vfpv3 -mfloat-abi=hard \
-I.
DEBUG_FLAGS := -fdebug-prefix-map=$(CURDIR)/=/tmp/dbg/cx9261a_c/ \