Frank
c36325198d
Fix some Warnings
- unused parameter
- singed compare in int nvic_execution_priority(void)
7 лет назад
Frank
7b4e6aea9b
fix warning: comparison of unsigned expression < 0 is always false
7 лет назад
Frank
dc1426be97
fix warning: comparison is always false due to limited range of data type
7 лет назад
Tilo Nitzsche
56b2af9f9a
analogWrite() can fail with LTO. Fix casts with undefined behavior.
7 лет назад
PaulStoffregen
5128bae4e8
MTP Fixes (thanks Fredrik Hubinette)
7 лет назад
PaulStoffregen
a821a45c54
Add Keyboard.h & Mouse.h for Arduino examples compatibility
7 лет назад
PaulStoffregen
cd1b7d8a51
map() returns long when any integer type used
7 лет назад
PaulStoffregen
e7362d6da1
Fix type_traits vs min() compatibility issue
7 лет назад
PaulStoffregen
490d83c942
Fix SPI1 & SPI2 DMA mux defines for Teensy 3.5
7 лет назад
PaulStoffregen
768926244c
Use constexpr constructors for all Serial classes
7 лет назад
PaulStoffregen
77e813b2a6
analogWriteResolution() returns prior setting
7 лет назад
PaulStoffregen
68aecd945a
map function support for floats and improved integer scaling
7 лет назад
PaulStoffregen
1730d0b754
Fix for stricmp
7 лет назад
PaulStoffregen
d204b6d9fa
Fix for pow10 & exp10
7 лет назад
PaulStoffregen
3580ee2bd0
Add Print::availableForWrite
7 лет назад
PaulStoffregen
b01a30b020
Move the flush from Stream to Print
7 лет назад
tni
528c6e5182
Add missing SPCR definitions. ( #243 )
7 лет назад
PaulStoffregen
cda660cf67
Add Field bits for external wake up in LLWU (thanks yoonghm)
Fixes #239
7 лет назад
Tilo Nitzsche
0288b22167
Fix for GCC generating bad code for DMAChannel TCD access when it can't prove alignment.
7 лет назад
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 лет назад
YoongHM
94309bc71b
Bit fields for RTC_IER
Easy field manipulation for RTC_IER register
7 лет назад
PaulStoffregen
1fbcbfd83b
Fix PINC AVR emulation
fixes #231
7 лет назад
Tilo Nitzsche
2822098fbe
Make Print and Stream constructors constexpr.
7 лет назад
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 лет назад
PaulStoffregen
055b1ab770
Add register bit defs for DAC & PDB DAC trigger
7 лет назад
thewknd
35469febf3
Remove duplicate lines
7 лет назад
thewknd
91bef221c2
Check for used pins in serial_end and serial3_end
7 лет назад
thewknd
a70e6fd5d1
Add pin 24 & 25 to Teensy LC serial_begin()
7 лет назад
PaulStoffregen
83b837a520
Don't try slow clock for PWM on Teensy LC (not supported by hardware)
7 лет назад
PaulStoffregen
fb5b81d75f
Serial.begin() to wait up to 1 second for Arduino Serial Monitor
7 лет назад
Jonathan Hanna
39fcbd878b
Disable definition of __ARM_FEATURE_UNALIGNED.
7 лет назад
PaulStoffregen
da92eda747
Start USB sooner during delay before running user code
7 лет назад
PaulStoffregen
e8748e9b3c
Fix 9 bit mode on Serial1 & Serial2 on Teensy LC
7 лет назад
PaulStoffregen
3ff62c9798
Add defs for digital input filters
7 лет назад
PaulStoffregen
a47e0cfb8f
Add volume() function to AudioInputUSB
7 лет назад
PaulStoffregen
8b833f02d9
Don't leak setup_struct into Arduino sketch namespace
7 лет назад
PaulStoffregen
e0e04e7e07
Use isochronous adaptive mode for audio transmit
7 лет назад
PaulStoffregen
d30f8ccab8
Add using Print::write to hardware serial
7 лет назад
PaulStoffregen
7f1f852b10
Disallow malloc memory too close to stack pointer
Fixes #219
7 лет назад
Tilo Nitzsche
c5bdda910b
Fix malloc corrupting the stack. Added new function reserve_stack() to adjust the amount of memory reserved for the stack.
7 лет назад
PaulStoffregen
afbfd3b298
Fix IntervalTimer on Teensy 3.5
7 лет назад
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 лет назад
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 лет назад
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 лет назад
PaulStoffregen
43df4595f6
Improve AVR sleep compatibility
7 лет назад
PaulStoffregen
71487284eb
Compatibility with libraries that include only Print.h
7 лет назад
PaulStoffregen
e4878b340f
Add compatibility for seldom-used avr-libc _PF functions
7 лет назад
PaulStoffregen
253da1599d
Add support for if (String) syntax
7 лет назад
PaulStoffregen
f5f05e9ade
Add extreme joystick (disabled by default)
https://forum.pjrc.com/threads/23681-Many-axis-joystick?p=41943&viewfull=1#post41943
7 лет назад
Frank
5ec35efdac
fix warning (-wmisleading indentation) (GCC6)
7 лет назад