Defragster
f5df47d9e5
track millis - no magic
6 лет назад
Defragster
8cb4de3469
expose ccmicros for testing
micros() unchanged - minor systick_isr() diversion - one line added to systick_isr.
6 лет назад
Defragster
c4c5a0170f
opps - left in compared code
6 лет назад
Defragster
edbf0b4c0c
Confirm no systick_isr() interruption
This saves a cycle - and checks both values to avoid _isr change of either value based on code/execution
6 лет назад
Defragster
ab6f5a396d
Merge pull request #1 from Defragster/Defragster-patch-1
Replace micros for one using CycCnt
6 лет назад
Defragster
6ba4fe8e3d
Replace micros for one using CycCnt
Alternate micros() extends millis() using ARM_DWT_CYCCNT
> Also makes unused_interrupt_vector() weak to allow user override like Teensy3
6 лет назад
Paul Stoffregen
2b6162bf79
Merge pull request #328 from FrankBoesing/patch-2
align(32) funct_table for faster access
6 лет назад
PaulStoffregen
e1a113da0c
Add tempmon, fixes #323
6 лет назад
PaulStoffregen
4b0abab261
Add watchdog defs, fixes #329
6 лет назад
PaulStoffregen
5b366e248e
Add Serial7 & Serial8 keywords, fixes #326
6 лет назад
Paul Stoffregen
5354b42ed3
Merge pull request #327 from Defragster/patch-1
Add NULL func to disable debug
6 лет назад
Paul Stoffregen
eff66bb5ff
Merge pull request #325 from xxxajk/master
digitalWriteFast bugfix
6 лет назад
Frank
cd0a7122b1
align(32) funct_table for faster access
6 лет назад
Defragster
b8a545b3bf
Add NULL func to disable debug
6 лет назад
Andrew Kroll
ca6e66f909
Fix digitalWriteFast
6 лет назад
Andrew Kroll
c284975191
Merge pull request #1 from PaulStoffregen/master
sync with upstream
6 лет назад
Paul Stoffregen
5d1b3e1093
Merge pull request #324 from KurtE/t4-Missing-files
T4 - Missing Core files
6 лет назад
Kurt Eckhardt
7a24825206
T4 - Missing Core files
Sketches that includes String objects did not compile, so simply copy the wstring.cpp from Teensy3 directory.
Likewise sketches that used stream functions like:
Serial1.readBytes would not compile as the Stream sources were not included.
So likewise copied over from Teensy3 directory
6 лет назад
Paul Stoffregen
aa3e87266d
Merge pull request #321 from FrankBoesing/patch-7
alignment
6 лет назад
Frank
28facbf3ee
alignment
Gives more free DTCM.
This is the first iteration - after USB and other things are done we should look at this, again.
6 лет назад
PaulStoffregen
fb0fcaa8b7
Fix compiler warnings
6 лет назад
PaulStoffregen
37f3ecc205
Add empty wiring_private.h, for compatibility with certain libraries
6 лет назад
PaulStoffregen
e78946ba14
Fix PWM polarity on pins 0, 1, 24, 25
6 лет назад
Paul Stoffregen
18d7da7a52
Merge pull request #319 from KurtE/T4_SerialX_Split_Objects
T4 serial x split objects
6 лет назад
Kurt Eckhardt
abe9784408
T4 serialEventN - Pass 1 before EventResponder
Add some support for serialEventX calls when yield is called.
Currently keep table of which SerialX objects are Used (.begin called) and each has their own function which does the
if (Serial1.available()) serialEvent1();
Calling SerialX.end(), removes the call from the list. Also the default weak pointer serialEventX functions call the disable function, as to only be called once as no one is actually processing them...
At some point will integrate this with EventResponder
6 лет назад
Paul Stoffregen
11161f7ca1
Merge pull request #318 from mjs513/master
AnalagReadRes & Averaging Updates
6 лет назад
Mike S
cd07025412
Corrected an copy paste error
6 лет назад
Mike S
756b9c4b0f
AnalagReadRes & Averaging Updates
6 лет назад
Kurt Eckhardt
4a8bf778e0
T4 SerialX - SerialX.end() and define Event callbacks
Put in first pass at SerialX.end(),
Which should disable the Serial object, and I believe set the IO pins to be GPIO pins.
Also defined the extern void SerialEvent1() like functions in header in preperation for callbacks...
6 лет назад
Kurt Eckhardt
29bf6661a7
T4 SerialX - Move each SerialX object to own source file
Hopefully will be able to get this such that only those objects that are used will be brought in by the system...
6 лет назад
PaulStoffregen
2a7fc906f7
Fix DMAMEM
6 лет назад
PaulStoffregen
51233b208c
Add arm_math.h (thanks Manitou)
6 лет назад
Paul Stoffregen
d3f5573910
Merge pull request #317 from mjs513/master
AnalogReadResolution Added to Analog.c
6 лет назад
Mike S
47c74ec66c
Added AnalogReadResolution
6 лет назад
Mike S
77f11d6fc4
Merge pull request #1 from PaulStoffregen/master
update to latest commits
6 лет назад
PaulStoffregen
aee29bc892
Fix compiler warnings
6 лет назад
Paul Stoffregen
549f75e387
Merge pull request #315 from KurtE/t4-HardwareSerial-Transmitter_enable
T4 SerialX more support (Transmitter enable, Formats, RX Fifo read in...)
6 лет назад
Kurt Eckhardt
bf38c3489d
T4 SerialX More support including formats
More support put in.
Now support for different formats of output.
So far I have tried 8N1, 8N2, 7E1, 7O1...
6 лет назад
Paul Stoffregen
40a8afc124
Merge pull request #314 from mjs513/master
Final Correction to Tempmon Registes and Added analogreadaveraging
6 лет назад
Mike S
214071e0cd
Update analog.c
6 лет назад
Mike S
292bb6553d
corrections & updates
Tempsense2 address correction and added analogreadaveraging code.
6 лет назад
PaulStoffregen
d2bbae3e9c
Add LED define, for IRremote
6 лет назад
Paul Stoffregen
9035369e63
Merge pull request #313 from FrankBoesing/patch-5
void (* _VectorsRam[160+16])(void);
6 лет назад
Kurt Eckhardt
3f700149ea
T4-SerialX fleshing out code
Fleshing out some of the missing pieces. - Need to test
copy NVIC execution priority from T3
Set priority per Serial object
RTS pin
CTS pin - only Serial3 supports
setRX, setTX - do nothing none of these have two pins defined.
Maybe temporary - but added from previous code ability to add second buffer for RX and TX
6 лет назад
Kurt Eckhardt
58322b749a
T4 SerialX - Read in all in FiFO on LPUART_STAT_RDRF
Put in code to read all of the current stuff in Receive queue on Interrupt..
6 лет назад
Frank
6d5bf17c96
void (* _VectorsRam[160+16])(void);
..use NVIC_NUM_INTERRUPTS instead
i know, very minor documentational issue :)
6 лет назад
Kurt Eckhardt
2209a9f01b
T4 - SerialX Support for Transmitter Enable
Used macros from OneWIre to fast set/clear the optional Transmitter Enable support.
Also fixed bug in ISR where was not properly looking for TC. This will help make SerialX->flush() to work
6 лет назад
PaulStoffregen
4c7cf387c8
Delete extra / old copy of pinMode
6 лет назад
Paul Stoffregen
575c90cb68
Merge pull request #310 from KurtE/T4_HardwareSerial
T4 - Hardware Serial - Pass 1
6 лет назад
Paul Stoffregen
8f75ec1b8a
Merge pull request #311 from el-supremo/patch-1
Update AudioStream.cpp
6 лет назад