teemuatlut
fbcdf5eaeb
Simplify stepper driver per-axis selection
2018-07-25 02:47:43 -05:00
teemuatlut
f38c81cdde
LPC176x: Expand HW SPI class
2018-07-14 19:06:27 +03:00
teemuatlut
3b5dec4b13
Add new LPC include folder
2018-07-14 18:58:56 +03:00
Chris Pepper
55f4744e54
[LPC176x] Endstop Interrupts Feature ( #11202 )
...
Enable the endstop interrupts feature for LPC176x boards. Although Smoothieboard chose to use non-interrupt capable pins for their endstops, and this has been copied by clones, so they can't use it.
2018-07-04 17:51:45 -05:00
Chris Pepper
5abf5bc8a7
[LPC176x] Fix Interrupt forward declarations ( #11200 )
2018-07-04 17:43:14 -05:00
Chris Pepper
5616581eb1
[LPC176x] Update fastio _GET_INPUT, _GET_OUTPUT macros ( #11168 )
2018-07-01 23:02:38 -05:00
Scott Lahteine
d86f25ab63
Fix Serial ISR priority for LPC1768
...
Co-Authored-By: p3p <p3p@p3psoft.co.uk>
2018-06-25 12:15:41 -04:00
Scott Lahteine
99591dc20c
Filter endstops state at all times ( #11066 )
2018-06-21 20:14:16 -05:00
Chris Pepper
0312c42f9d
[2.0.x] LPC176x Serial cleanup ( #11032 )
2018-06-16 20:59:22 -05:00
Chris Pepper
f88adcbfd5
[2.0.x][LPC176x] Fix binary linking broken by pio update ( #11026 )
2018-06-15 15:32:51 -05:00
etagle
a215725df6
Fix stepper pulse timing
...
Always honor minimum period on stepper pulse generation, and fix timing calculations
Signed-off-by: etagle <ejtagle@hotmail.com>
2018-06-12 21:34:24 -05:00
Scott Lahteine
4dbec774b5
HAL_*_TIMER_RATE => *_TIMER_RATE
2018-06-12 16:39:12 -05:00
Eduardo José Tagle
d3c02410a8
[2.0.x] Small assorted collection of fixes and improvements ( #10911 )
...
* Misc fixes and improvements
- Get rid of most critical sections on the Serial port drivers for AVR and DUE. Proper usage of FIFOs should allow interrupts to stay enabled without harm to queuing and dequeuing.
Also, with 8-bit indices (for AVR) and up to 32-bit indices (for ARM), there is no need to protect reads and writes to those indices.
- Simplify the XON/XOFF logic quite a bit. Much cleaner now (both for AVR and ARM)
- Prevent a race condition (edge case) that could happen when estimating the proper value for the stepper timer (by reading it) and writing the calculated value for the time to the next ISR by disabling interrupts in those critical and small sections of the code - The problem could lead to lost steps.
- Fix dual endstops not properly homing bug (maybe).
* Set position immediately when possible
2018-06-01 19:02:22 -05:00
Chris Pepper
d87257f63c
[2.0.x][LPC176x] Fix PIO build flags ( #10909 )
...
Don't build and link with different flags, the binary may not work.
2018-05-31 19:08:31 -05:00
Chris Pepper
f89f7c4a82
[2.0.x][LPC176x][Build] Force single precision constants, disable freestanding ( #10892 )
2018-05-28 19:38:22 -05:00
Scott Lahteine
9b9b62b218
delay(SERVO_DELAY) => safe_delay(servo_delay[servo_index])
2018-05-28 03:44:32 -05:00
Bob-the-Kuhn
1c0ad8bbae
wrong type of exit method
2018-05-26 08:17:03 -05:00
Bob Kuhn
235facd545
install AVRDUDE 5.10, faster disk find for LPC1768 ( #10849 )
2018-05-25 20:26:48 -05:00
Bob Kuhn
e2db509d58
[2.0.x] Update/Fix LPC1768 extra script upload_extra_script.py ( #10843 )
...
* Use a different method to find the volume info in Windows
2018-05-25 04:31:18 -05:00
Scott Lahteine
5f8591528e
Remove #pragmas that don't help c files
2018-05-23 23:47:16 -05:00
Scott Lahteine
c89649b46e
Suppress U8glib build warnings
2018-05-23 02:47:36 -05:00
Bob Kuhn
6dfbb39f83
[LPC1768] Add error-handling to upload script, update autobuild.py ( #10802 )
2018-05-20 21:22:04 -05:00
etagle
569df3fc0c
Fix interrupt-based endstop detection
...
- Also implemented real endstop reading on interrupt.
2018-05-20 07:10:24 -05:00
etagle
0566badcef
Add memory barrier, optimal interrupt on-off
...
Disabling an ISR on ARM has 3 instructions of latency. A Memory barrier is REQUIRED to ensure proper and predictable disabling. Memory barriers are expensive, so avoid disabling if already disabled (See https://mcuoneclipse.com/2015/10/16/nvic-disabling-interrupts-on-arm-cortex-m-and-the-need-for-a-memory-barrier-instruction/ )
2018-05-20 02:39:34 -05:00
Scott Lahteine
206014a957
Fix LPC176x timer functions
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-20 01:58:51 -05:00
Chris Pepper
9b64fdbc3a
[LPC176x] HAL: Add missing program space definition ( #10776 )
2018-05-19 15:37:54 -05:00
Scott Lahteine
50270b53a0
Clear up some more compile warnings
2018-05-17 18:40:49 -05:00
etagle
40d7e12827
Removing warnings from compilation
2018-05-17 18:04:22 -05:00
Scott Lahteine
fb608938f8
Prevent compilation of unused u8g-oriented code
2018-05-14 13:31:04 -05:00
Scott Lahteine
37b15fe4cf
Reorder HAL timer header items
2018-05-13 16:50:39 -05:00
Scott Lahteine
99ecdf59af
Smarter MIN, MAX, ABS macros
...
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-13 04:52:56 -05:00
etagle
9d98a62699
Followup to HAL optimizations and delays
...
- Cleanups, fixes for Due HAL code.
- TC_IER is write-only. Use TC_IMR to test ISR state.
2018-05-13 00:46:23 -05:00
Scott Lahteine
a1062eec5b
Better handling of DELAY_NS and DELAY_US ( #10716 )
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-12 08:34:04 -05:00
Scott Lahteine
d1b619be52
Standardize some hexadecimals
2018-05-08 09:19:18 -05:00
Scott Lahteine
456cf971af
HAL FastIO cleanup and fixes
2018-04-26 00:40:16 -05:00
Scott Lahteine
2578996631
[2.0.x] Emergency parser for multiple serial ports ( #10524 )
2018-04-25 20:58:00 -05:00
Chris Pepper
2242b98248
[LPC176x] Emergency Parser Feature ( #10516 )
2018-04-25 06:44:26 -05:00
Scott Lahteine
a3ce8a3fcd
Add sanity checks for EMERGENCY_PARSER
2018-04-24 09:24:26 -05:00
Eduardo José Tagle
0c428a66d9
Proper AVR preemptive interrupt handling ( #10496 )
...
Also simplify logic on all ARM-based interrupts. Now, it is REQUIRED to properly configure interrupt priority. USART should have highest priority, followed by Stepper, and then all others.
2018-04-23 22:05:07 -05:00
Scott Lahteine
29dda871cb
Patch "upload_disk" to make python happy
2018-04-13 22:27:08 -05:00
Chris Pepper
cc6d41e1d3
Use a macro for HAL header redirection ( #10380 )
2018-04-12 20:25:08 -05:00
Bob-the-Kuhn
85014cd132
[2.0.x] LPC1768 - automatic selection of upload disk ( #10374 )
2018-04-11 14:41:16 -05:00
Bob-the-Kuhn
ab715c70d1
TMC SPI sanity-check and pins debugging ( #10324 )
2018-04-06 20:24:54 -05:00
Scott Lahteine
93305a2d5e
Fix some spellings
2018-04-02 03:03:37 -05:00
Scott Lahteine
239902f861
Fix E2END and add EEPROM to Smart RAMPS
...
Reference #9983
2018-03-10 06:57:31 -06:00
Bob-the-Kuhn
3c58ca181c
[2.0.x] Correct step pulse width on LPC1768, DUE & Teensy35_36 ( #10016 )
2018-03-09 02:11:28 -06:00
Scott Lahteine
98d48fc731
Followup to HAL_timer_restrain
...
Followup to #9985
2018-03-07 22:18:37 -06:00
Scott Lahteine
ca577c1638
Fix up various spacing, comments, and typos
2018-03-07 21:09:08 -06:00
Scott Lahteine
d45f19d385
Remove Unicode from var name
2018-03-07 19:08:44 -06:00
Chris Pepper
a1a88ebabc
HAL function to ensure min stepper interrupt interval ( #9985 )
2018-03-07 17:53:25 -06:00
Scott Lahteine
beeed580b8
Implement digipots for MKS SBASE ( #9927 )
...
Fix #9477
2018-03-04 15:14:47 -06:00
Scott Lahteine
f3dbe19669
Tweaks to HAL codestyle
2018-02-25 04:38:17 -06:00
Scott Lahteine
90fa423737
Preliminary cleanup of #include structure ( #9763 )
2018-02-23 00:52:52 -06:00
Scott Lahteine
799e3b2b40
LPC1768 HAL formatting/comments
2018-02-22 14:36:17 -06:00
Scott Lahteine
a810e585db
Drop HAL_timer_set_count
2018-02-20 03:10:39 -06:00
Scott Lahteine
ca55f2927a
Pulldown pin mode support ( #9701 )
...
Implemented for LPC1768.
2018-02-18 19:26:23 -06:00
Scott Lahteine
03d790451f
[2.0.x] HAL timer set/get count => set/get compare ( #9581 )
...
To reduce confusion over the current timer count vs. the compare (aka "top") value. Caution: this re-uses the function name, changing its meaning.
2018-02-10 20:42:00 -06:00
Scott Lahteine
b939a2e88c
Watchdog conditional for LPC
2018-02-04 18:52:44 -06:00
Scott Lahteine
0891b58c30
#ifdef tweaks
2018-02-04 16:36:30 -06:00
Bob-the-Kuhn
3d72fe0730
snapshot
2018-02-03 21:28:05 -06:00
Scott Lahteine
33ec599ca0
Tweaky LPC1768 SPI spacing/style
2018-02-03 20:25:57 -06:00
Scott Lahteine
c46de340b7
Clean up trailing whitespace
2018-02-03 20:05:23 -06:00
Thomas Moore
e1fd9c08b3
[2.0.x] Add support for LPC1769 at 120 MHz ( #9423 )
2018-02-03 19:33:26 -06:00
Scott Lahteine
b13099de3f
General cleanup of HAL code
2018-02-02 03:37:15 -06:00
Scott Lahteine
eb18ae9003
Define LSBFIRST / MSBFIRST for LPC
2018-02-02 00:34:23 -06:00
teemuatlut
5c69d45f5b
[2.0.x] TMC2130 support for LPC platform ( #9114 )
2018-02-01 21:49:40 -06:00
Scott Lahteine
f5cfdf6efe
Use _BV32 to avoid name conflict
2018-02-01 21:37:35 -06:00
Scott Lahteine
2bea1bda56
Move more strings to PROGMEM
2018-01-24 00:06:06 -06:00
Scott Lahteine
45cfb16424
Merge pull request #8355 from tcm0116/2.0.x-TwoWire
...
[2.0.x] Master-only TwoWire (I2C) class for LPC1768
2018-01-23 20:14:02 -06:00
Chris Pepper
f875f49caa
[2.0.x] LPC1768: Fix: Serial pins disabled correctly when in use ( #9193 )
2018-01-22 01:54:41 -06:00
Scott Lahteine
303d792b9f
Merge pull request #9253 from tcm0116/2.0.x-mks_sbase
...
[2.0.x] Cleanup MKS-SBASE compile warnings
2018-01-19 22:37:38 -06:00
Thomas Moore
63fd23ab1c
Cleanup MKS-SBASE compile warnings
2018-01-19 15:46:34 -06:00
Christopher Pepper
1e65562d55
LPC1768: HAL: only initialise used HardwareSerial ports
...
Misc formatting
2018-01-15 22:00:59 +00:00
Thomas Moore
6856eccc77
Master-only TwoWire class for LPC1768
2018-01-15 05:22:03 -06:00
Scott Lahteine
d5bf9e74c4
Merge pull request #8996 from p3p/pr_bf2_more_adc_filter
...
[2.0.x] PID control fix and more LPC1768 ADC filtering
2018-01-15 05:14:25 -06:00
Scott Lahteine
ac368f2788
Add STEPPER_ISR_ENABLED() to HALs
...
Some also get a `HAL_timer_interrupt_enabled` function.
2018-01-14 21:07:10 -06:00
Scott Lahteine
742cff5f3c
Followup to #9141
2018-01-11 22:15:01 -06:00
Thomas Moore
84de428d30
[2.0.x] Fix compile errors ( #9141 )
...
* Update persistent_store_impl.cpp
* Remove define BYTE from serial functions since Arduino docs typically show 0 for the normal case.
2018-01-11 21:43:26 -06:00
Thomas Moore
f7efac57b7
Multi-host support
2018-01-10 00:14:47 -06:00
Bob-the-Kuhn
6a50adb4d5
works
2018-01-09 22:15:33 -06:00
Christopher Pepper
14dcad6bbc
LPC1768: Increase ADC median filter from 3 values to 23
...
Clarify the HAL_adc_get_result method to make sure correct values enter the filters
HAL: Fix the PID control loop for non-AVR platforms
2018-01-07 22:15:20 +00:00
Scott Lahteine
51e0f2bee3
Add MarlinSettings::validate()
2018-01-05 14:35:24 -06:00
Scott Lahteine
3319765034
Detab some HAL files
2018-01-05 10:28:17 -06:00
Scott Lahteine
1c41de16d4
Trailing whitespace clean
2018-01-05 10:11:31 -06:00
revilor
959a2d2527
Add beginTransaction to HAL SPI ( #9019 )
2018-01-03 05:12:25 -06:00
Bob-the-Kuhn
eca5cc8669
Merge pull request #9003 from Bob-the-Kuhn/Due-PINS_DEBUG-&-related
...
[2.0.x] add Due PINS_DEBUG support & misc improvements (replaces PR #8990 )
2018-01-02 18:47:53 -06:00
Bob-the-Kuhn
5574fad69c
copy of PR #8991 code
...
Formatting tweaks
correct array initialization & remove test code
2018-01-02 11:17:46 -06:00
Bob-the-Kuhn
adb9ecf3cc
copy of PR #8990
2018-01-01 16:11:56 -06:00
Scott Lahteine
1a827d5b68
Opening brace tweaks
2017-12-25 09:34:43 -06:00
Bob-the-Kuhn
1a948cbd93
Fix SET_OUTPUT glitch - LPC1768 & DUE
2017-12-24 19:25:32 -06:00
Scott Lahteine
097a26007f
Fix SDSUPPORT for MKS SBASE
...
Fix supplied by @cjsoong in https://github.com/MarlinFirmware/Marlin/issues/8750#issuecomment-350779983
2017-12-17 03:05:33 -06:00
Scott Lahteine
6149b82119
Allow setting current timer counter
2017-12-10 18:38:53 -06:00
Scott Lahteine
82ef6b5242
Add an option to specify "pulse" timer
2017-12-10 18:38:53 -06:00
Scott Lahteine
de3d3b9cb1
Put FORCE_INLINE before static
2017-12-08 00:46:22 -06:00
Scott Lahteine
a3b098b4be
Whitespace clean
2017-12-06 14:02:44 -06:00
Bob-the-Kuhn
57fac33a74
add explanations
...
1) add explanations as to why software SPIs are selected
2) remove unused flag/option
2017-12-03 20:32:22 -06:00
Bob-the-Kuhn
bb23286383
add README & modify spi_pins.h
...
still trying to fix file name
2017-12-03 20:00:56 -06:00
Bob-the-Kuhn
fb44f8e50f
Merge pull request #8616 from hg42/bugfix-2.0.x
...
[2.0.x][LPC1768][FIX] NUM_DIGITAL_PINS was negative, fixes PWM, arduino io functions, M42, M43, M226, probably also Servo, some LCD, soft spi, SoftwareSerial, ... may be others
2017-12-03 14:48:00 -06:00
Harald Gutsche
f5b4e1ef4f
as a workaround enable PWM for any pin, see PR #8622
2017-12-03 20:37:02 +01:00
Unknown
d1f11e9c10
fix missing GET_TIMER (used by PWM for Ex_AUTO_FAN)
2017-12-01 22:28:55 +01:00
Harald Gutsche
dd1b503f64
fix NUM_DIGITAL_PINS being negative for more than 127 digital pins
2017-12-01 07:39:46 +01:00
Scott Lahteine
c8718aa111
Spacing, macros in LPC1768_PWM
2017-11-26 20:20:05 -06:00
Bob-the-Kuhn
7d8b66e207
Merge pull request #8570 from Bob-the-Kuhn/Sbase-PWM
...
[2.0.x] MKS Sbase - add servo pin definitions and add directly controlled PWM
2017-11-26 09:36:18 -06:00
Bob-the-Kuhn
59b32c25b5
MKS Sbase changes
2017-11-26 07:47:06 -06:00
Thomas Moore
5f9592a523
Cleanup narrowing warning in pin_is_protected
2017-11-24 22:15:56 -06:00
Thomas Moore
34eaaab5fb
Fix _BV already defined warnings
2017-11-24 21:59:31 -06:00
Thomas Moore
fa577392b2
Add BIQU BQ111-A4 board
2017-11-22 16:34:59 -06:00
Bob-the-Kuhn
9dad534f02
fixed
2017-11-21 21:37:20 -06:00
Scott Lahteine
3066655727
Try port*100+pin, fix config dependency
2017-11-20 13:58:23 -06:00
Scott Lahteine
f409147116
Fix P2_04, P2_05
2017-11-20 13:58:02 -06:00
Bob-the-Kuhn
a28ccabe2a
M42 P1.20 fix
2017-11-20 13:58:02 -06:00
Scott Lahteine
b9327a4d16
Misc. general cleanup
2017-11-19 15:43:39 -06:00
Scott Lahteine
8836623e0f
Fix sq
/min
/max
macros after platform headers
2017-11-19 15:43:39 -06:00
Scott Lahteine
1d4571b88d
Dependency adjustments
2017-11-19 15:43:38 -06:00
Scott Lahteine
550f1025f0
Try using <Arduino.h> everywhere
2017-11-19 14:23:02 -06:00
Bob-the-Kuhn
c14000775b
PWM fixes, slow down fan update
...
include LPC1768 syntax for M42
couple more pin_t changes
consistency
change M42 to R, P format
Revert "change M42 to R, P format"
This reverts commit 01f12f579ec9ccc1bb9126e68d2c86449e9b7edf.
2017-11-18 07:05:50 -06:00
Scott Lahteine
32512332df
Apply some formatting
2017-11-18 03:12:30 -06:00
Bob-the-Kuhn
b6415dc169
finish
2017-11-10 14:39:55 -06:00
Bob-the-Kuhn
d47fbf791b
Arduini IDE compatibility changes
...
changed includes to make Arduino IDE happy
2017-11-08 20:49:49 -06:00
Bob-the-Kuhn
0483a7df91
AVR RRD works
...
LPC1768 VIKI2 & RRDFG are working
looks like all SPIs are working
library change
sh1106 locks up
fixed lockup, started I2C SW com
pretty
re-org
restore a few files
make library happy
switched HAL version of rrd
fix travis error
travis error fixes
another travis fix
cleanup
minor update
one more
correct spacing in platformio.ini
2017-11-07 18:40:29 -06:00
Scott Lahteine
2246316605
Fix name collision. timer_t => hal_timer_t
2017-11-05 19:31:07 -06:00
Thomas Moore
13d839795c
LPC1768: updates to use the new pin_t typedef
2017-11-02 18:43:57 -05:00
Thomas Moore
50b4f9cbf7
LPC1768 Pin Mapping and M43 cleanup ( #8119 )
...
* LPC1768 M43 cleanup
* Update pinmapping.h to #define pins
2017-10-28 19:44:54 -05:00
Scott Lahteine
ada90f7335
Clean up trailing spaces
2017-10-26 23:33:43 -05:00
Thomas Moore
9e699811d2
Make LPC1768 pinmapping not specific to Re-ARM ( #8063 )
...
* Merging early because of build failures. See #8105
* Make LPC1768 pinmapping not specific to Re-ARM
* Add HAL_PIN_TYPE and LPC1768 pin features
* M43 Updates
* Move pin map into pinsDebug_LPC1768.h
* Incorporate comments and M226
* Fix persistent store compilation issues
* Update pin features
* Update MKS SBASE pins
* Use native LPC1768 pin numbers in M42, M43, and M226
2017-10-26 13:37:26 -05:00
Scott Lahteine
070cd34fe8
Merge pull request #8077 from thinkyhead/bf2_MKS_BASE_followup
...
Clean up HAL trailing spaces, MKS SBASE pins
2017-10-24 18:38:48 -05:00
Scott Lahteine
90a14b4f5b
Clean up HAL trailing spaces, MKS SBASE pins
2017-10-24 18:20:23 -05:00
Thomas Moore
51fafccc16
[2.0.x] Enable hardware serial ports on LPC1768 ( #8004 )
...
* Enable hardware serial ports on LPC1768
* Fix compilation errors with other HALs
* FIx order of includes in LPC1768 HAL main.cpp
* Add support for RX_BUFFER_SIZE and TX_BUFFER_SIZE options in Configuration_adv.h
2017-10-24 17:28:33 -05:00
Roxy-3D
5439358281
Basic UBL operations working on 32-bit platforms ( #8024 )
...
* 32-bit work for UBL
* Update FT i3-2020 reference file
2017-10-19 10:44:45 -05:00
Roxy-3D
572cf0ec95
UBL able to generate mesh and save and load it on 32-bit platforms ( #8015 )
...
* Get UBL Mesh Generation, Mesh Save & Mesh Load working with 32-Bit platforms
* clean up read_data() and write_data() for non-LPC1768 HAL's
* Get read_data() and write_data() return codes consistent
All HAL's read_data() and write_data() return false if they succeed.
* Get read_data() and write_data() return codes to be consistent
Make read_data() and write_data() return true if an error happens.
* Say UBL is now checked out on machine types in default Configuration.h file.
2017-10-18 14:00:29 -05:00
Morten
91e28edda6
[2.0.x] Add new board: MKS Sbase ( #7945 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Checked LCD / edited / revised pins_MKS_BASE.h
As requested :)
* Delete Configuration_adv.h
* Delete Configuration.h
* Deleted /Marlin/Marlin/src/config/examples/MksSbase/*.* and moved them to /Marlin/Marlin/src/config/examples/Mks/Sbase/*.*
* Add files via upload
2017-10-14 09:44:18 -05:00
Alexey Shvetsov
12d212d1b4
Python isnt always python2
...
So now this script is compatible with both python versions 2 and 3
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
2017-10-13 01:39:06 +03:00
Bob-the-Kuhn
26bfae58d4
MPC4451 I2C support
2017-10-11 00:30:41 -05:00
Scott Lahteine
a058638d11
Merge pull request #7875 from thinkyhead/bf2_fill_eeprom_dat_ff
...
[2.0.x] Update LPC persistent store to initialize eeprom.dat with FF
2017-10-07 15:13:21 -05:00
Scott Lahteine
8315a8a716
Apply fixes for DUE
...
Alternative to #7882 . If F_CPU is greater than 1000 it can be evenly divided by 8. Over 10000, 16; over 100000, 32; over 1 million, 64; etc.
2017-10-07 14:31:18 -05:00
victorpv
8998f31ee1
Update LPC persistent store to initialize eeprom.dat with FF
...
This change initialize any data in eeprom.dat beyond the current file size to FF.
That way if eeprom.dat is deleted and created again, it doesn't take the old values or random ones, but rather starts with FF in all positions as a real brand new or erased eeprom.dat
Currently if you delete eeprom.dat and restart the board, the new file is created in the same sector with the same content, since FAT does not actually delete the data, just marks the sector as free. I tested by deleting the file, and then rebooting the board, and checking the file content.
The change can be tested in the same way, deleting, rebooting the board, and then the new content should be all FF.
If an eeprom file already exist with data on it, but smaller than E2END, it will be padded with FF on first access, so it will not have random or old content appended.
2017-10-07 02:18:42 -05:00
Scott Lahteine
9fe7f53216
Misc general spacing cleanup
2017-10-06 15:14:01 -05:00
Chris Pepper
aa51a02b8f
LPC1768: fix serial buffer underrun ( #7854 )
...
When the buffer is empty index_write == index_read, but they needed constrained by buffer_mask
2017-10-05 17:19:43 -05:00
Chris Pepper
46b2773e13
General fixes for LPC1768 ( #7834 )
...
* fixed some include paths
* LPC1768: Fix Serial API
Add missing serial methods used if TX_BUFFER_SIZE is set
Change return value of HalSerial:read to match Arduino API
* LPC1768: add filters to ADC
This is to try and compensate for hardware issue and oversensitivity to noise
* LPC1768: remove the polling section of delayMicroseconds
* LPC1768: lock usb mass storage device while device accesses it.
Currently only applicable to persistent store,
The device always has priority and will unmount the sd card from the host, Windows then tries to automount again so it can look like the explorer window freezes. Linux Mint, by default, just closes the Nemo window.
* Add timeout to make sure if Serial never connects that Marlin still boots
* Remove unneeded ifdef CPU_32_BIT
In general the need for ifdef CPU_32_BIT blocks means that something is missing from the HAL API or a Platform, in this case HAL_TICKS_PER_US was missing from the AVR Platform
* LPC1768: relocate RE-ARM debug_extra_script.py
2017-10-04 15:40:54 -05:00
Scott Lahteine
ac41eb5871
Merge pull request #7722 from tcm0116/2.0.x-warnings
...
Cleanup 2.0.x compiler warnings
2017-10-01 21:56:54 -05:00
Thomas Moore
0cb00f52d9
Cleanup warnings
2017-09-30 16:47:17 -05:00
Bob-the-Kuhn
1beaef0452
fix 3S hang & enable SPLIT
2017-09-30 10:27:41 -05:00
Thomas Moore
020ce176c4
Fix Servo class compile errors
2017-09-29 08:17:30 -05:00
Bob-the-Kuhn
62054af6eb
2.0 compile issues
2017-09-28 10:16:25 -05:00
Christopher Pepper
bea3ec2724
M355 S0, S1 fixes & faster LCD, SD card
...
fix Travis error
2017-09-27 19:26:00 -05:00
Scott Lahteine
c2b1d51f16
HAL whitespace and style cleanup
2017-09-27 10:55:36 -05:00
Scott Lahteine
599f2ad983
Define pin accessors more like <Arduino.h>
2017-09-27 10:41:27 -05:00
Scott Lahteine
358656acc3
Tweak HAL_adc_start_conversion
2017-09-27 10:41:27 -05:00
Scott Lahteine
0cb4d25431
Tweaks to Servo classes
2017-09-27 10:41:27 -05:00
Thomas Moore
ddbd4b73e0
Move LPC1768 framework out of Marlin source folder
2017-09-23 16:59:31 -05:00