aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2023-05-20 16:49:48 -0400
committerKevin O'Connor <kevin@koconnor.net>2023-05-30 20:08:06 -0400
commit23bbbaa21bc39dfb7ab7c315b4268bb9973a116f (patch)
treef0f28d7b4caf478bdf81978216a4f772c52c76c1
parent81e4636f429271ab2fb9582b68a2c41c09ac77e4 (diff)
downloadkutter-23bbbaa21bc39dfb7ab7c315b4268bb9973a116f.tar.gz
kutter-23bbbaa21bc39dfb7ab7c315b4268bb9973a116f.tar.xz
kutter-23bbbaa21bc39dfb7ab7c315b4268bb9973a116f.zip
Kconfig: Change default CANbus frequency to 1000000
Change the default CANbus frequency from 500000 to 1000000. A higher frequency allows for greater data transfer rates, lower latency of messages, and should overall be more robust. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--docs/Config_Changes.md6
-rw-r--r--src/Kconfig2
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md
index 37242ae1..5b7b5aef 100644
--- a/docs/Config_Changes.md
+++ b/docs/Config_Changes.md
@@ -8,6 +8,12 @@ All dates in this document are approximate.
## Changes
+20230530: The default canbus frequency in "make menuconfig" is
+now 1000000. If using canbus and using canbus with some other
+frequency is required, then be sure to select "Enable extra low-level
+configuration options" and specify the desired "CAN bus speed" in
+"make menuconfig" when compiling and flashing the micro-controller.
+
20230525: `SHAPER_CALIBRATE` command immediately applies input shaper
parameters if `[input_shaper]` was enabled already.
diff --git a/src/Kconfig b/src/Kconfig
index 8084335e..cc557fb7 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -95,7 +95,7 @@ config CANBUS
default y if CANSERIAL || USBCANBUS
config CANBUS_FREQUENCY
int "CAN bus speed" if LOW_LEVEL_OPTIONS && CANBUS
- default 500000
+ default 1000000
config CANBUS_FILTER
bool
default y if CANSERIAL