File syn_config_template.h¶
FileList > src > syntropic > syn_config_template.h
Go to the source code of this file
SyntropicOS configuration template. More...
Macros¶
Detailed Description¶
HOW TO USE: * Copy this file to your project's include path. * Rename the copy to "syn_config.h". * Edit the copy to enable/disable modules and set buffer sizes.
SyntropicOS headers look for "syn_config.h" on the include path. If the file is not found, sensible defaults are used.
Macro Definition Documentation¶
define SYN_CLI_HISTORY_DEPTH¶
Command history depth (0=disabled)
define SYN_CLI_LINE_BUF_SIZE¶
Max command line length
define SYN_CLI_MAX_ARGS¶
Max argc (including command name)
define SYN_COREDUMP_STACK_SIZE¶
< Flash address for core dump sector Bytes of stack to capture
define SYN_CRC_USE_TABLE¶
1=lookup table (fast), 0=bitwise
define SYN_FILTER_MAX_WINDOW¶
Max filter window size
define SYN_FW_USE_HMAC¶
HMAC-signed firmware images (requires: SHA256, BOOT)
define SYN_GFX_BACKEND¶
Active renderer
define SYN_GFX_BACKEND_CANVAS¶
Framebuffer canvas (default)
define SYN_GFX_BACKEND_DIRECT¶
Direct-draw (no framebuffer)
define SYN_LOG_BUF_SIZE¶
Log output buffer size (bytes)
define SYN_LOG_COLOR¶
Enable ANSI color codes
define SYN_LOG_LEVEL¶
Compile-time min level (0=TRACE..5=FATAL, 6=NONE)
define SYN_LOG_TIMESTAMP¶
Include [tick] timestamp in output
define SYN_SPINLOCK_COUNT¶
Number of spinlock IDs
define SYN_UART_MAX_INSTANCES¶
Max simultaneous UART handles
define SYN_UART_RX_BUF_SIZE¶
RX ring buffer size (bytes)
define SYN_UART_TX_BUF_SIZE¶
TX ring buffer size (bytes)
define SYN_USE_ACTUATOR¶
Linear actuator (requires: PID)
define SYN_USE_ADC¶
ADC with oversampling + calibration
define SYN_USE_AO¶
Active Object (requires: FSM)
define SYN_USE_AUTOTUNE¶
Motor auto-tuner (requires: MOTOR_CTRL)
define SYN_USE_BIQUAD¶
Biquad digital filter
define SYN_USE_BLAKE2S¶
BLAKE2s hash + keyed MAC (RFC 7693)
define SYN_USE_BOOT¶
Boot manager (crash recovery)
define SYN_USE_BUTTON¶
Button debouncer (requires: FSM)
define SYN_USE_CANVAS¶
Display canvas / framebuffer
define SYN_USE_CBOR¶
CBOR binary serializer
define SYN_USE_CHACHA20POLY1305¶
ChaCha20-Poly1305 AEAD (RFC 8439)
define SYN_USE_CLI¶
Command-line interface
define SYN_USE_COAP¶
CoAP protocol client
define SYN_USE_COBS¶
COBS packet framing
define SYN_USE_COREDUMP¶
Persistent core dump to flash (requires: FAULT, CRC)
define SYN_USE_DALI¶
DALI / IEC 62386 lighting stack
define SYN_USE_DATALOG¶
Data logger (ring buffer to flash)
define SYN_USE_DC_MOTOR¶
DC motor (H-bridge + ramp)
define SYN_USE_DMA¶
DMA port abstraction
define SYN_USE_DNS¶
DNS resolver
define SYN_USE_ENCODER¶
Rotary encoder (quadrature)
define SYN_USE_ERRLOG¶
Persistent error registry
define SYN_USE_ETHERCAT¶
EtherCAT bare-metal protocol stack
define SYN_USE_EVENT¶
Event flag groups (32-bit bitmask)
define SYN_USE_EXTI¶
GPIO interrupt dispatcher
define SYN_USE_FAT¶
FAT filesystem adapter (requires: VFS)
define SYN_USE_FAULT¶
Hard Fault diagnostics
define SYN_USE_FFT¶
Fast Fourier Transform (FFT)
define SYN_USE_FILTER¶
Digital filters (MA, EMA, Median)
define SYN_USE_FMT¶
Lightweight printf alternative
define SYN_USE_FSM¶
Table-driven finite state machine
define SYN_USE_GEO¶
WGS84 & 3D local ENU geodetic math
define SYN_USE_GPIO¶
GPIO pin control
define SYN_USE_HEARTBEAT¶
Heartbeat / keep-alive service
define SYN_USE_HPCLOCK¶
High-precision 64-bit system clock
define SYN_USE_HTTP¶
HTTP client
define SYN_USE_HTTPD¶
HTTP server (embedded web server)
define SYN_USE_HWWDT¶
Hardware watchdog timer
define SYN_USE_I2C_ASYNC¶
Async I2C transactions
define SYN_USE_IMGUI¶
Immediate-mode GUI
define SYN_USE_JSON¶
JSON reader/writer
define SYN_USE_LED¶
LED controller (blink/flash/pattern)
define SYN_USE_LFS¶
LittleFS adapter (requires: VFS)
define SYN_USE_LIN¶
LIN bus 2.1/2.2a & ISO 17987 stack
define SYN_USE_LOG¶
Logging system (requires: FMT)
define SYN_USE_MBUS¶
M-Bus (EN 13757-2/3) protocol engine
define SYN_USE_MENU¶
UI menu system
define SYN_USE_MODBUS¶
Modbus RTU slave (requires: CRC)
define SYN_USE_MOTOR_CTRL¶
Closed-loop motor controller (requires: PID)
define SYN_USE_MQTT¶
MQTT 3.1.1 client
define SYN_USE_MULTICORE¶
AMP multicore support
define SYN_USE_PARAM¶
Wear-leveled parameter store (requires: CRC)
define SYN_USE_PID¶
PID controller
define SYN_USE_PMBUS¶
PMBus 1.2/1.3 protocol & linear fmt
define SYN_USE_POOL¶
Fixed-size block memory pool
define SYN_USE_POWER¶
Power management (sleep/wake)
define SYN_USE_PROFILER¶
Task CPU profiler
define SYN_USE_PT¶
Protothreads (cooperative coroutines)
define SYN_USE_PUBSUB¶
Publish-subscribe message bus
define SYN_USE_RAMP¶
Ramp / slew rate generator
define SYN_USE_ROUTER¶
Network router / dispatcher
define SYN_USE_SCHED¶
Cooperative task scheduler
define SYN_USE_SCURVE¶
S-curve motion profile
define SYN_USE_SENSOR¶
Sensor polling framework
define SYN_USE_SEQUENCER¶
Timed action sequencer
define SYN_USE_SERVO¶
Hobby servo (pulse-width control)
define SYN_USE_SETTINGS¶
Settings manager (requires: PARAM, CRC)
define SYN_USE_SHA256¶
SHA-256 hash + HMAC-SHA256
define SYN_USE_SIGNAL¶
Signal statistics (sliding window)
define SYN_USE_SMBUS¶
SMBus 1.1/2.0/3.0 protocol engine
define SYN_USE_SNTP¶
SNTP time synchronization client
define SYN_USE_SOFT_PWM¶
Software PWM on any GPIO
define SYN_USE_SPI_ASYNC¶
Async SPI transactions
define SYN_USE_STEPPER¶
Stepper motor (step/dir + accel)
define SYN_USE_TICKLESS¶
Tickless idle scheduler (requires: SCHED, port sleep_until)
define SYN_USE_TIMER¶
Software timers (one-shot + periodic)
define SYN_USE_TIMESYNC¶
GPS/RTC time discipline service
define SYN_USE_TRACE¶
Event trace buffer
define SYN_USE_TRANSPORT_TCP¶
TCP transport layer
define SYN_USE_UART¶
Peripheral UARTs (Modbus, GPS, etc)
define SYN_USE_VFS¶
Virtual File System (VFS)
define SYN_USE_WATCHDOG¶
Task-level watchdog monitor
define SYN_USE_WEBSOCKET¶
WebSocket client
define SYN_USE_WG¶
WireGuard VPN client (requires: BLAKE2S, CHACHA20POLY1305, X25519, SNTP)
define SYN_USE_WORKQUEUE¶
Deferred work queue (ISR→main)
define SYN_USE_X25519¶
X25519 Diffie-Hellman (RFC 7748)
define SYN_WG_MTU¶
WireGuard tunnel MTU (inner payload)
The documentation for this class was generated from the following file src/syntropic/syn_config_template.h