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 роки тому