Kurt Eckhardt
3be6fe5205
T4 compile fix - imxrt.h move )
пре 3 година
PaulStoffregen
1cd7925894
Group address defines together
пре 3 година
PaulStoffregen
d916a5cb50
Define peripheral address names
пре 3 година
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
пре 3 година
PaulStoffregen
bf413538ce
Add comment on timer usage
пре 3 година
PaulStoffregen
c346fc36ed
Increase program memory clock speed
пре 3 година
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`.
пре 4 година
Frank
9f4e4e698d
add missing "WFI"
...prevent overheating when overclocking and exiting loop()
пре 4 година
Frank
f13e79eee2
Fix for https://github.com/PaulStoffregen/cores/issues/499
пре 4 година
PaulStoffregen
c5814d9c00
Don't allow seremu auto flush while adding to transmit buffer
пре 4 година
PaulStoffregen
2c9c826b17
Only auto-flush seremu when buffer contains partial packet
пре 4 година
Tino Hernandez
efd73c9545
Update PXP definitions for T4
пре 4 година
WMXZ-EU
b8992a8c00
Update usb.c
configure usb_mtp also from usb.c
пре 4 година
PaulStoffregen
dcac79c82e
Support Serial boolean check for Serial Monitor with HID serial emulation
пре 4 година
WMXZ-EU
6583cea0eb
Create usb_mtp.c
modified and adapted from rawhid
пре 4 година
WMXZ-EU
57ee56a04f
Create usb_mtp.h
mtp file derived from rawhid and modified slightly
пре 4 година
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.
пре 4 година
PaulStoffregen
2ffd8f1836
Fix compile error
пре 4 година
PaulStoffregen
f6cb39e135
FS class is abstract, use pure virtual functions
пре 4 година
Tino Hernandez
027bf09566
T4 No USB Support
пре 4 година
Tino Hernandez
8d430873bb
Enable No USB for T4
пре 4 година
PaulStoffregen
5443bfd179
Define FILE_WRITE_BEGIN
пре 4 година
PaulStoffregen
36bfbd1648
Add File truncate(size)
пре 4 година
PaulStoffregen
8ad7ce6b54
Flash write functions for LittleFS
пре 4 година
PaulStoffregen
1064e48373
File support for files larger than 4GB
пре 4 година
PaulStoffregen
e772699044
Support printing 64 bit integers
пре 4 година
WMXZ-EU
77475684be
Update usb.c
To allow future MTP_SERIAL implementations and facilitate use of MTP_t4, that provides possibility of MTP_SERIAL
пре 4 година
Mike S
90e1ea9798
Fix dumb mistake on my part - thanksKurt
пре 4 година
PaulStoffregen
7f02c72b15
Add FS usedSize() and totalSize()
пре 4 година
PaulStoffregen
fcf4dfde09
Add FS rename
пре 4 година
Mike S
604f608b03
Update usb.c so MTP_repsonder can work at 600Mhz
пре 4 година
PaulStoffregen
b7be970f5e
FS functions need to be virtual
пре 4 година
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.
пре 4 година
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.
пре 4 година
Kurt Eckhardt
1cf63652db
Fixes to CSI registers
Missed a few, pllus one register fields name had wrong register name
пре 4 година
PaulStoffregen
928017fba3
Fix File.read()
пре 4 година
PaulStoffregen
e888ebd01a
File base class - becoming usable
пре 4 година
PaulStoffregen
e07712e752
Update sample Makefile for Teensy 4.x
пре 4 година
Kurt Eckhardt
787be1b0e9
imxrt.h - Add CSI Register field names
пре 4 година
PaulStoffregen
1f3f914f93
Check for STRICT_ANSI on non-standard functions, fixes #491
пре 4 година
PaulStoffregen
a5736a3ffd
Add comment to smalloc.h
пре 4 година
PaulStoffregen
a1a495a841
Never return NULL from String c_str()
https://forum.pjrc.com/threads/63842
пре 4 година
PaulStoffregen
e599c1acc7
Fix USB descriptors for Windows
пре 4 година
PaulStoffregen
553538cebb
Add external memory allocation functions
пре 4 година
PaulStoffregen
e207bcff0a
Add extmem_smalloc_pool for PSRAM on Teensy 4.1
пре 4 година
PaulStoffregen
98eef46654
smalloc headers safe for C++
пре 4 година
PaulStoffregen
37333a6779
Add smalloc from https://github.com/electrorys/smalloc
пре 4 година
PaulStoffregen
ba177b0d22
Disable printf format warnings - too pedantic
пре 4 година
PaulStoffregen
7a458043ea
Add experimental interface
пре 4 година
PaulStoffregen
a8046bbbad
Avoid isascii() & toascii()
пре 4 година