aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* stm32: Adding support for STM32F031x6 (#3871)Elias Bakken2021-02-034-7/+26
| | | | | | | Add support for alt usart 1 Do not select all functions on 16 K mcu Signed-off-by: Elias Bakken <elias@iagent.no>
* test: Add printer-creality-ender3max-2021.cfg to printers.testKevin O'Connor2021-02-021-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add printer config for the Ender 3 Max by Creality3D (#3879)Chad Schwieterman2021-02-021-0/+150
| | | | | Added Ender 3 Max config. Based off the configs from ender6, ender3-v2, and ender3. Also contains optional BLTouch parameters. Signed-off-by: Chad Schwieterman <chad.devops@gmail.com>
* canbus: Move high-level CAN code to new src/generic/canbus.cKevin O'Connor2021-02-026-192/+323
| | | | | | | | | | Separate out the high-level command processing logic from the low-level transmission code. Place the high-level code in src/generic/canbus.c . This also removes the CAN dependency on serial_irq.c . Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Simplify can.c irq handlerKevin O'Connor2021-02-021-127/+130
| | | | | | | Don't perform any heavy tasks in the CAN interrupt handler - just notify a background task to handle anything pending. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Use CAN_TSR_CODE to select next tx fifo in can.cKevin O'Connor2021-02-021-6/+2
| | | | | | | | | | The spec states that the TX fifo is transmitted in chronological order if the TXFP bit is set, but it's unclear if the software needs to fill the tx fifo in a particular order to obtain that result. Use the TSR CODE bit field to fill the TX fifo in the order that the hardware reports as next. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Avoid read+write modify instructions in can.cKevin O'Connor2021-02-021-24/+13
| | | | | | | | | Prefer explicitly setting the hardware registers and avoid using C read and modify instructions where possible. This avoids race conditions where an interrupt or hardware change could cause subtle corruption of the register state. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Introduce new can_set_filter() helper function in can.cKevin O'Connor2021-02-021-40/+32
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Update can.c to use more consistent indentationKevin O'Connor2021-02-021-146/+143
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ds18b20: new module for 1-wire temperature sensor (#3462)Alan Lord2021-02-025-2/+372
| | | | | | | | | Initial commit of code to support 1-wire (Dallas) sensors such as the DS18B20. Requires Linux kernel drivers to create a file in /sysfs which is read by this module, and temperature typically returned to a temperature_fan. Signed-off-by: Alan Lord <alanslists@gmail.com> Signed-off-by: Josh Headapohl <joshhead@gmail.com>
* temperature_fan: Add MAX_SPEED and MIN_SPEED to SET_TEMPERATURE_FAN_TARGET ↵Lane Roberts2021-02-022-8/+36
| | | | | | | command (#3873) Allows setting min_speed and max_speed at runtime, rather than updating the config and restarting. Signed-off-by Lane Roberts <nolatari@vandarin.net>
* docs: Some clarifications for resonances measurements and tuningDmitry Butyugin2021-02-021-17/+31
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* resonance_tester: Increase test max_accel to 10K and max_freq to 133 HzDmitry Butyugin2021-02-022-4/+5
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* resonance_tester: Disable input shaping for resonance testingDmitry Butyugin2021-02-024-13/+29
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* adxl345: Add accelerometer chip name to the raw data file nameDmitry Butyugin2021-02-023-10/+20
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* workflows: Update stale-issue-bot.yaml to also close invalid ticketsKevin O'Connor2021-02-021-1/+12
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* workflows: Add invalid-label-bot.yaml script to warn on invalid ticketsKevin O'Connor2021-02-021-0/+40
| | | | | | | Add a tool to add a comment on any issue that has the invalid label added to it. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialqueue: Improve checking of out-of-order messagesKevin O'Connor2021-02-011-15/+23
| | | | | | | Consider any message block that acks a message never sent as an out-of-order block and discard it. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* htu21d: Implement support for min_temp/max_temp checksKevin O'Connor2021-02-011-2/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bme280: Implement support for min_temp/max_temp checksKevin O'Connor2021-02-011-1/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Fix bug in sercom_pads mapping on samd21 in sercom.cKevin O'Connor2021-02-011-1/+1
| | | | | | Reported by @tech2077. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_temperature: Improve handling of min_temp/max_temp overflowsKevin O'Connor2021-02-011-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lm75: Implement support for min_temp/max_temp checksKevin O'Connor2021-02-011-2/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lm75: Use getfloat() for reading the lm75_report_time parameterKevin O'Connor2021-02-011-10/+4
| | | | | | Reported by @theopensourcer. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Support for STM32F401 (#3853)smark-2021-01-313-9/+17
| | | | | This module adds support for the STM32F401 microcontrollers Signed-off-by: Marco D'Alessio <marco@wrecklab.com>
* hd44780: Add hd44780 protocol init configThomas Kroll2021-01-312-1/+11
| | | | | | | LDO OLED needs a different init string. Fixes: #3722 Signed-off-by: Thomas Kroll <t.kroll@outlook.com>
* docs: Updates to Contact.md and use of github issuesKevin O'Connor2021-01-313-49/+176
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* htu21d: Fix time reporting of temperature measurementsKevin O'Connor2021-01-241-1/+2
| | | | | | The temperature callback takes a "print time" not a "system time". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rpi_temperature: Fix time reporting of temperature measurementsKevin O'Connor2021-01-241-1/+2
| | | | | | The temperature callback takes a "print time" not a "system time". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_mcu: Improve handling when in debug output modeKevin O'Connor2021-01-241-0/+2
| | | | | | | Call mcu_adc.setup_minmax() even in debug output mode so that the debugging output contains a more accurate configuration. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bme280: Disable bme280 when using debug outputKevin O'Connor2021-01-241-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rpi_temperature: Fix missing get_report_time_delta() callbackKevin O'Connor2021-01-241-0/+3
| | | | | | Reported by @ronald5555. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rpi_temperature: Disable rpi_temperature when using debug outputKevin O'Connor2021-01-241-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rpi_temperature: Minor formatting changesKevin O'Connor2021-01-241-19/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_mcu: Disable the temperature_mcu when using debug outputKevin O'Connor2021-01-241-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Remove python-virtualenv from install scripts on debian type distrosKevin O'Connor2021-01-243-3/+3
| | | | | | | The python-virtualenv package is no longer present on modern distros and the dependency is not needed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* test: Add printer-creality-cr6se-2020.cfg to printers.testKevin O'Connor2021-01-242-4/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add base configuration file for Creality CR6-SE (#3708)KoeRt8882021-01-241-0/+120
| | | Signed-off-by: Carlo Hoffmann <KoeRtGit@outlook.com>
* docs: Add a link in Overview.md to Bed_Mesh.mdKevin O'Connor2021-01-241-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* menu: Update menu.cfg sd_card menu enable condition (#3826)Chip2021-01-241-5/+35
| | | | | Change SD card enable condition and add Cancel printing option. Signed-off-by: John Smith <login721@gmail.com>
* stm32f1: Fix for using 16MHz external crystal (#3814)Matt Shepcar2021-01-241-2/+7
| | | Signed-off-by: Matt Shepcar <matt@shepcar.co.uk>
* Docs: resonance testing fixup (#3804)Jarad Olson2021-01-241-3/+8
| | | | | | Chip names are now correct for bed slingers. Added some notes about testing with >1 chip Signed-off-by: Jarad Olson <brotherdust@gmail.com>
* hall_filament_width_sensor: Fix race condition (#3790)Pascal P2021-01-222-2/+10
| | | | | | Fix race condition of filament width sensor Added fix to similar code of TSL1401CL filament width sensor Signed-off-by: Pascal Pieper <accounts@pascalpieper.de>
* configfile: Add printer.configfile.settings command template parameterKevin O'Connor2021-01-202-13/+24
| | | | | | | Make available the parsed value (or default value) for config options to command templates and to the api server. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode_macro: Use deepcopy() on get_status() resultsKevin O'Connor2021-01-204-9/+8
| | | | | | | | | If a get_status() method returns a mutable object (such as a list or dict) then it would be possible for a gcode command template to incorrectly alter the program's internal state. Perform a deepcopy() operation on all get_status() return results to avoid that. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Warn about prusa einsy boards in generic-einsy-rambo.cfgKevin O'Connor2021-01-201-0/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Add a get_status() callback with micro-controller info and statsKevin O'Connor2021-01-192-6/+26
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add comments to known skr boards with broken thermistor circuitsKevin O'Connor2021-01-185-0/+15
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Support setting the stm32f0 internal clock trim valueKevin O'Connor2021-01-182-1/+11
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* winch: Improve python3 compatibilityKevin O'Connor2021-01-171-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>