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`.
3 年之前
Frank
9f4e4e698d
add missing "WFI"
...prevent overheating when overclocking and exiting loop()
3 年之前
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 年之前