thewknd
a3b53f21a0
check SIM_SCGC1_UART4 in serial5_set_tx
7 years ago
thewknd
f43caad2f7
check SIM_SCGC1_UART5 in serial6_set_tx
7 years ago
thewknd
6aa957082f
check SIM_SCGC2_LPUART0 in serial6_set_tx
7 years ago
duff2013
70e53f0986
Teensy 3.5 does not have 32ch llwu ( #204 )
7 years ago
PaulStoffregen
8a02ea67f5
Workaround for strict aliasing warnings with -O2
8 years ago
PaulStoffregen
1074e6433c
Use only 32 bit float in arm_snr_f32()
8 years ago
Frank
9febfa653b
Fix: write returns zero ( #202 )
https://forum.pjrc.com/threads/40893-Incorrect-return-for-Serial-write()-on-Teensy-3-6?p=127732#post127732
I'm not sure if this fix has some side-effects - how will other functions react when it does not return zero anymore ?
8 years ago
Frank
fc3ef1ecf4
Fix printf return value ( #203 )
https://forum.pjrc.com/threads/40893-Incorrect-return-for-Serial-write()-on-Teensy-3-6?p=127764&viewfull=1#post127764
8 years ago
PaulStoffregen
c117b46778
Never inline _init_Teensyduino_internal_
8 years ago
PaulStoffregen
2b24e39e13
Improve bitWrite macro
8 years ago
PaulStoffregen
9c88ebefaf
Add comment about editing AUDIO_BLOCK_SAMPLES
8 years ago
Frank
1372c982f6
AudioStream.h: Allow inclusion from assembler .S files ( #200 )
AudioStream.h: Allow inclusion from assembler .S files
8 years ago
PaulStoffregen
e76a593adc
Allow attachInterrupt without pinMode (for AVR compatibility)
8 years ago
PaulStoffregen
56f36603ad
Add pinMode INPUT_DISABLE
8 years ago
PaulStoffregen
8807de5d61
Update version constants in sample makefile
8 years ago
PaulStoffregen
be40459682
Don't allow pre-init of Serial2 Teensy 3.2 pins on Teensy3.6
8 years ago
PaulStoffregen
f9813d201b
Rewrite IntervalTimer
8 years ago
PaulStoffregen
eae654412c
dtostrf support nan & inf (Frank Boesing)
8 years ago
Frank Bösing
cecfe51276
Set RTS Watermarks dependend of rx-buffersize
8 years ago
PaulStoffregen
adaa362acd
Use const pointers for Stream find functions
8 years ago
PaulStoffregen
2185bdc936
Fix analogReadResolution ADC1 cal
8 years ago
PaulStoffregen
b5fb899b02
Fix USB Audio on Windows when used with USB Serial
8 years ago
PaulStoffregen
df8958ff5f
Fix USB descriptors, unique PIDs for newer USB types
8 years ago
Frank Bösing
6dd6073c2c
serialX buffersizes
Additional PR for SERIALX_DISABLE follows
8 years ago
Alexander Shtuchkin
fdf4e7af50
Fix fcvtf warning
8 years ago
Alexander Shtuchkin
c7c0ce05aa
Fix compile warnings related to kinetis_hsrun_enable
8 years ago
Alexander Shtuchkin
ff83ba5546
Fix compilation error with recent newlib versions because random() return value doesn't match
8 years ago
Jasper Poppe
af7b17edd7
fixed toolspath
The spaces after TOOLSPATH will append to the variable value. Merged the on Linux comment with previous comment to fix.
8 years ago
PaulStoffregen
809482c72e
Only implement HSRUN changes when F_CPU > 120 MHz
8 years ago
PaulStoffregen
27fa2e2a52
Use USB clock recovery when running USB from IRC48M oscillator
8 years ago
PaulStoffregen
4797fce596
use HSRUN functions in eeprom
8 years ago
PaulStoffregen
10bf2bdb3d
Use HSRUN functions for USB serial number
8 years ago
PaulStoffregen
1bdf4faa90
Add HSRUN functions
8 years ago
Kurt Eckhardt
09dec1905c
Pin 32 is default SCK1 not pin 20
Earlier I had pin 20 as the default SCK1, but card shows that pin 32 is
the default pin
8 years ago
PaulStoffregen
52697d0ef6
Fix CORE_ADCxx_PIN defines
8 years ago
PaulStoffregen
b04b9f6689
Add HAS_KINETIS_SDHC for Teensy 3.5 & 3.6
8 years ago
concreteboot
1ec34883ca
nbytes transfer count when minor loop enabled is 10 bits not 5
8 years ago
Defragster
8a577902fd
Update eeprom.c
close hole for race condition
8 years ago
Tilo Nitzsche
66e384c22a
"Fast pin interrupt dispatching based on CLZ."
8 years ago
Tilo Nitzsche
c5083ed7cd
Fix issue #181 . Improved pin interrupt dispatch performance.
8 years ago
Defragster
a5cd6fd4fb
Add delay_us for safety - since eeprom_init can drop int's move hsrun_off as init is hsrun safe
Has to add core_pins.h to get delayMicroseconds()
made empty while()'s on HSRUN state change have a measurable 2us wait
each iteration
added explicit 100us delay leaving HSRUN to allow internal V to
satbilize, seems CPU does this already as 10-50 us made no change, and
100 is not measurable on larger writes.
since eeprom_initialize() blindly restores interrupts amd can run under
HSRUN, moved hsrun_off()
8 years ago
Frank
653b4e607a
Add checks for nan, infm and ovr to increase arduino-compatibility
8 years ago
Defragster
f3c401a348
EEPROM write on T_3.6 under HSRUN - Drop and Raise
EEPROM write on T_3.6 under HSRUN - Drop and Raise
8 years ago
Defragster
2facd223a1
#ifdef version - same code - no runtime check - T_3.6 >120000000 specific code that works
https://forum.pjrc.com/threads/34808-K66-Beta-Test?p=116690&viewfull=1#post116690
8 years ago
Defragster
fc8222a8c3
Drop HSRUN across Ser# read with interrupts off
Results in valid serial # presented to USB host when T_3.6 is in HSRUN mode.
8 years ago
Kurt Eckhardt
67e4f2166b
T3.5/3.6 - SPI has additional Miso/Mosi/SCK pins
Added in the additional SPI pins
MISO 39
MOSI 28
SCK 27
Tested with my ILI9341_t3n (SPIN) version. Will also
Add to ILI9341_t3.
8 years ago
Kurt Eckhardt
8cbf04ccd5
Fix PWM and Analog Pin counts om T3.5 and T3.6
Recent additions did not update these counts.
Seperated T3.5 from T3.6 as PWM and Analog counts are different
8 years ago
PaulStoffregen
3b96d28851
Fix pin number comments
8 years ago
PaulStoffregen
28d7ba477e
Use analog pin to channel tables (faster)
8 years ago
PaulStoffregen
f496103194
Always define the SD card pins - do it like we mean it!
8 years ago