PaulStoffregen
5e72d6b9bd
Update usb_desc.h
fixes #524
3 лет назад
Paul Stoffregen
ce3d6773a6
Merge pull request #528 from WMXZ-EU/patch-8
Update usb_desc.h
3 лет назад
Paul Stoffregen
a2ba2b5282
Merge pull request #521 from KurtE/Teensy4_debug_printf_usb
Allow cores\teensy4 printf debug optionally go to USB
3 лет назад
Paul Stoffregen
0911c5ba05
Merge pull request #532 from KurtE/mtp_event_usb_desc_only
T3/T4.x MTP device descriptor - update endpoint and size
3 лет назад
Paul Stoffregen
026ad21461
Merge pull request #538 from KurtE/imxrt_define_build_fix
T4 compile fix - imxrt.h move )
3 лет назад
Kurt Eckhardt
3be6fe5205
T4 compile fix - imxrt.h move )
3 лет назад
PaulStoffregen
1cd7925894
Group address defines together
3 лет назад
PaulStoffregen
d916a5cb50
Define peripheral address names
3 лет назад
Paul Stoffregen
e0303868e8
Merge pull request #537 from KurtE/SNVS_LPGPR0-4
Add defines for SNVS_LPGPR0-3 and GPR_Z_DIS
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 лет назад
Kurt Eckhardt
c63e467bad
T3/T4.x MTP device descriptor - update endpoint and size
For T4.x to allow MTP USB type device to generate events to send to the host, the Endpoint configuration need to change to say that we are transmitting on interrupt, not receiving.
Plus I updated the end point event size to 32 as some events might be > 16. 16 is only large enought so send one parameter. I noticed Kindle Fire has it set to something like 28...
I have done similar changes for T3.x but have not tested it yet.
3 лет назад
PaulStoffregen
bf413538ce
Add comment on timer usage
3 лет назад
WMXZ-EU
2222c2ecaf
Update usb_desc.h
allow multiple parameters for events
3 лет назад
PaulStoffregen
c346fc36ed
Increase program memory clock speed
3 лет назад
Paul Stoffregen
a0f8e1107a
Merge pull request #523 from timgates42/bugfix_typo_capabilities
docs: fix simple typo, capbilities -> capabilities
4 лет назад
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 лет назад
Paul Stoffregen
70a5ba5d8d
Merge pull request #522 from FrankBoesing/patch-1
add missing "WFI"
4 лет назад
Frank
9f4e4e698d
add missing "WFI"
...prevent overheating when overclocking and exiting loop()
4 лет назад
Kurt Eckhardt
65866e43e2
Allow cores\teensy4 printf debug optionally go to USB
There are times when I wish to debug the cores files, that I wish I could do debug output to USB. Note: can do with cpp files by doing Serial.printf or the like, but more of a pain with .c files.
The printf stuff put into cores has been very useful for debuging esperailly earlier on. I understand some of the time it is needed to debug usb stuff or early on stuff so TX pin of Serial4 makes sense.
But for other debugging sessions, wish you had option to go output to the logical Serial object.
So I added a new commented out define in the printf.h file that syas
#define PRINT_DEBUG_USING_USB
That is uncommented, the debug function putchar_debug is defined to either use usb_serial_putchar if we are using normal USB Serial or use usb_seremu_putchar if using Serial emulation.
So far my main testing has been with seremu..
Not sure if this is something you are interested in. but just in case.
Did this Pull Request
4 лет назад
Paul Stoffregen
c85d2574bc
Merge pull request #520 from Defragster/patch-10
Update mk20dx128.c re FSEC use on 3.5/3.6
4 лет назад
Defragster
ca3525f2cb
Update mk20dx128.c
RE forum post : https://forum.pjrc.com/threads/65070-Teensy-3-6-and-FSEC-security-register?p=262560&viewfull=1#post262560
Same FSEC change works on T_3.5 as well as the T_3.6
4 лет назад
Paul Stoffregen
75405569b7
Merge pull request #518 from FrankBoesing/patch-1
Fix for https://github.com/PaulStoffregen/cores/issues/499
4 лет назад
Frank
f13e79eee2
Fix for https://github.com/PaulStoffregen/cores/issues/499
4 лет назад
PaulStoffregen
08693a6829
Fix ack to HID serial emulation startup feature report on Teensy 3
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 лет назад
Paul Stoffregen
0386e5d0e2
Merge pull request #516 from vjmuzik/T4-PXP-Defs
Update PXP defines for T4
4 лет назад
Tino Hernandez
efd73c9545
Update PXP definitions for T4
4 лет назад
Paul Stoffregen
cb92ea93f1
Merge pull request #514 from WMXZ-EU/patch-5
Update usb.c
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 лет назад
Paul Stoffregen
92c5147b19
Merge pull request #513 from WMXZ-EU/patch-4
Create usb_mtp.c
4 лет назад
Paul Stoffregen
ee08a9a108
Merge pull request #512 from WMXZ-EU/patch-3
Create usb_mtp.h
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 лет назад
Paul Stoffregen
c559d1aaa3
Merge pull request #510 from KurtE/T4-HardwareSerial-addMemory-fix
Update HardwareSerial.cpp
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 лет назад
Paul Stoffregen
ce30cc41e0
Merge pull request #500 from KurtE/T3X_SerialX_AddMemory
T3 x serial x add memory
4 лет назад
Paul Stoffregen
1268d2666f
Merge pull request #489 from KurtE/serial_half_duplex
T3.x,T4.x LC Serial half duplex support
4 лет назад
PaulStoffregen
2ffd8f1836
Fix compile error
4 лет назад
Paul Stoffregen
abeb92884e
Merge pull request #271 from vjmuzik/master
Configurable Midi Port Names
4 лет назад
Paul Stoffregen
cfb2c3120e
Merge pull request #509 from vjmuzik/T4-No-USB-Support
T4 No USB Support
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 лет назад
Tino Hernandez
7cb39b2f4d
Merge remote-tracking branch 'upstream/master'
4 лет назад
PaulStoffregen
5443bfd179
Define FILE_WRITE_BEGIN
4 лет назад
PaulStoffregen
36bfbd1648
Add File truncate(size)
4 лет назад
PaulStoffregen
8ad7ce6b54
Flash write functions for LittleFS
4 лет назад
Paul Stoffregen
c2f30184ca
Merge pull request #506 from WMXZ-EU/patch-2
Update usb.c
4 лет назад