diff options
author | David Crocker <dcrocker@eschertech.com> | 2017-06-23 01:01:47 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2017-06-23 01:02:03 +0300 |
commit | 811de41a7d1083d6871de332717117ae57daa1c5 (patch) | |
tree | 674557ac03558f90dc5f679c157814971d8893b2 /src/Platform.h | |
parent | e2aad9a81ab09087151f89153d506cf33ab32a63 (diff) |
Version 1.19beta7
New features:
- M291 command is provided to display a message box with options for
timeout, acknowledgement and Z jog buttons
- M292 command is provided to acknowledge M291 messages
- Manual delta calibration and bed compensation is supported (use P0 in
the M558 command to indicate that there is no Z probe)
- Minimum value for S parameter (maximum heater PWM) in M307 command is
reduced from 20% to 1%
- Core XYU kinematics are now supported (thanks Lars)
- RADDS build now supports 9 motors (thanks Tom)
- If a homing move uses parameter S3 instead of S1 then the axis minimum
or maximum value is set to the current position instead of vice versa
- M589 with no parameters now reports the Duet's own SSID
- M589 S"*" now deletes the Duet WiFi's own access point details
Bug fixes:
- Tool X offsets are now applied on the next move even if it has no Z
parameter
- The tool change restore point coordinates now take account of X axis
mapping
- M588 P"*" command (forget all access points) now works
- On the Duet WiFi, after using M589 to set up access point parameters,
when M552 S2 was sent to start the WiFi module in AP mode it reported
"WiFi reported error: invalid access point configuration". The fix also
needs DuetWiFiServer version 1.19beta7.
- On a delta printer the effector height is limited to reachable values
Areas of code refactored (so watch out for new bugs):
- G30 bed probing
- Baby stepping
- Tool offset implementation
Upgrade notes:
- SSIDs and passwords in M587, M588 and M589 commands must now be
enclosed in double quotes
- Height map filenames in G29, M374 and M375 commands must now be
enclosed in double quotes
- On a Duet WiFi you should also upgrade DuetWiFiServer.bin to version
1.19beta7. You do not need to perform a simultaneous upgrade, but M587
and M589 reporting functionality won't work correctly if your
DuetWiFiFirmware and DuetWiFiServer versions are out of step.
Diffstat (limited to 'src/Platform.h')
-rw-r--r-- | src/Platform.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Platform.h b/src/Platform.h index 5c7a5685..3532c18b 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -390,6 +390,7 @@ public: void MessageF(const MessageType type, const char *fmt, ...); void MessageF(const MessageType type, const char *fmt, va_list vargs); bool FlushMessages(); // Flush messages to USB and aux, returning true if there is more to send + void SendAlert(MessageType mt, const char *messageBuffer, int sParam, float tParam, bool zParam); // Movement @@ -1229,7 +1230,8 @@ inline float Platform::AdcReadingToPowerVoltage(uint16_t adcVal) // The PC and PD bit numbers don't overlap, so we use their actual positions. // PA0 clashes with PD0, so we use bit 1 to represent PA0. // RADDS: -// Step pins are distributed over all 4 ports, but they are in different bit positions except for port C +// Step pins are PA2,9,12,15 PB16,19 PC3,12 PD6 +// PC12 clashes with PA12 so we shift PC3,12 left one bit // Calculate the step bit for a driver. This doesn't need to be fast. /*static*/ inline uint32_t Platform::CalcDriverBitmap(size_t driver) @@ -1241,7 +1243,7 @@ inline float Platform::AdcReadingToPowerVoltage(uint16_t adcVal) return (pinDesc.pPort == PIOC) ? pinDesc.ulPin << 1 : pinDesc.ulPin; #elif defined(__ALLIGATOR__) return pinDesc.ulPin; -#else +#else // Duet 06/085 return (pinDesc.pPort == PIOA) ? pinDesc.ulPin << 1 : pinDesc.ulPin; #endif } @@ -1262,7 +1264,7 @@ inline float Platform::AdcReadingToPowerVoltage(uint16_t adcVal) PIOB->PIO_ODSR = driverMap; PIOD->PIO_ODSR = driverMap; PIOC->PIO_ODSR = driverMap; -#else // Duet +#else // Duet 06/085 PIOD->PIO_ODSR = driverMap; PIOC->PIO_ODSR = driverMap; PIOA->PIO_ODSR = driverMap >> 1; // do this last, it means the processor doesn't need to preserve the register containing driverMap |