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 години