aboutsummaryrefslogtreecommitdiff
path: root/pw_system/public/pw_system/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'pw_system/public/pw_system/config.h')
-rw-r--r--pw_system/public/pw_system/config.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/pw_system/public/pw_system/config.h b/pw_system/public/pw_system/config.h
index e7021eb03..1dc3c3cbd 100644
--- a/pw_system/public/pw_system/config.h
+++ b/pw_system/public/pw_system/config.h
@@ -24,16 +24,17 @@
// PW_SYSTEM_MAX_LOG_ENTRY_SIZE limits the proto-encoded log entry size. This
// value might depend on a target interface's MTU.
//
-// Defaults to 512B.
+// Defaults to 256B.
#ifndef PW_SYSTEM_MAX_LOG_ENTRY_SIZE
-#define PW_SYSTEM_MAX_LOG_ENTRY_SIZE 512
+#define PW_SYSTEM_MAX_LOG_ENTRY_SIZE 256
#endif // PW_SYSTEM_MAX_LOG_ENTRY_SIZE
// PW_SYSTEM_MAX_TRANSMISSION_UNIT target's MTU.
//
-// Defaults to 512B.
+// Defaults to 1055 bytes, which is enough to fit 512-byte payloads when using
+// HDLC framing.
#ifndef PW_SYSTEM_MAX_TRANSMISSION_UNIT
-#define PW_SYSTEM_MAX_TRANSMISSION_UNIT 512
+#define PW_SYSTEM_MAX_TRANSMISSION_UNIT 1055
#endif // PW_SYSTEM_MAX_TRANSMISSION_UNIT
// PW_SYSTEM_DEFAULT_CHANNEL_ID RPC channel ID to host.
@@ -50,6 +51,14 @@
#define PW_SYSTEM_DEFAULT_RPC_HDLC_ADDRESS 82
#endif // PW_SYSTEM_DEFAULT_RPC_HDLC_ADDRESS
+// PW_SYSTEM_ENABLE_THREAD_SNAPSHOT_SERVICE specifies if the thread snapshot
+// RPC service is enabled.
+//
+// Defaults to 1.
+#ifndef PW_SYSTEM_ENABLE_THREAD_SNAPSHOT_SERVICE
+#define PW_SYSTEM_ENABLE_THREAD_SNAPSHOT_SERVICE 1
+#endif // PW_SYSTEM_ENABLE_THREAD_SNAPSHOT_SERVICE
+
// PW_SYSTEM_WORK_QUEUE_MAX_ENTRIES specifies the maximum number of work queue
// entries that may be staged at once.
//