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
PaulStoffregen
68036bdef6
Add defines for FTM/TPM timer pins
7 years ago
Frank
b51a304afb
fix limit checks readString/readStringUntil
https://forum.pjrc.com/threads/41282-Strange-looking-limit-checks-in-Teensy3-Version-of-Stream-cpp
7 years ago
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
7 years ago
PaulStoffregen
1074e6433c
Use only 32 bit float in arm_snr_f32()
7 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 ?
7 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
7 years ago
PaulStoffregen
c117b46778
Never inline _init_Teensyduino_internal_
7 years ago
PaulStoffregen
2b24e39e13
Improve bitWrite macro
7 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