Defragster
f5df47d9e5
track millis - no magic
hace 6 años
Defragster
8cb4de3469
expose ccmicros for testing
micros() unchanged - minor systick_isr() diversion - one line added to systick_isr.
hace 6 años
Defragster
c4c5a0170f
opps - left in compared code
hace 6 años
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
hace 6 años
Defragster
ab6f5a396d
Merge pull request #1 from Defragster/Defragster-patch-1
Replace micros for one using CycCnt
hace 6 años
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
hace 6 años
Paul Stoffregen
2b6162bf79
Merge pull request #328 from FrankBoesing/patch-2
align(32) funct_table for faster access
hace 6 años
PaulStoffregen
e1a113da0c
Add tempmon, fixes #323
hace 6 años
PaulStoffregen
4b0abab261
Add watchdog defs, fixes #329
hace 6 años
PaulStoffregen
5b366e248e
Add Serial7 & Serial8 keywords, fixes #326
hace 6 años
Paul Stoffregen
5354b42ed3
Merge pull request #327 from Defragster/patch-1
Add NULL func to disable debug
hace 6 años
Paul Stoffregen
eff66bb5ff
Merge pull request #325 from xxxajk/master
digitalWriteFast bugfix
hace 6 años
Frank
cd0a7122b1
align(32) funct_table for faster access
hace 6 años
Defragster
b8a545b3bf
Add NULL func to disable debug
hace 6 años
Andrew Kroll
ca6e66f909
Fix digitalWriteFast
hace 6 años
Andrew Kroll
c284975191
Merge pull request #1 from PaulStoffregen/master
sync with upstream
hace 6 años
Paul Stoffregen
5d1b3e1093
Merge pull request #324 from KurtE/t4-Missing-files
T4 - Missing Core files
hace 6 años
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
hace 6 años
Paul Stoffregen
aa3e87266d
Merge pull request #321 from FrankBoesing/patch-7
alignment
hace 6 años
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.
hace 6 años
PaulStoffregen
fb0fcaa8b7
Fix compiler warnings
hace 6 años
PaulStoffregen
37f3ecc205
Add empty wiring_private.h, for compatibility with certain libraries
hace 6 años
PaulStoffregen
e78946ba14
Fix PWM polarity on pins 0, 1, 24, 25
hace 6 años
Paul Stoffregen
18d7da7a52
Merge pull request #319 from KurtE/T4_SerialX_Split_Objects
T4 serial x split objects
hace 6 años
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
hace 6 años
Paul Stoffregen
11161f7ca1
Merge pull request #318 from mjs513/master
AnalagReadRes & Averaging Updates
hace 6 años
Mike S
cd07025412
Corrected an copy paste error
hace 6 años
Mike S
756b9c4b0f
AnalagReadRes & Averaging Updates
hace 6 años
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...
hace 6 años
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...
hace 6 años
PaulStoffregen
2a7fc906f7
Fix DMAMEM
hace 6 años
PaulStoffregen
51233b208c
Add arm_math.h (thanks Manitou)
hace 6 años
Paul Stoffregen
d3f5573910
Merge pull request #317 from mjs513/master
AnalogReadResolution Added to Analog.c
hace 6 años
Mike S
47c74ec66c
Added AnalogReadResolution
hace 6 años
Mike S
77f11d6fc4
Merge pull request #1 from PaulStoffregen/master
update to latest commits
hace 6 años
PaulStoffregen
aee29bc892
Fix compiler warnings
hace 6 años
Paul Stoffregen
549f75e387
Merge pull request #315 from KurtE/t4-HardwareSerial-Transmitter_enable
T4 SerialX more support (Transmitter enable, Formats, RX Fifo read in...)
hace 6 años
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...
hace 6 años
Paul Stoffregen
40a8afc124
Merge pull request #314 from mjs513/master
Final Correction to Tempmon Registes and Added analogreadaveraging
hace 6 años
Mike S
214071e0cd
Update analog.c
hace 6 años
Mike S
292bb6553d
corrections & updates
Tempsense2 address correction and added analogreadaveraging code.
hace 6 años
PaulStoffregen
d2bbae3e9c
Add LED define, for IRremote
hace 6 años
Paul Stoffregen
9035369e63
Merge pull request #313 from FrankBoesing/patch-5
void (* _VectorsRam[160+16])(void);
hace 6 años
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
hace 6 años
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..
hace 6 años
Frank
6d5bf17c96
void (* _VectorsRam[160+16])(void);
..use NVIC_NUM_INTERRUPTS instead
i know, very minor documentational issue :)
hace 6 años
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
hace 6 años
PaulStoffregen
4c7cf387c8
Delete extra / old copy of pinMode
hace 6 años
Paul Stoffregen
575c90cb68
Merge pull request #310 from KurtE/T4_HardwareSerial
T4 - Hardware Serial - Pass 1
hace 6 años
Paul Stoffregen
8f75ec1b8a
Merge pull request #311 from el-supremo/patch-1
Update AudioStream.cpp
hace 6 años