PaulStoffregen
8807de5d61
Update version constants in sample makefile
il y a 8 ans
PaulStoffregen
be40459682
Don't allow pre-init of Serial2 Teensy 3.2 pins on Teensy3.6
il y a 8 ans
PaulStoffregen
f9813d201b
Rewrite IntervalTimer
il y a 8 ans
PaulStoffregen
eae654412c
dtostrf support nan & inf (Frank Boesing)
il y a 8 ans
PaulStoffregen
adaa362acd
Use const pointers for Stream find functions
il y a 8 ans
PaulStoffregen
2185bdc936
Fix analogReadResolution ADC1 cal
il y a 8 ans
PaulStoffregen
b5fb899b02
Fix USB Audio on Windows when used with USB Serial
il y a 8 ans
PaulStoffregen
df8958ff5f
Fix USB descriptors, unique PIDs for newer USB types
il y a 8 ans
Frank Bösing
6dd6073c2c
serialX buffersizes
Additional PR for SERIALX_DISABLE follows
il y a 8 ans
Alexander Shtuchkin
fdf4e7af50
Fix fcvtf warning
il y a 8 ans
Alexander Shtuchkin
c7c0ce05aa
Fix compile warnings related to kinetis_hsrun_enable
il y a 8 ans
Alexander Shtuchkin
ff83ba5546
Fix compilation error with recent newlib versions because random() return value doesn't match
il y a 8 ans
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.
il y a 8 ans
PaulStoffregen
809482c72e
Only implement HSRUN changes when F_CPU > 120 MHz
il y a 8 ans
PaulStoffregen
27fa2e2a52
Use USB clock recovery when running USB from IRC48M oscillator
il y a 8 ans
PaulStoffregen
4797fce596
use HSRUN functions in eeprom
il y a 8 ans
PaulStoffregen
10bf2bdb3d
Use HSRUN functions for USB serial number
il y a 8 ans
PaulStoffregen
1bdf4faa90
Add HSRUN functions
il y a 8 ans
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
il y a 8 ans
PaulStoffregen
52697d0ef6
Fix CORE_ADCxx_PIN defines
il y a 8 ans
PaulStoffregen
b04b9f6689
Add HAS_KINETIS_SDHC for Teensy 3.5 & 3.6
il y a 8 ans
concreteboot
1ec34883ca
nbytes transfer count when minor loop enabled is 10 bits not 5
il y a 8 ans
Defragster
8a577902fd
Update eeprom.c
close hole for race condition
il y a 8 ans
Tilo Nitzsche
66e384c22a
"Fast pin interrupt dispatching based on CLZ."
il y a 8 ans
Tilo Nitzsche
c5083ed7cd
Fix issue #181 . Improved pin interrupt dispatch performance.
il y a 8 ans
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()
il y a 8 ans
Frank
653b4e607a
Add checks for nan, infm and ovr to increase arduino-compatibility
il y a 8 ans
Defragster
f3c401a348
EEPROM write on T_3.6 under HSRUN - Drop and Raise
EEPROM write on T_3.6 under HSRUN - Drop and Raise
il y a 8 ans
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
il y a 8 ans
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.
il y a 8 ans
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.
il y a 8 ans
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
il y a 8 ans
PaulStoffregen
3b96d28851
Fix pin number comments
il y a 8 ans
PaulStoffregen
28d7ba477e
Use analog pin to channel tables (faster)
il y a 8 ans
PaulStoffregen
f496103194
Always define the SD card pins - do it like we mean it!
il y a 8 ans
Kurt Eckhardt
310f359860
Wrong DMAMUX Source for SPI0_TX
il y a 8 ans
PaulStoffregen
b03b27ece5
Support PWM on pins 16 & 17 on Teensy 3.6
il y a 8 ans
Kurt Eckhardt
426a53c281
Fix Serial6 for Teensy 3.5
Needed to add new Define for clock gate
Plus defines to use the new clock gate, plus correct case name for the
serial6 isr to match what is in system isr table
il y a 8 ans
Kurt Eckhardt
8fdabf68ed
One less compare
il y a 8 ans
Kurt Eckhardt
cf6bf5863a
Add A23 and A24 for T3.5 and T3.6 board
I added pins 49 and 50 as analog pins A23 and A24. I still left in the
special casing for pins 44 and 45 being used for Temp and analog
reference
il y a 8 ans
Kurt Eckhardt
eef956bb2d
Update Board Names
il y a 8 ans
Kurt Eckhardt
db1e687b18
T3.5/T3.6 Beta: Optional Allow SDCard pins
With the new beta boards, for those users who don't need an SDCard for
their project, it would be great to allow them to use the 6 IO pins
associated with the SDCARD for other purposes. This would probably
require a cheap adapter, but these are nice signals to be able to be
used. They include:
SPI1: SCK, MISO, MOSI, CS0-2
Serail2: TX/RX
Serial4: TX/RX
I2C1: SCL/SDA
This change adds support for GPIO, SPI, Serial2 and Serial4
il y a 8 ans
PaulStoffregen
0ed6ba9a96
Fix USB serial number on K64 & K66
il y a 8 ans
PaulStoffregen
ce27c4c50b
Add misc SDHC register bitfield defs
il y a 8 ans
Defragster
00438a66ed
When concat is same string to string, use memcpy, allows for re-alloc to move string on growth
https://forum.pjrc.com/threads/35688-Something-wrong-with-Adding-a-String-to-itself!?p=111109#post111109
il y a 8 ans
Kurt Eckhardt
899cbecc02
Enable Uart 2 stop bit capabilities
The T-LC and the new beta boards T3.6 and soon T3.5 hardware uarts have
ability to turn on 2 stop bits. So enabled on these boards.
il y a 8 ans
Kurt Eckhardt
a8c467f5e6
Fix Compile error for Teensy LC
il y a 8 ans
Kurt Eckhardt
1067caf0ba
Beta Board names Change
il y a 8 ans
Kurt Eckhardt
78189d6f15
Serial4.setTX - used wrong SIm_SCGC4 test
Was using UART2, should be UART3
il y a 8 ans
Kurt Eckhardt
da4b27c0db
T3.2 Serial2.end - handle alternate pins
On T3.2 if you do something like:
Serial2.setTX(31);
Serial2.setRX(26);
Serial2.begin(.9600);
...
Serial2.end();
It will on the end call will always reconfigure pins 9 and 10 to be
digital pins MUX = 1
il y a 8 ans