aboutsummaryrefslogtreecommitdiffstats
path: root/src/Kconfig
Commit message (Collapse)AuthorAgeFilesLines
* Rename everything significant to Kutter except for docsTomasz Kramkowski2025-08-151-1/+1
|
* load_cell_probe: Create load_cell_probe MCU objectGareth Farrington2025-05-291-1/+5
| | | | | | Implement MCU features that enable using an adc to stop an axis Signed-off-by: Gareth Farrington <gareth@waves.ky>
* sos_filter: Second Order Sections MCU FilterGareth Farrington2025-05-291-0/+4
| | | | | | | | | | This is an implementation of the SOS fliltering algorithm that runs on the MCU. The filter opperates on data in fixed point format to avoid use of the FPU as klipper does not support FPU usage. This host object handles duties of initalizing and resetting the filter so client dont have to declare their own commands for these opperations. Clients can select how many integer bits they want to use for both the filter coefficients and the filters output value. An arbitrary number of filter sections can be configured. Filters can be designed on the fly with the SciPy library or loaded from another source. Signed-off-by: Gareth Farrington <gareth@waves.ky>
* Kconfig: Note which chips require software divide operationsKevin O'Connor2025-04-171-0/+2
| | | | | | | Add a new HAVE_SOFTWARE_DIVIDE_REQUIRED that indicates which chips require software divide. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Add some user visible comments to the optional features menuKevin O'Connor2025-04-161-7/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Add new WANT_ADC option to reduce code sizeKevin O'Connor2025-04-161-0/+7
| | | | | | | Make it possible to not compile in support for ADC on chips with small flash sizes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Add new WANT_I2C option to reduce code sizeKevin O'Connor2025-04-161-15/+22
| | | | | | | Make it possible to not compile in support for I2C on chips with small flash sizes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Add new WANT_SPI option to reduce code sizeKevin O'Connor2025-04-161-17/+24
| | | | | | | Make it possible to not compile in support for SPI on chips with small flash sizes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Add new WANT_HARD_PWM option to reduce code sizeKevin O'Connor2025-04-161-0/+7
| | | | | | | Make it possible to not compile in support for hardware pwm on chips with small flash sizes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Replace WANT_DISPLAYS with individual optionsKevin O'Connor2025-04-161-3/+10
| | | | | | Support setting WANT_ST7920 and WANT_HD44780 individually. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Replace WANT_GPIO_BITBANGING with individual optionsKevin O'Connor2025-04-161-5/+26
| | | | | | | | Support setting individual options instead of one global option ( WANT_BUTTONS, WANT_TMCUART, WANT_NEOPIXEL, WANT_PULSE_COUNTER, WANT_HX71X). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Support disabling optimized "step on both edges" in "make menuconfig"Kevin O'Connor2025-03-201-8/+23
| | | | | | | Add a new "low level option" to allow users to configure if they want to optimize for Trinamic drivers or traditional stepper motor drivers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Support step on both edges with custom minimum pulse durationKevin O'Connor2025-03-201-1/+1
| | | | | | | | | | Add support for "step on both edges" to the main stepper_event_full() code. This makes that mode of operation available even when the micro-controller is not compiled for "optimized step on both edges". It also enables the custom pulse duration support (step_pulse_ticks) when in "step on both edges" mode. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* icm20948: Add support for ICM20948 accelerometer (#6756)Paul Hansel2025-03-041-1/+8
| | | Signed-off-by: Paul Hansel <github@paulhansel.com>
* Kconfig: Simplify WANT_XXX definitionsKevin O'Connor2024-12-121-23/+21
| | | | | | | | | | | | | Use WANT_ADXL345 and WANT_MPU9250 instead of WANT_SENSOR_ADXL345 and WANT_SENSOR_MPU9250. This makes these definitions similar to the other accelerometer defintions. Order menu so accelerometers are close to each other in the menu. Simplify Makefile as Kconfig already assures a symbol will only be defined if its dependencies are met. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: split sensorsTimofey Titovets2024-12-121-7/+30
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* rp2040: Initial rp2350 supportKevin O'Connor2024-11-141-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Rename CONFIG_RP2040_yyy Kconfig symbols to CONFIG_RPXXXX_yyyKevin O'Connor2024-11-131-1/+1
| | | | | | | Rename the Kconfig symbols. This is in preparation to adding support for the rp2350 mcu. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sensor_lis2dw: add lis3dh sensor and i2c communicationWulfsta2024-11-121-3/+3
| | | | Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
* Kconfig: Remove references to manufacturers in KconfigKevin O'Connor2024-10-281-2/+2
| | | | | | | | Avoid referring to particular board manufacturers in "make menuconfig". This information becomes rapidly outdated and is sometimes viewed by competing manufacturers as being unfair. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ads1220: Add ADS1220 bulk sensor to load_cellGareth Farrington2024-07-311-1/+9
| | | | | | Add support for the ADS1220 as an alternative to HX71x that supports SPI and higher sample rates. Signed-off-by: Gareth Farrington <gareth@waves.ky>
* hx71x: Load Cell Skeleton and HX71x bulk ADCGareth Farrington2024-07-311-1/+8
| | | | | | | * Create the load_cell host module skeleton to create the sensors and start taking samples. * Add support for the HX717 and HX711 ADC sensors. Signed-off-by: Gareth Farrington <gareth@waves.ky>
* sensor_ldc1612: Initial support for bulk reading ldc1612 sensorKevin O'Connor2024-04-091-1/+8
| | | | | Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sensor_bulk: New C file with helper code for sending bulk sensor measurementsKevin O'Connor2024-01-191-0/+4
| | | | | | | | | | Refactor the low-level "bulk sensor" management code in the mcu. This updates the sensor_adxl345.c, sensor_mpu9250.c, sensor_lis2dw.c, and sensor_angle.c code to use the same "bulk sensor" messages. All of these sensors will now send "sensor_bulk_data" and "sensor_bulk_status" messages. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Support Enable/Disable lis2dw on chips with small flash sizebigtreetech2023-08-211-0/+7
| | | | Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com
* Kconfig: Support selecting optional features on chips with small flash sizeKevin O'Connor2023-06-081-2/+42
| | | | | | | | | | | | | Add a new HAVE_LIMITED_CODE_SIZE symbol that enables a menu to select optional features. This symbol is enabled on chips with small build sizes. Replace the HAVE_GPIO_BITBANGING with four new symbols: WANT_GPIO_BITBANGING, WANT_DISPLAYS, WANT_SENSORS, WANT_SOFTWARE_SPI, and WANT_SOFTWARE_I2C. This allows users a little more flexibility when selecting features they need. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Change default CANbus frequency to 1000000Kevin O'Connor2023-05-301-1/+1
| | | | | | | | 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>
* atsamd: Add support for SAMC21Wulfsta2023-05-011-1/+1
| | | | Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
* ar100: Support for ar100 (#6054)Elias Bakken2023-02-201-0/+3
| | | | | Add files to support AR100 Signed-off-by: Elias Bakken <elias@iagent.no>
* stm32: Add sdio supportH. Gregor Molter2023-02-201-0/+2
| | | | | | | | Adds sdio support for the stm32f4 to allow for SD card flash updates without power cycling some boards, e.g. BTT Octopus Pro. Signed-off-by: H. Gregor Molter <gregor.molter@secretlab.de> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hc32f460: Add support for hc32f460 micro-controllersSteven Gotthardt2023-02-131-0/+3
| | | | Signed-off-by: Steven Gotthardt <gotthardt@gmail.com>
* serial_irq: Rename SERIAL_BOOTLOADER_SIDECHANNEL to HAVE_BOOTLOADER_REQUESTKevin O'Connor2022-12-301-2/+2
| | | | | | | Rename the build symbol. This is in preparation for enabling HAVE_BOOTLOADER_REQUEST on usb and canbus. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: No need to specify "default n" in main Kconfig fileKevin O'Connor2022-12-301-10/+0
| | | | | | | A "bool" option already defaults to "n" so no need to state that explicitly. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Add Kconfig definitions for same51j19 and same54p20 chipsKevin O'Connor2022-10-131-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serial_irq: Support side channel for entering bootloaderKevin O'Connor2022-09-051-0/+2
| | | | | | Add a mechanism to request the bootloader when using serial input. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Use new CONFIG_USB to determine if USB needs to be configuredKevin O'Connor2022-08-161-2/+5
| | | | | | | | | | | | Introduce a CONFIG_USB build symbol that is set whenever CONFIG_USBSERIAL or CONFIG_USBCANBUS is set. Use that symbol during setup so that the USB controller is properly initialized for both usb serial and usb canbus bridge configurations. This fixes the clock configuration for usb canbus bridge mode on stm32f446. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* usb_canbus: Initial support for USB to CAN bridge modeKevin O'Connor2022-06-271-5/+7
| | | | | | | Support a USB interface that shows up as a canbus adapter to linux. Route both local and real canbus packets over that interface. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* canserial: Rename canbus.c to canserial.cKevin O'Connor2022-06-271-1/+4
| | | | | | | | | | Rename the canbus.c code to canserial.c and introduce new wrapper functions in canbus.c that connect the low-level canbus hardware code to the high-level canserial.c code. This is in preparation for adding "usb to canbus bridge mode". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add support for disabling the canbus filterKevin O'Connor2022-06-271-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Move SERIAL, USBSERIAL, and CANSERIAL definitions to src/KconfigKevin O'Connor2022-06-161-0/+6
| | | | | | There is no need to define these options in every board Kconfig file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* canbus: Move canbus uuid calculation to canbus.cKevin O'Connor2022-06-161-6/+7
| | | | | | | | Move the uuid hash calculation to canbus.c and call canbus_set_uuid() from src/stm32/chipid.c . This simplifies the low-level canbus hardware code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Move CANBUS_FREQUENCY definition from src/stm32/Kconfig to src/KconfigKevin O'Connor2022-06-041-0/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Add support for SAM E70Alex Maclean2022-03-261-1/+1
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* stepper: Add support for stepping on both edges of a step pulseKevin O'Connor2021-11-041-0/+3
| | | | | | | | | | Add an optimized step function for drivers that support stepping on both rising and falling edges of the step pin. Enable this optimization on 32bit ARM micro-controllers. Automatically detect this capability in the host code and enable on TMC drivers running in SPI/UART mode. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Make step pulse duration customizable at run-timeKevin O'Connor2021-11-041-25/+0
| | | | | | | | | | | | Remove the STEP_DELAY Kconfig option and replace it with a per-stepper step_pulse_duration printer.cfg config option. The AVR code will continue to have optimized code to step and "unstep" in the same function (which is automatically activated when the step delay is 40 ticks or less). This change removes the Kconfig option for single function step/unstep on 32bit processors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Add initial support for the rp2040 mcuKevin O'Connor2021-07-041-0/+3
| | | | | | | Support the rp2040 (as tested on a Raspberry Pi Pico board). This adds basic uart, timer, gpio, and watchdog support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Only show the "usb ids" menu if low-level options are enabledKevin O'Connor2020-05-311-7/+10
| | | | | | It's rare to customize the usb ids, so make it a "low-level" option. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Change the default usb vendor/product idKevin O'Connor2020-05-311-2/+2
| | | | | | | Change the product/vendor id to 0x1d50/0x614e, which has been reserved for Klipper (thanks to the openmoko project). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Kconfig: Add a new CONFIG_HAVE_STRICT_TIMING build definitionKevin O'Connor2020-05-311-0/+3
| | | | | | | | Add a new build definition to note micro-controllers that have strict timing. The Linux mcu code does not have strict timing - all other targets currently do. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32f0: Remove hal based stm32f0 implementationEug Krashtan2020-01-141-3/+0
| | | | | Signed-off-by: Eug Krashtan <eug.krashtan@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>