v1.1b: Tweaked Bf reports, jogging doc, saved another 160 bytes, minor bug fixes
- Increment to v1.1b due to status report tweak. - Tweaked the buffer state status reports to show bytes and blocks available, rather than in use. This does not require knowing the buffer sizes beforehand. It’s implicit. - Also, since buffer states are not used by most devs (after inquiries), it is no longer enabled by default and a status mask option was added for this. - Fixed some typos and updated for the report tweak in the documentation. - Wrote a joystick implementation concept in the jogging markdown document. Outlines how to get a low-latency feel to a joystick (and other input devices). - Removed XON/XOFF support. It’s not used by anyone because of its inherent problems. Remains in older versions for reference. - Added a compile option on how to handle the probe position during a check mode. - Fixed a jogging bug. If G93 is the modal state before a jogging motion, the feed rate did not get calculated correctly. Fixed the issue. - Refactored some code to save another 160+ bytes. Included an improved float vector comparison macro and reducing a few large and repetitive function calls. - Fixed a probing bug (existing in v0.9 too) where the target positions were not set correct and error handling was improper.
This commit is contained in:
@ -1,3 +1,26 @@
|
||||
----------------
|
||||
Date: 2016-09-25
|
||||
Author: Sonny Jeon
|
||||
Subject: Addressed much larger flash size with avr-gcc v4.9.2. Refactored reports to save 160KB.
|
||||
|
||||
- The newest Arduino IDE 1.6.12 has recently updated to avr-gcc v4.9.2.
|
||||
Unfortunately, it produces a compiled size almost 0.7KB to 1KB larger
|
||||
than prior versions! This can easily cause the base build to exceed the
|
||||
Arduino Duemilanove/Nano flash limit of 30.5KB. The Arduino Uno seems
|
||||
to be ok still with its 31.5KB flash limit.
|
||||
|
||||
- Makefile `-flto` compile flag added to cut down on the horrible flash
|
||||
size when using the new avr-gcc. (Edit Makefile and remove comment on
|
||||
COMPILE definition). This brings it in-line with what the IDE produces.
|
||||
|
||||
- Functionalized repetitive tasks in report.c to try to reduce overall
|
||||
flash size. Successfully cut down about 160bytes.
|
||||
|
||||
- Removed printFloat_SettingValue() and printFloat_RPMValue()
|
||||
functions. These aren’t required and can be replaced with a direct call
|
||||
to printFloat() because they don’t require a unit conversion check.
|
||||
|
||||
|
||||
----------------
|
||||
Date: 2016-09-24
|
||||
Author: Sonny Jeon
|
||||
|
Reference in New Issue
Block a user