Lukas Abfalterer
83795d3e63
deleted double used comments
hace 8 años
Scott Lahteine
e4945b30d2
sbi and cbi are deprecated
hace 8 años
Scott Lahteine
ff13070b59
Use _BV macros, patch up others
hace 8 años
AnHardt
cb88fdd242
Protect MarlinSerial against interrupts
Protect MarlinSerial against interrupts
by shielding the CRITICAL_SECTIONs
Now with a test if RX_BUFFER_SIZE is in the required range.
Code in peek() and read() is now optimized for readability and showing the similarity between the two.
Maybe a bit overprotected in checkRx() and store_char(), but now some days without detected errors from this source.
hace 8 años
AnHardt
dc0f41868e
Make rx tail/head atomic
hace 8 años
Scott Lahteine
9bdab4f3a8
Clean up "else" and other spacing
hace 9 años
Scott Lahteine
0c7f7ebcfb
Styling adjustments (PR#2668 & PR#2670)
Keep "astyled" reformatting
hace 9 años
Richard Wackerbarth
4b9d5cd352
Use lowercase names for serial instances
hace 9 años
Scott Lahteine
1e2deff4fd
Rename BTENABLED to BLUETOOTH
- For some reason it’s easy to forget what BT stands for, but it
doesn’t need an abbreviation.
hace 9 años
Scott Lahteine
58cfcd4239
Overridable Options - Part 5
Apply `ENABLED` / `DISABLED` macros to files needing only a small
number of changes.
hace 9 años
Richard Wackerbarth
e83575537a
Compiler defines USBCON for USB devices (PR#2433)
hace 9 años
Scott Lahteine
c065da52ec
Spacing and spelling
hace 9 años
Scott Lahteine
1e5c18bb14
Add code_value_short and SERIAL_CHAR
hace 9 años
Scott Lahteine
c37f7d15c9
- Rename WRITE_E_STEP for consistency
- Add BIT and TEST macros
- Add _APPLY_ macros to stepper.cpp to help with consolidation
- Consolidate code in stepper.cpp using macros
- Apply standards in stepper.cpp
- Use >= 0 instead of > -1 as a better semantic
- Replace DUAL_Y_CARRIAGE with Y_DUAL_STEPPER_DRIVERS
hace 9 años
Scott Lahteine
fd78902194
Formatting cleanup of quiet sources
hace 9 años
Scott Lahteine
5714f64927
get latest Marlin_v1 changes
hace 10 años
Scott Lahteine
f989bd5435
Simple code cleanup. Rename "homeing" to homing.
hace 10 años
Cylindric
8f0cee2a14
Various typo fixes - only in comments, no code changes.
hace 10 años
fmalpartida
b5a964fcc5
Initial SAV MkI (RepRap CloneWars board) integration.
Included support for BT dongle on AT90USB boards.
Added LCD Shift Register LCD control
Included support for RepRap Clone Wars project board (SAV MKI).
hace 11 años
Johann Rocholl
6cba11f087
Stop redefining MOTHERBOARD and #define AT90USB instead. Also put #ifndef AT90USB around the HardwareSerial_h trick, so now Printrboard / Brainwave support compiles on Arduino 1.0.2 as well.
hace 12 años
Robert F-C
ab9d183024
Make serial port configurable.
This change makes the choice of serial port configurable so that
wireless capability can be easily added by connecting Bluetooth modules
(such as BlueSmirf or JY-MCU) to the expansion port pins.
hace 12 años
Erik van der Zalm
9173a5713b
Teensylu support.
hace 12 años
Bernhard
57f9359a41
simplified the includes, makefile now works with arduino23
hace 13 años
Bernhard
7714b98da7
solved some compiler warnings that are now visible in arduino 1.0.
Found a couple of unused variables, that I commented.
Tried to solve the program memory warning message, and failed.
hace 13 años
Bernhard
0bc9daa4f7
make it compile with arduino 1.0 ; function is still untested.
hace 13 años
Bernhard
d00b7e5587
repaired compiliation in windows
hace 13 años
Bernhard
b19c8b74b9
force inline
hace 13 años
Bernhard
85da81e673
inlineing of small functions in serial
hace 13 años
Bernhard
b9ad0bb2ce
removed unecessary indirect register adressing in serial.
hace 13 años
Bernhard
dd5ca68c87
get rid of indirect ringbuffer calls, made some inlines, removed virtual and streaming class requirements.
hace 13 años
Erik van der Zalm
f75f426dfa
Removed interrupt nesting in the stepper ISR.
Add serial checkRx in stepper ISR.
Copied HardwareSerial to MarlinSerial (Needed for checkRx).
hace 13 años
Erik van der Zalm
ff69e0a772
Changed max/min temp init. Removed second uart from sabguino core
hace 13 años
Erik van der Zalm
2643ae93d6
Added modified Sanguino files
hace 13 años