Frank
dc1426be97
fix warning: comparison is always false due to limited range of data type
7 years ago
Tilo Nitzsche
56b2af9f9a
analogWrite() can fail with LTO. Fix casts with undefined behavior.
7 years ago
PaulStoffregen
5128bae4e8
MTP Fixes (thanks Fredrik Hubinette)
7 years ago
PaulStoffregen
a821a45c54
Add Keyboard.h & Mouse.h for Arduino examples compatibility
7 years ago
PaulStoffregen
cd1b7d8a51
map() returns long when any integer type used
7 years ago
PaulStoffregen
e7362d6da1
Fix type_traits vs min() compatibility issue
7 years ago
PaulStoffregen
490d83c942
Fix SPI1 & SPI2 DMA mux defines for Teensy 3.5
7 years ago
PaulStoffregen
768926244c
Use constexpr constructors for all Serial classes
7 years ago
PaulStoffregen
77e813b2a6
analogWriteResolution() returns prior setting
7 years ago
PaulStoffregen
68aecd945a
map function support for floats and improved integer scaling
7 years ago
PaulStoffregen
1730d0b754
Fix for stricmp
7 years ago
PaulStoffregen
d204b6d9fa
Fix for pow10 & exp10
7 years ago
PaulStoffregen
3580ee2bd0
Add Print::availableForWrite
7 years ago
PaulStoffregen
b01a30b020
Move the flush from Stream to Print
7 years ago
tni
528c6e5182
Add missing SPCR definitions. ( #243 )
7 years ago
PaulStoffregen
cda660cf67
Add Field bits for external wake up in LLWU (thanks yoonghm)
Fixes #239
7 years ago
Tilo Nitzsche
0288b22167
Fix for GCC generating bad code for DMAChannel TCD access when it can't prove alignment.
7 years ago
Frank
061dcfc4ee
add SMC_STOPCTRL ( #237 )
* add SMC_STOPCTRL
https://forum.pjrc.com/threads/43362-SMC_VLLSCTRL-register-is-not-found-in-K66-(Teensy-3-6)
* Update kinetis.h
7 years ago
YoongHM
94309bc71b
Bit fields for RTC_IER
Easy field manipulation for RTC_IER register
7 years ago
PaulStoffregen
1fbcbfd83b
Fix PINC AVR emulation
fixes #231
7 years ago
Tilo Nitzsche
2822098fbe
Make Print and Stream constructors constexpr.
7 years ago
Tilo Nitzsche
91190e6cf4
Revert "Fix malloc corrupting the stack. Added new function reserve_stack() to adjust the amount of memory reserved for the stack."
Different version applied upstream.
This reverts commit c5bdda910b
.
7 years ago
PaulStoffregen
055b1ab770
Add register bit defs for DAC & PDB DAC trigger
7 years ago
thewknd
35469febf3
Remove duplicate lines
7 years ago
thewknd
91bef221c2
Check for used pins in serial_end and serial3_end
7 years ago
thewknd
a70e6fd5d1
Add pin 24 & 25 to Teensy LC serial_begin()
7 years ago
PaulStoffregen
83b837a520
Don't try slow clock for PWM on Teensy LC (not supported by hardware)
7 years ago
PaulStoffregen
fb5b81d75f
Serial.begin() to wait up to 1 second for Arduino Serial Monitor
7 years ago
Jonathan Hanna
39fcbd878b
Disable definition of __ARM_FEATURE_UNALIGNED.
7 years ago
PaulStoffregen
da92eda747
Start USB sooner during delay before running user code
7 years ago
PaulStoffregen
e8748e9b3c
Fix 9 bit mode on Serial1 & Serial2 on Teensy LC
7 years ago
PaulStoffregen
3ff62c9798
Add defs for digital input filters
7 years ago
PaulStoffregen
a47e0cfb8f
Add volume() function to AudioInputUSB
7 years ago
PaulStoffregen
8b833f02d9
Don't leak setup_struct into Arduino sketch namespace
7 years ago
PaulStoffregen
e0e04e7e07
Use isochronous adaptive mode for audio transmit
7 years ago
PaulStoffregen
d30f8ccab8
Add using Print::write to hardware serial
7 years ago
PaulStoffregen
7f1f852b10
Disallow malloc memory too close to stack pointer
Fixes #219
7 years ago
Tilo Nitzsche
c5bdda910b
Fix malloc corrupting the stack. Added new function reserve_stack() to adjust the amount of memory reserved for the stack.
7 years ago
PaulStoffregen
afbfd3b298
Fix IntervalTimer on Teensy 3.5
7 years ago
Mr. B
002a71f935
Fix to dtostrf for small numbers
This fixes a couple of items when converting small numbers. Seems to be a bug in fcvtf, which this is a workaround. One issue is with trailing zeros, other is with rounding. See this post for some examples.
https://forum.pjrc.com/threads/1227-Teensy3-alternative-for-dtostrf()?p=104967&viewfull=1#post104967
7 years ago
Frank
fb95fa7e15
Allow definition of AUDIO_BLOCK_SAMPLES and AUDIO_SAMPLE_RATE_EXACT from comandline
Hi Paul,
i know that defining the sample-rate from the commandline is - at the moment - not useful.
But it is a first step to make ist possible :)
For AUDIO_BLOCK_SAMPLE, pls see this thread: https://forum.pjrc.com/threads/37131-Change-Audio-Block-Size
7 years ago
Mr. B
dfc217e0a2
usb_serial.clear doesn't compile for F_CPU < 20 MHz
When clear function was added, it was not put in the null operations list when no USB enabled
7 years ago
PaulStoffregen
43df4595f6
Improve AVR sleep compatibility
7 years ago
PaulStoffregen
71487284eb
Compatibility with libraries that include only Print.h
7 years ago
PaulStoffregen
e4878b340f
Add compatibility for seldom-used avr-libc _PF functions
7 years ago
PaulStoffregen
253da1599d
Add support for if (String) syntax
7 years ago
PaulStoffregen
f5f05e9ade
Add extreme joystick (disabled by default)
https://forum.pjrc.com/threads/23681-Many-axis-joystick?p=41943&viewfull=1#post41943
7 years ago
Frank
5ec35efdac
fix warning (-wmisleading indentation) (GCC6)
7 years ago
b0rg3rt
ccc008a0bf
initial commit of disconnect support
7 years ago
thewknd
05d0e72ebe
fix serial6_set_tx
7 years ago