mirror of
https://github.com/grblHAL/core.git
synced 2026-03-23 11:32:44 +08:00
Increased preprocessor support for up to 16 auxiliary input pins, used by STM32* drivers.
This commit is contained in:
18
changelog.md
18
changelog.md
@@ -1,5 +1,21 @@
|
||||
## grblHAL changelog
|
||||
|
||||
<a name="20241210"> Build 20241210
|
||||
|
||||
Core:
|
||||
|
||||
* Increased preprocessor support for up to 16 auxiliary input pins, used by STM32* drivers.
|
||||
|
||||
Drivers:
|
||||
|
||||
* STM32F4xx: fix for Superlongboard \(SLB\) not enabling stepper drivers after E-Stop.
|
||||
|
||||
Plugins:
|
||||
|
||||
* Motors: added API call for reinitializing stepper drivers.
|
||||
|
||||
---
|
||||
|
||||
<a name="20241208"> Build 20241208
|
||||
|
||||
Core:
|
||||
@@ -12,7 +28,7 @@ When this option is selected setting `$24` and $`25` will be disabled and new ax
|
||||
`$18<n>` replaces `$24` and `$19<n>` replaces `$25`. `<n>` is the axis number; `0` for X, `1` for Y, ...
|
||||
__NOTE:__ if axes are set up for simultaneous homing and they do not have the same feedrates they will be homed separately.
|
||||
__NOTE:__ `$18<n>` and `$19<n>` were previousely implemented by the Trinamic motor plugin, the implementation is now in the core.
|
||||
__NOTE:__ core settings will now overflow the legacy 1024 byte boundary when > 5 axes are configured, in the previous version when > 6 axes were configured..
|
||||
__NOTE:__ core settings will now overflow the legacy 1024 byte boundary when > 5 axes are configured, in the previous version when > 6 axes were configured.
|
||||
|
||||
Drivers:
|
||||
|
||||
|
||||
2
grbl.h
2
grbl.h
@@ -42,7 +42,7 @@
|
||||
#else
|
||||
#define GRBL_VERSION "1.1f"
|
||||
#endif
|
||||
#define GRBL_BUILD 20241208
|
||||
#define GRBL_BUILD 20241210
|
||||
|
||||
#define GRBL_URL "https://github.com/grblHAL"
|
||||
|
||||
|
||||
@@ -642,10 +642,52 @@ static inline void aux_ctrl_claim_out_ports (aux_claim_explicit_out_ptr aux_clai
|
||||
#else
|
||||
#define AUXINPUT7_BIT 0
|
||||
#endif
|
||||
#ifdef AUXINPUT8_PIN
|
||||
#define AUXINPUT8_BIT (1<<AUXINPUT8_PIN)
|
||||
#else
|
||||
#define AUXINPUT8_BIT 0
|
||||
#endif
|
||||
#ifdef AUXINPUT9_PIN
|
||||
#define AUXINPUT9_BIT (1<<AUXINPUT9_PIN)
|
||||
#else
|
||||
#define AUXINPUT9_BIT 0
|
||||
#endif
|
||||
#ifdef AUXINPUT10_PIN
|
||||
#define AUXINPUT10_BIT (1<<AUXINPUT10_PIN)
|
||||
#else
|
||||
#define AUXINPUT10_BIT 0
|
||||
#endif
|
||||
#ifdef AUXINPUT11_PIN
|
||||
#define AUXINPUT11_BIT (1<<AUXINPUT11_PIN)
|
||||
#else
|
||||
#define AUXINPUT11_BIT 0
|
||||
#endif
|
||||
#ifdef AUXINPUT12_PIN
|
||||
#define AUXINPUT12_BIT (1<<AUXINPUT12_PIN)
|
||||
#else
|
||||
#define AUXINPUT12_BIT 0
|
||||
#endif
|
||||
#ifdef AUXINPUT13_PIN
|
||||
#define AUXINPUT13_BIT (1<<AUXINPUT13_PIN)
|
||||
#else
|
||||
#define AUXINPUT13_BIT 0
|
||||
#endif
|
||||
#ifdef AUXINPUT14_PIN
|
||||
#define AUXINPUT14_BIT (1<<AUXINPUT14_PIN)
|
||||
#else
|
||||
#define AUXINPUT14_BIT 0
|
||||
#endif
|
||||
#ifdef AUXINPUT15_PIN
|
||||
#define AUXINPUT15_BIT (1<<AUXINPUT15_PIN)
|
||||
#else
|
||||
#define AUXINPUT15_BIT 0
|
||||
#endif
|
||||
|
||||
#ifndef AUXINPUT_MASK
|
||||
#define AUXINPUT_MASK (AUXINPUT0_BIT|AUXINPUT1_BIT|AUXINPUT2_BIT|AUXINPUT3_BIT|AUXINPUT4_BIT|AUXINPUT5_BIT|AUXINPUT6_BIT|AUXINPUT7_BIT)
|
||||
#define AUXINPUT_MASK_SUM (AUXINPUT0_BIT+AUXINPUT1_BIT+AUXINPUT2_BIT+AUXINPUT3_BIT+AUXINPUT4_BIT+AUXINPUT5_BIT+AUXINPUT6_BIT+AUXINPUT7_BIT)
|
||||
#define AUXINPUT_MASK (AUXINPUT0_BIT|AUXINPUT1_BIT|AUXINPUT2_BIT|AUXINPUT3_BIT|AUXINPUT4_BIT|AUXINPUT5_BIT|AUXINPUT6_BIT|AUXINPUT7_BIT|\
|
||||
AUXINPUT8_BIT|AUXINPUT9_BIT|AUXINPUT10_BIT|AUXINPUT11_BIT|AUXINPUT12_BIT|AUXINPUT13_BIT|AUXINPUT4_BIT|AUXINPUT15_BIT)
|
||||
#define AUXINPUT_MASK_SUM (AUXINPUT0_BIT+AUXINPUT1_BIT+AUXINPUT2_BIT+AUXINPUT3_BIT+AUXINPUT4_BIT+AUXINPUT5_BIT+AUXINPUT6_BIT+AUXINPUT7_BIT+\
|
||||
AUXINPUT8_BIT+AUXINPUT9_BIT+AUXINPUT10_BIT+AUXINPUT11_BIT+AUXINPUT12_BIT+AUXINPUT13_BIT+AUXINPUT4_BIT+AUXINPUT15_BIT)
|
||||
#endif
|
||||
|
||||
/*EOF*/
|
||||
|
||||
Reference in New Issue
Block a user