Scott Lahteine
ee53f7d813
Revert header reorg.
2018-10-02 22:09:41 -05:00
Scott Lahteine
0dedb3e139
Reorganize some core headers ( #11983 )
2018-10-02 04:25:46 -05:00
Scott Lahteine
606a4362b3
Reduce STM32F4 compile warnings
2018-10-01 04:41:17 -05:00
Scott Lahteine
11ac75edcb
Use PGM_P for PSTR pointers ( #11977 )
2018-09-30 23:44:33 -05:00
Scott Lahteine
8489673cea
Adjust some HAL formatting
2018-09-30 21:24:37 -05:00
Alexander Amelkin
2ecfda80ac
Improve support for JTAG/SWD pins reuse ( #11963 )
...
STM32 can reuse JTAG and SWD pins separately. Add `DISABLE_DEBUG` option to disable both interfaces and retain `DISABLE_JTAG` to disable JTAG only.
2018-09-29 19:00:49 -05:00
Scott Lahteine
7d5c336c56
Corrections for dylsexic TMC
2018-09-29 18:51:11 -05:00
Scott Lahteine
ad21a4f07b
Tweaks to HAL format and order
2018-09-28 15:59:50 -05:00
Scott Lahteine
b682a1961a
Tweak STM32F7 TMC2660 class
2018-09-27 21:13:15 -05:00
Alexander Amelkin
84926b1d5a
HAL general support for DISABLE_JTAG option ( #11211 )
...
Some STM32-based boards may use multiplexed JTAG pins as IO. Up to now the `DISABLE_JTAG` option (defined in pins files) was only supported for AT90-based boards. This commit generalizes the code and adds support for boards based on STM32F1 and STM32F4.
2018-09-27 19:02:50 -04:00
Marcio Teixeira
ccbd045f02
Fixed warning about comparing signed to unsigned ( #11909 )
2018-09-24 12:03:29 -04:00
Marcio Teixeira
c411e7eb0d
[2.0.x] Squelch compiler warnings seen with -Wall ( #11889 )
2018-09-23 12:00:34 -04:00
Scott Lahteine
1718eff54a
Code changes supporting up to 6 extruders
2018-09-16 22:32:53 -05:00
Holger Müller
1a6f2b29b8
Add support for Triple-Z steppers/endstops
2018-09-16 00:35:58 -05:00
Sam Lane
d783400330
Updates to STM32F7 HAL, for completeness ( #11770 )
2018-09-09 03:26:15 -05:00
Alexander Amelkin
f417408df1
[STM32F1] Fix HAL for new PlatformIO ( #11749 )
2018-09-07 18:15:32 -05:00
Scott Lahteine
2a61c9a939
Various fixups to configs, spacing, etc.
2018-09-06 06:44:31 -05:00
Scott Lahteine
6a3207391f
Remove obsolete HAL_timer_restrain
2018-08-31 16:17:22 -05:00
Ilya Bukhonin
7ecb8b4af5
[2.0.x] Teensy 3.1 and 3.2 support ( #11460 )
2018-08-27 21:49:49 -05:00
Scott Lahteine
a317bb4991
Remove stray tab
2018-08-24 17:35:13 -05:00
Scott Lahteine
ba1919c1eb
HAL tweaks to LPC1768 main
2018-08-22 17:16:18 -05:00
Scott Lahteine
0987ed2a18
Use American English
2018-08-22 17:16:18 -05:00
jmz52
a77f8c6dd5
Implement servo support for STM32F1 ( #11580 )
...
Implement servo support for STM32F1. Original code was incomplete and depended on Servo library from stm32duino which conflicts with `module/servo.h`.
2018-08-20 21:13:51 -05:00
Dave Johnson
0456caf0ad
Consolidate shared HALs and isolate HAL compile ( #11552 )
2018-08-20 21:11:12 -05:00
jmz52
dfe18ac633
Fix compilation error for STM32F1 with U8GLIB_SSD1306 or U8GLIB_SH1106 enabled ( #11583 )
...
The `binary.h` file required by `lcd/dogm/dogm_bitmaps.h` is not present in stm32duino environment. Binary macros are defined in `bit_constants.h` in stm32duino framework.
2018-08-20 20:37:56 -05:00
ghent360
00d24a8219
Don't call __delay_4cycles for 0 cycle delay - takes a really long time. ( #11586 )
2018-08-18 22:50:11 -05:00
jmz52
0b2d686160
Fix "SD init fail" problem for STM32F1 ( #11579 )
...
Fix "SD init fail" problem for STM32F1 caused by incorrect SS pin state and incorrect SPI mode. Issue #11225
2018-08-17 23:27:10 -05:00
Nils Hasenbanck
b37bfeffeb
[2.0.x] Use the new const functions of the persistentStore api ( #11544 )
2018-08-14 18:35:36 -05:00
Chris Pepper
5573ef62c6
[2.0.x] PersistentStore update followup ( #11549 )
2018-08-14 17:54:12 -05:00
Scott Lahteine
834ea7fcea
Remove 'const' from PersistentStore::capacity
2018-08-14 04:46:10 -05:00
Dave Johnson
c64199941e
Compile only selected PIO environment ( #11519 )
2018-08-14 03:28:52 -05:00
Andy Shaw
5be2559eda
Use flash memory to emulate EEPROM ( #11500 )
...
Use a sector of the LPC flash memory to emulate EEPROM storage, removing the need to have an SD card to store system parameters.
2018-08-14 01:19:34 -05:00
Scott Lahteine
865ee5985f
Followup persistent store with heading, const
2018-08-13 23:55:33 -05:00
Scott Lahteine
6a8b906318
Followup for persistent_store_api.h
2018-08-13 17:43:35 -05:00
Chris Pepper
66d2b48b59
Update PersistentStore api ( #11538 )
...
- Clean up the API to use a `static` class instance to adhere to Marlin convention
- Add `const` position data access for read/write
- Add Storage capacity to the interface
2018-08-13 17:30:25 -05:00
Scott Lahteine
15d68cb496
Pre-override of ST7920 delays before HAL.h
2018-07-26 23:33:18 -05:00
Scott Lahteine
244b9a8257
Better fastio 1280/2560 pin list
...
Co-Authored-By: bleughb <36889022+bleughb@users.noreply.github.com>
2018-07-26 05:23:51 -05:00
Andy Shaw
624986d423
Ensure ADC conversion is complete before reading ( #11336 )
...
The current Marlin implementation relies on a timer interrupt to start the ADC conversion and read it. However in some circumstances the interrupt can be delayed resulting in insufficient time being available for the ADC conversion. This results in a bad reading and false temperature fluctuations. These changes make sure that the conversion is complete (by checking the ADC hardware via the HAL) before reading a value.
See: https://github.com/MarlinFirmware/Marlin/issues/11323
2018-07-26 03:59:19 -05:00
teemuatlut
fbcdf5eaeb
Simplify stepper driver per-axis selection
2018-07-25 02:47:43 -05:00
Scott Lahteine
64f007580b
Fix some header comments
2018-07-17 19:50:24 -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
Scott Lahteine
d05e832f29
Add STM32F1 support for SD-based EEPROM
2018-07-06 23:45:47 -05:00
etagle
1367df2875
Replace double with float, optimize calculation
2018-07-04 22:28:56 -05:00
etagle
e7e896e7d7
More tweaks to fastio_Due.h
2018-07-04 17:57:47 -05: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
8a8eae8d97
Implement more fastio_Due macros ( #11165 )
2018-07-01 01:24:06 -05:00
Scott Lahteine
fc10101b06
Tweaks to fastio_Due.h
2018-06-30 00:15:50 -05:00
Alexander Amelkin
ffdbc1f42c
STM32F1: Fix SD card persistent store API ( #11090 )
2018-06-26 14:41:23 -04: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
Scott Lahteine
c1269c2ec1
Tweak AVR critical section defines
2018-06-16 17:42:32 -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
Simon Jouet
e2aeda61ed
HAL for Espressif ESP32 Wifi
2018-06-13 19:33:35 -05:00
Scott Lahteine
19d4c7c1cd
Tweak HAL header comments
2018-06-13 19:08:42 -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
a9861a780e
Tweak HAL heading
2018-06-12 19:40:17 -05:00
Scott Lahteine
cf53e502a2
No need to set input after attachInterrupt
2018-06-12 18:43:11 -05:00
Karl Andersson
e0276d2f32
Official STMicroelectronics Arduino Core STM32F4 HAL compatibility ( #11006 )
2018-06-12 18:38:00 -05:00
Scott Lahteine
4dbec774b5
HAL_*_TIMER_RATE => *_TIMER_RATE
2018-06-12 16:39:12 -05:00
Scott Lahteine
9b945c13a1
Fix STM32F1 ISR_ENABLED
2018-06-11 22:09:45 -05:00
Alexey Shvetsov
2ddba201c0
STM32F1 HAL Fixes ( #10999 )
...
- Enable / disable interrupts with `__iSeiRetVal` / `__iCliRetVal`
- Add STM32F1 to Travis CI tests
2018-06-11 20:00:56 -05:00
Eduardo José Tagle
5590c8ffd0
Fix MarlinSerial (AVR) ( #10991 )
...
An undocumented hw bug makes the UART lose chars when RX ISR is disabled, even for a very small amount of time. This happens when RX_BUFFER > 256, and the result is corrupted received commands. Solved by implementing pseudo-atomic operations on 16bit indices.
2018-06-10 20:32:20 -05:00
Scott Lahteine
117fd007a9
Followup to pin error change
2018-06-10 19:28:45 -05:00
etagle
99af086cea
Add hidden Serial overflow debug options
2018-06-10 04:25:42 -05:00
etagle
d90e8fcad9
Fix XON/XOFF implementation
...
Pointed out by @GMagician
2018-06-10 04:25:42 -05:00
Scott Lahteine
3701869e6c
Add HAL_timer_start for AVR, use stepper timer to time pulses
2018-06-09 22:30:13 -05:00
Scott Lahteine
a426986df8
Ensure pins set to INPUT after attachInterrupt ( #10928 )
2018-06-06 20:59:08 -05:00
Giuliano
c9d1a620d4
[2.0.x] fix indentations ( #10934 )
2018-06-05 02:03:26 -05:00
Scott Lahteine
c685c7b7dd
STM32F4: All pins can do PWM
2018-06-03 04:30:15 -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
Scott Lahteine
cbcb284f4a
Allow libServo::attach to work on Teensy 3.5/3.6
2018-05-28 20:56:24 -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
android444
16da5c62d0
Teensy 3.x fastio pullup ( #10890 )
2018-05-28 16:25:12 -05:00
Scott Lahteine
9b9b62b218
delay(SERVO_DELAY) => safe_delay(servo_delay[servo_index])
2018-05-28 03:44:32 -05:00
android444
9c235ef821
[HAL]Add support for ST7920 - Teensy 3.x ( #10872 )
2018-05-27 03:36:57 -05:00
Bob-the-Kuhn
1c0ad8bbae
wrong type of exit method
2018-05-26 08:17:03 -05:00
Eduardo José Tagle
6f330f397e
[2.0.x] Buffer overflow and scroll fix, UTF8 cleanup ( #10844 )
2018-05-25 23:32:37 -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
Scott Lahteine
4118199ddd
Tweaks to core headers
2018-05-21 20:32:18 -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
c2fb2f54a1
Use assembly for AVR ISR vectors
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-20 01:58:51 -05:00
Scott Lahteine
206014a957
Fix LPC176x timer functions
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-20 01:58:51 -05:00
Scott Lahteine
59f7861bcb
Move backtrace to the HAL folder ( #10790 )
2018-05-20 01:33:21 -05:00
Scott Lahteine
c173a31060
Fix some compile warnings
2018-05-19 16:54:48 -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
883b0c9880
Convert custom maths to inlines ( #10728 )
2018-05-13 08:10:08 -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
etagle
1b225a2809
DUE: Emergency parser for the USB CDC
2018-05-12 02:12:11 -05:00
Scott Lahteine
0436e16fb2
Apply shorthand Assembler macros
2018-05-08 10:08:54 -05:00
Scott Lahteine
d1b619be52
Standardize some hexadecimals
2018-05-08 09:19:18 -05:00
Scott Lahteine
81b632c255
Additional temp-oriented improvements
2018-05-02 08:43:22 -05:00
nightdemonx
e911635fb1
Add thermocouple with AD8495 support
2018-05-02 08:43:16 -05:00
Scott Lahteine
3f68203324
Modify FastIO error message
2018-04-28 20:27:36 -05:00
Scott Lahteine
a474a7e675
Correct AVR_ATmega328_FAMILY macro
...
…as with #10540
Co-Authored-By: per1234 <per1234@users.noreply.github.com>
2018-04-27 03:13:46 -05:00
Scott Lahteine
456cf971af
HAL FastIO cleanup and fixes
2018-04-26 00:40:16 -05:00
J.C. Nelson
5b5e322356
Set Interrupt Priorities and Grouping for STM32F103. ( #10517 )
2018-04-26 00:21: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
Eduardo José Tagle
c1e5ebbc1e
[2.0.x] AVR: Atomic bit set and clear of upper pin ports without critical section ( #10502 )
...
* AVR: Atomic bit set and clear
The critical section can be dropped, saving 3 cycles per access. Also simplified pin toggling for all ports.
2018-04-24 13:45:43 -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
f423e54f77
Strip trailing spaces
2018-04-23 18:00:43 -05:00
Scott Lahteine
cb46cb8480
Add HAS_HEATED_BED conditional ( #10495 )
2018-04-23 17:13:01 -05:00
Scott Lahteine
dea686cf55
Define short pin names in fastio for STM32 ( #10461 )
2018-04-20 14:54:35 -05:00
Karl Andersson
428c54f2ad
[2.0.x] HAL for STM32F4 ( #10434 )
2018-04-17 17:33:29 -05:00
GMagician
20772492aa
Fix compile warnings in AVR fastio.h ( #10440 )
2018-04-17 17:26:57 -05:00
Chris Pepper
c9aed73987
Fix missed includes from HAL macro patch ( #10416 )
2018-04-15 18:27:34 -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
Scott Lahteine
44a697ab04
Set STM32F1 TEMP_TIMER_FREQUENCY to 1K
...
Responding to https://github.com/MarlinFirmware/Marlin/pull/8833#issuecomment-379426803
2018-04-08 01:08:05 -05:00
Scott Lahteine
9ff4e9e1e6
Patch _IS_HW_SPI so defined() works
2018-04-07 23:29:00 -05:00
Lenbok
0e8242180d
Chamber temperature monitoring and auto fan control.
...
This is an initial cut for feedback, updated for 2.0.x.
Chamber temperature is currently reported along with hot end and bed
temperatures to serial. The format is just like that used for hot end
and bed temperatures, but using 'C' prefix. As there is no heater,
target is always 0. Is this appropriate, is there a better way to report
chamber temperatures?
Chamber temperatures are not reported on the LCD in any way.
When auto chamber fan is enabled, it currently just uses the same
temperature threshold as the other auto controlled fans.
As the chamber temperature is not connected to any heater, it doesn't
undergo mintemp/maxtemp monitoring. This would need to change in the
future if chamber heating became a feature.
2018-04-06 23:09:06 -05:00
Bob-the-Kuhn
acda4ecb20
Fix DUE Trinamic SW/HW SPI sanity check ( #10336 )
2018-04-06 22:22:30 -05:00
Bob-the-Kuhn
ab715c70d1
TMC SPI sanity-check and pins debugging ( #10324 )
2018-04-06 20:24:54 -05:00
Bob-the-Kuhn
902c885782
Switch to TMC2130 compatible hardware SPI & misc ( #10299 )
2018-04-04 20:13:27 -05:00
Scott Lahteine
93305a2d5e
Fix some spellings
2018-04-02 03:03:37 -05:00
Scott Lahteine
889fd5f71f
Backtrace minor cleanup
2018-03-31 18:59:36 -05:00
Alexey Shvetsov
cbdc78ec0f
Fix STM32 compilation with PlatformIO ( #10245 )
2018-03-28 18:35:20 -04:00
Eduardo José Tagle
749f19e502
[2.0.x] Move backtrace to a shared location ( #10237 )
...
- And implement the `backtrace()` function call
2018-03-28 14:13:20 -04:00
xC0000005
7dc256432f
Restore STM32F1 series to working order. ( #10229 )
...
The `_O2` attribute is no longer needed on the malyanlcd function, and the macros have broken timer numbers - reset this to a function to return the right device. Also fix the bit order cast in SPI.
2018-03-28 14:07:52 -04:00
etagle
8934a2c49b
Added some missing Thumb instructions to the traceback follower, so now it is able to traceback through switch() statements
2018-03-27 04:30:38 -03:00
etagle
328edea03a
Several fixes to the backtracer. Tested ant it works
2018-03-26 03:42:54 -03:00
ejtagle
9a24c0ae3f
Tons of fixes to the backtracker code, and also added an extra backtracker that does not require unwind tables to work and it is used if unwind tables are absent
2018-03-25 00:52:04 -03:00
Bob-the-Kuhn
f7857ac8a8
Merge pull request #10185 from ejtagle/bugfix-2.0.x
...
[2.0.x] DUE debugging: Solve WDT startup delay, add traceback & crash report uses programming port baud rate
2018-03-24 13:32:34 -05:00
Bob-the-Kuhn
509227fd80
change to mode 0
2018-03-23 09:37:58 -05:00
etagle
c3b23974bd
Added detection of case when no unwind tables are available
2018-03-23 05:22:45 -03:00
etagle
b210bdf032
Now the Crash reporter uses the configured BAUDRATE to send the report through the Programming port. And also shows the traceback of functions as discussed. For that latest feature to work, you need to compile the project with -funwind-tables and -mpoke-function-name compiler flags
2018-03-22 03:34:03 -03:00
etagle
c5730cf711
As Bob-The-Khun suggested, resetting the USB peripheral solves the huge startup delays that happen when a WDT reset happens and we are connected through the native port
2018-03-22 03:31:25 -03:00
Eduardo José Tagle
97e8a6ebd9
Various fixes for DUE... ( #10152 )
...
- Watchdog reset during SD Card initialization.
- Move `DebugMonitor` to `DebugMonitor_Due.cpp`.
- Since the watchdog is enabled on boot do extra resets during init.
- Have `thermalManager` do watchdog reset before its ISR starts to prevent reset.
- Ensure that timers are stopped before reprogramming them to address tone issues.
- Improve SAM3XE reset when reflashed through the native port.
2018-03-21 19:04:45 -05:00
Bob-the-Kuhn
785dbfc72d
[2.0.x] FASTIO consistency ( #10164 )
2018-03-20 16:24:50 -05:00
Bob-the-Kuhn
7308ef7809
Add conditional, give DUE SPI a unique name, fix compiler warnings ( #10168 )
2018-03-20 15:53:21 -05:00
Bob-the-Kuhn
53362b81cc
Tone fixes/changes ( #10151 )
2018-03-19 04:48:06 -05:00
Eduardo José Tagle
bbfbf90797
Fix for DUE - no host support on native USB if SD card not enabled ( #10148 )
2018-03-18 19:49:51 -05:00