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