esenapaj
888443ca1e
Enclose all #error strings with apostrophes
před 8 roky
Scott Lahteine
0da744b7b0
Further cleanup of comments, partial Doxygen-style
Following up on #3231
před 8 roky
jbrazio
5e5d250832
Added gplv3 header to all Marlin files
před 8 roky
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.
před 8 roky
AnHardt
dc0f41868e
Make rx tail/head atomic
před 8 roky
Scott Lahteine
0c7f7ebcfb
Styling adjustments (PR#2668 & PR#2670)
Keep "astyled" reformatting
před 9 roky
Richard Wackerbarth
4b9d5cd352
Use lowercase names for serial instances
před 9 roky
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.
před 9 roky
Scott Lahteine
58cfcd4239
Overridable Options - Part 5
Apply `ENABLED` / `DISABLED` macros to files needing only a small
number of changes.
před 9 roky
Richard Wackerbarth
e83575537a
Compiler defines USBCON for USB devices (PR#2433)
před 9 roky
Scott Lahteine
c065da52ec
Spacing and spelling
před 9 roky
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
před 9 roky
Scott Lahteine
fd78902194
Formatting cleanup of quiet sources
před 9 roky
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).
před 11 roky
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.
před 12 roky
Robert F-C
99692dc99e
Clean up special serial port cases
Assume SERIAL_PORT 0 if not defined. Collapse un-numbered register
special case. Clarify comments.
před 12 roky
daid303
5a998558a9
Update suggested by Robert F-C. #289
před 12 roky
daid303
d3ebc34958
Hopefully also support chips with a single UART in MarlinSerial now.
před 12 roky
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.
před 12 roky
Erik van der Zalm
9173a5713b
Teensylu support.
před 12 roky
Bernhard
57f9359a41
simplified the includes, makefile now works with arduino23
před 13 roky
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.
před 13 roky
Bernhard
b0c3871750
more fixing of the sanguino math round problem
před 13 roky
Bernhard
9c57453168
removed stream.h referenece from marlinserial.
před 13 roky
Bernhard
7a4be21b4f
made it compile if arduino decides to include files in a differnt order. DEC HEX and stuff now defined in MarlinSerial.h
před 13 roky
Bernhard
b19c8b74b9
force inline
před 13 roky
Bernhard
85da81e673
inlineing of small functions in serial
před 13 roky
Bernhard
b9ad0bb2ce
removed unecessary indirect register adressing in serial.
před 13 roky
Bernhard
dd5ca68c87
get rid of indirect ringbuffer calls, made some inlines, removed virtual and streaming class requirements.
před 13 roky
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).
před 13 roky
Erik van der Zalm
2643ae93d6
Added modified Sanguino files
před 13 roky