-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
24 lines (20 loc) · 965 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
24 lines (20 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
idf_component_register(
SRCS
"src/k_quirc.c"
"src/k_quirc_version.c"
"src/k_quirc_identify.c"
"src/k_quirc_decode.c"
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "src"
)
# Adaptive threshold control loop - adjusts threshold based on timing pattern analysis
# Comment out to disable
target_compile_definitions(${COMPONENT_LIB} PUBLIC K_QUIRC_ADAPTIVE_THRESHOLD)
# Bilinear threshold interpolation - uses four quadrants for uneven lighting
# Comment out to disable (uses single global threshold instead)
target_compile_definitions(${COMPONENT_LIB} PUBLIC K_QUIRC_BILINEAR_THRESHOLD)
# Uncomment to enable the inverted-colors retry pass when no QR is found.
# target_compile_definitions(${COMPONENT_LIB} PUBLIC K_QUIRC_INVERTED_RETRY)
# Uncomment to enable QR debug visualization mode
# This shows the thresholded pixel buffer with timing pattern overlays
# target_compile_definitions(${COMPONENT_LIB} PUBLIC K_QUIRC_DEBUG)