mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-12-14 14:31:33 +00:00
624986d423
The current Marlin implementation relies on a timer interrupt to start the ADC conversion and read it. However in some circumstances the interrupt can be delayed resulting in insufficient time being available for the ADC conversion. This results in a bad reading and false temperature fluctuations. These changes make sure that the conversion is complete (by checking the ADC hardware via the HAL) before reading a value. See: https://github.com/MarlinFirmware/Marlin/issues/11323 |
||
---|---|---|
.. | ||
endstop_interrupts.h | ||
fastio_Stm32f1.h | ||
HAL_Servo_Stm32f1.cpp | ||
HAL_Servo_Stm32f1.h | ||
HAL_spi_Stm32f1.cpp | ||
HAL_timers_Stm32f1.cpp | ||
HAL_timers_Stm32f1.h | ||
HAL.cpp | ||
HAL.h | ||
persistent_store_flash.cpp | ||
persistent_store_impl.cpp | ||
pinsDebug.h | ||
README.md | ||
SanityCheck.h | ||
spi_pins.h | ||
stm32f1_flag_script.py | ||
watchdog_Stm32f1.cpp | ||
watchdog_Stm32f1.h |
This HAL is for STM32F103 boards used with libmaple/stm32duino Arduino core.
This HAL is in development. Currently has been tested in Malyan M200 (103CBT6), Chitu 3d (103ZET6), and custom boards(103VET6).
The stm32 core needs a modification in the file util.h to avoid conflict with Marlin macros for Debug.
Since only 1 file needs change in the stm32duino core, it's preferable over making changes to Marlin.
After these lines: <> #else #define ASSERT_FAULT(exp) (void)((0)) #endif <>
Add the following 3 lines: <> #undef DEBUG_NONE #undef DEBUG_FAULT #undef DEBUG_ALL <>
Main developers:
Victorpv xC000005
Most up to date repository for this HAL:
https://github.com/victorpv/Marlin/tree/bugfix-2.0.x
PRs should only be sent to Marlin bugfix-2.0.x branch once tested in printing so not to introduce new bugs. For testing/dev, you can submit to the above branch