Kurt Eckhardt
3be6fe5205
T4 compile fix - imxrt.h move )
pirms 3 gadiem
PaulStoffregen
1cd7925894
Group address defines together
pirms 3 gadiem
PaulStoffregen
d916a5cb50
Define peripheral address names
pirms 3 gadiem
Kurt Eckhardt
bfcb71b7c1
Add defines for SNVS_LPGPR0-3 and GPR_Z_DIS
There was questions up on forum threads:
https://forum.pjrc.com/threads/66076-Teensy-4-x-s-1062-MCU-has-16-bytes-of-NVRAM-on-RTC-unit?p=268385#post268385
Originally in the thread: https://forum.pjrc.com/threads/64592-Teensyduino-1-54-Beta-5?p=268336&viewfull=1#post268336
That said that the 16 byte memory that was battery backup was not defined nor worked.
So added the defines for the 4 registers. Only one early on alias was defined before this for the first one...
Also added in the SNVS_LPCR_GPR_Z define which the register bit was talked about in a few other register definitions, this bit was not actually defined in the reference manual, it said it was reserved. But reads or writes without this bit set in the register will zero out the 4 registers.
Tried example sketch to make sure it worked
pirms 3 gadiem
PaulStoffregen
bf413538ce
Add comment on timer usage
pirms 3 gadiem
PaulStoffregen
c346fc36ed
Increase program memory clock speed
pirms 3 gadiem
Tim Gates
0c4383aadb
docs: fix simple typo, capbilities -> capabilities
There is a small typo in teensy3/usb_desc.c, teensy4/usb_desc.c.
Should read `capabilities` rather than `capbilities`.
pirms 3 gadiem
Frank
9f4e4e698d
add missing "WFI"
...prevent overheating when overclocking and exiting loop()
pirms 3 gadiem
Frank
f13e79eee2
Fix for https://github.com/PaulStoffregen/cores/issues/499
pirms 4 gadiem
PaulStoffregen
c5814d9c00
Don't allow seremu auto flush while adding to transmit buffer
pirms 4 gadiem
PaulStoffregen
2c9c826b17
Only auto-flush seremu when buffer contains partial packet
pirms 4 gadiem
Tino Hernandez
efd73c9545
Update PXP definitions for T4
pirms 4 gadiem
WMXZ-EU
b8992a8c00
Update usb.c
configure usb_mtp also from usb.c
pirms 4 gadiem
PaulStoffregen
dcac79c82e
Support Serial boolean check for Serial Monitor with HID serial emulation
pirms 4 gadiem
WMXZ-EU
6583cea0eb
Create usb_mtp.c
modified and adapted from rawhid
pirms 4 gadiem
WMXZ-EU
57ee56a04f
Create usb_mtp.h
mtp file derived from rawhid and modified slightly
pirms 4 gadiem
Kurt Eckhardt
7190fda027
Update HardwareSerial.cpp
If called second time - fix the counts to reflect just the size of the new buffer plus the static buffer.
Also as a precaution, resets the TX or RX head tail pointers back to 0 to make sure it is not indexing into memory that may not exist.
pirms 4 gadiem
PaulStoffregen
2ffd8f1836
Fix compile error
pirms 4 gadiem
PaulStoffregen
f6cb39e135
FS class is abstract, use pure virtual functions
pirms 4 gadiem
Tino Hernandez
027bf09566
T4 No USB Support
pirms 4 gadiem
Tino Hernandez
8d430873bb
Enable No USB for T4
pirms 4 gadiem
PaulStoffregen
5443bfd179
Define FILE_WRITE_BEGIN
pirms 4 gadiem
PaulStoffregen
36bfbd1648
Add File truncate(size)
pirms 4 gadiem
PaulStoffregen
8ad7ce6b54
Flash write functions for LittleFS
pirms 4 gadiem
PaulStoffregen
1064e48373
File support for files larger than 4GB
pirms 4 gadiem
PaulStoffregen
e772699044
Support printing 64 bit integers
pirms 4 gadiem
WMXZ-EU
77475684be
Update usb.c
To allow future MTP_SERIAL implementations and facilitate use of MTP_t4, that provides possibility of MTP_SERIAL
pirms 4 gadiem
Mike S
90e1ea9798
Fix dumb mistake on my part - thanksKurt
pirms 4 gadiem
PaulStoffregen
7f02c72b15
Add FS usedSize() and totalSize()
pirms 4 gadiem
PaulStoffregen
fcf4dfde09
Add FS rename
pirms 4 gadiem
Mike S
604f608b03
Update usb.c so MTP_repsonder can work at 600Mhz
pirms 4 gadiem
PaulStoffregen
b7be970f5e
FS functions need to be virtual
pirms 4 gadiem
Kurt Eckhardt
d48359fc2c
T3.x/LC-SerialX addMemoryFor...
An experiement to see how much work again it would take to add the T4 methods to allow user sketches to increase the size of Serial ports RX and TX buffers, without having to edit the Source code which does it then for all sketches.
T3.x SerialN Add extra memory capabilities for Serial1-6
Also
Fixed serialEventX yield handling when you call begin multiple times
There is an issue that if you are not using the serialEvent type code and you call SerialX.begin multiple times, it will add that item to the process list multiple times, which can overrun the memory and cause crash or the like.
Fix was to check the list first and see if we are already in the list.
pirms 4 gadiem
Kurt Eckhardt
9894c76f4f
T4.x Create Struct for IMXRT_GPIO
Wondered if this had already been done earlier.
Was not so am trying it now.
One side effect was had to change interrupt.c as there were
#defines for things like DR, GDIR which then caused compile issues with the structure. So renamed the defines.
Built about 3 programs with it so far. Which appear to still be working.
pirms 4 gadiem
Kurt Eckhardt
1cf63652db
Fixes to CSI registers
Missed a few, pllus one register fields name had wrong register name
pirms 4 gadiem
PaulStoffregen
928017fba3
Fix File.read()
pirms 4 gadiem
PaulStoffregen
e888ebd01a
File base class - becoming usable
pirms 4 gadiem
PaulStoffregen
e07712e752
Update sample Makefile for Teensy 4.x
pirms 4 gadiem
Kurt Eckhardt
787be1b0e9
imxrt.h - Add CSI Register field names
pirms 4 gadiem
PaulStoffregen
1f3f914f93
Check for STRICT_ANSI on non-standard functions, fixes #491
pirms 4 gadiem
PaulStoffregen
a5736a3ffd
Add comment to smalloc.h
pirms 4 gadiem
PaulStoffregen
a1a495a841
Never return NULL from String c_str()
https://forum.pjrc.com/threads/63842
pirms 4 gadiem
PaulStoffregen
e599c1acc7
Fix USB descriptors for Windows
pirms 4 gadiem
PaulStoffregen
553538cebb
Add external memory allocation functions
pirms 4 gadiem
PaulStoffregen
e207bcff0a
Add extmem_smalloc_pool for PSRAM on Teensy 4.1
pirms 4 gadiem
PaulStoffregen
98eef46654
smalloc headers safe for C++
pirms 4 gadiem
PaulStoffregen
37333a6779
Add smalloc from https://github.com/electrorys/smalloc
pirms 4 gadiem
PaulStoffregen
ba177b0d22
Disable printf format warnings - too pedantic
pirms 4 gadiem
PaulStoffregen
7a458043ea
Add experimental interface
pirms 4 gadiem
PaulStoffregen
a8046bbbad
Avoid isascii() & toascii()
pirms 4 gadiem