John Robinson
efeb0ee82c
move IRQ enable/disable into separate header
ver 5.7+ of the CMSIS library (arm_math / DSP) defines these exact same
symbols as "intrinsics" (the ASM is the same), and since CMSIS headers
and imxrt.h are included at some points (e.g. Audio library code) this
needs to be resolved
hace 3 años
John Robinson
76dab293f7
avoid clashing definition of round
only enabled if targeting C or a C++ version older than c++17, as it's
assumed that it works in those cases (Arduino targets c++14)
hace 3 años
Paul Stoffregen
61c47edbbd
Merge pull request #539 from FrankBoesing/patch-2
fix flash_wait(), fixes EEPROM write with -Os optimization
https://forum.pjrc.com/threads/66200
hace 3 años
Frank
08160a0f82
fix flash_wait()
https://forum.pjrc.com/threads/66200-T4-0-writing-to-EEPROM-hangs-when-built-using-quot-Smallest-Code-quot-optimizaton?p=269445&viewfull=1#post269445
hace 3 años
PaulStoffregen
5e72d6b9bd
Update usb_desc.h
fixes #524
hace 3 años
Paul Stoffregen
ce3d6773a6
Merge pull request #528 from WMXZ-EU/patch-8
Update usb_desc.h
hace 3 años
Paul Stoffregen
a2ba2b5282
Merge pull request #521 from KurtE/Teensy4_debug_printf_usb
Allow cores\teensy4 printf debug optionally go to USB
hace 3 años
Paul Stoffregen
0911c5ba05
Merge pull request #532 from KurtE/mtp_event_usb_desc_only
T3/T4.x MTP device descriptor - update endpoint and size
hace 3 años
Paul Stoffregen
026ad21461
Merge pull request #538 from KurtE/imxrt_define_build_fix
T4 compile fix - imxrt.h move )
hace 3 años
Kurt Eckhardt
3be6fe5205
T4 compile fix - imxrt.h move )
hace 3 años
PaulStoffregen
1cd7925894
Group address defines together
hace 3 años
PaulStoffregen
d916a5cb50
Define peripheral address names
hace 3 años
Paul Stoffregen
e0303868e8
Merge pull request #537 from KurtE/SNVS_LPGPR0-4
Add defines for SNVS_LPGPR0-3 and GPR_Z_DIS
hace 3 años
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
hace 3 años
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.
hace 3 años
PaulStoffregen
bf413538ce
Add comment on timer usage
hace 3 años
WMXZ-EU
2222c2ecaf
Update usb_desc.h
allow multiple parameters for events
hace 3 años
PaulStoffregen
c346fc36ed
Increase program memory clock speed
hace 3 años
Paul Stoffregen
a0f8e1107a
Merge pull request #523 from timgates42/bugfix_typo_capabilities
docs: fix simple typo, capbilities -> capabilities
hace 3 años
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`.
hace 3 años
Paul Stoffregen
70a5ba5d8d
Merge pull request #522 from FrankBoesing/patch-1
add missing "WFI"
hace 3 años
Frank
9f4e4e698d
add missing "WFI"
...prevent overheating when overclocking and exiting loop()
hace 3 años
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
hace 3 años
Paul Stoffregen
c85d2574bc
Merge pull request #520 from Defragster/patch-10
Update mk20dx128.c re FSEC use on 3.5/3.6
hace 4 años
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
hace 4 años
Paul Stoffregen
75405569b7
Merge pull request #518 from FrankBoesing/patch-1
Fix for https://github.com/PaulStoffregen/cores/issues/499
hace 4 años
Frank
f13e79eee2
Fix for https://github.com/PaulStoffregen/cores/issues/499
hace 4 años
PaulStoffregen
08693a6829
Fix ack to HID serial emulation startup feature report on Teensy 3
hace 4 años
PaulStoffregen
c5814d9c00
Don't allow seremu auto flush while adding to transmit buffer
hace 4 años
PaulStoffregen
2c9c826b17
Only auto-flush seremu when buffer contains partial packet
hace 4 años
Paul Stoffregen
0386e5d0e2
Merge pull request #516 from vjmuzik/T4-PXP-Defs
Update PXP defines for T4
hace 4 años
Tino Hernandez
efd73c9545
Update PXP definitions for T4
hace 4 años
Paul Stoffregen
cb92ea93f1
Merge pull request #514 from WMXZ-EU/patch-5
Update usb.c
hace 4 años
WMXZ-EU
b8992a8c00
Update usb.c
configure usb_mtp also from usb.c
hace 4 años
PaulStoffregen
dcac79c82e
Support Serial boolean check for Serial Monitor with HID serial emulation
hace 4 años
Paul Stoffregen
92c5147b19
Merge pull request #513 from WMXZ-EU/patch-4
Create usb_mtp.c
hace 4 años
Paul Stoffregen
ee08a9a108
Merge pull request #512 from WMXZ-EU/patch-3
Create usb_mtp.h
hace 4 años
WMXZ-EU
6583cea0eb
Create usb_mtp.c
modified and adapted from rawhid
hace 4 años
WMXZ-EU
57ee56a04f
Create usb_mtp.h
mtp file derived from rawhid and modified slightly
hace 4 años
Paul Stoffregen
c559d1aaa3
Merge pull request #510 from KurtE/T4-HardwareSerial-addMemory-fix
Update HardwareSerial.cpp
hace 4 años
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.
hace 4 años
Paul Stoffregen
ce30cc41e0
Merge pull request #500 from KurtE/T3X_SerialX_AddMemory
T3 x serial x add memory
hace 4 años
Paul Stoffregen
1268d2666f
Merge pull request #489 from KurtE/serial_half_duplex
T3.x,T4.x LC Serial half duplex support
hace 4 años
PaulStoffregen
2ffd8f1836
Fix compile error
hace 4 años
Paul Stoffregen
abeb92884e
Merge pull request #271 from vjmuzik/master
Configurable Midi Port Names
hace 4 años
Paul Stoffregen
cfb2c3120e
Merge pull request #509 from vjmuzik/T4-No-USB-Support
T4 No USB Support
hace 4 años
PaulStoffregen
f6cb39e135
FS class is abstract, use pure virtual functions
hace 4 años
Tino Hernandez
027bf09566
T4 No USB Support
hace 4 años
Tino Hernandez
8d430873bb
Enable No USB for T4
hace 4 años
Tino Hernandez
7cb39b2f4d
Merge remote-tracking branch 'upstream/master'
hace 4 años