PaulStoffregen
4d5c71b841
Move PIT timer init after CPU clock set
fixes #394
5 lat temu
PaulStoffregen
695f22ef79
RawHID compiles (empty functions) and auto-reboot works
5 lat temu
PaulStoffregen
87017725d6
Undo PIT timer usage by ROM startup, fixes >2 IntervalTimer instances
https://forum.pjrc.com/threads/57360-Teensy4-IntervalTimer-Channels-Problem
5 lat temu
PaulStoffregen
934b48584d
Fix compiler warnings when not printing Serial4 debug info
5 lat temu
Kurt Eckhardt
4f24f25a32
Main loop - call yield - yield can call SerialEvent
Comment out some of the main programs debug print statements plus add yield call to main loop.
yield can now call SerialEvent.
Put hack in that if the user has not overwritten the SerialEvent function, the weak linked one will turn off calling itself...
5 lat temu
PaulStoffregen
0ce5990edb
Add RTC functions
5 lat temu
PaulStoffregen
08bacbf7b3
Don't call printf_debug explicitly
5 lat temu
Frank
0cb6ea8de3
while(1); -> while (1) asm ("WFI");
Saves power and prevents heating
5 lat temu
PaulStoffregen
24620b1a71
Dynamically partition ITCM & DTCM on IMXRT1062
5 lat temu
PaulStoffregen
151121fc4d
Use fast GPIO registers on IMXRT1062, probably breaks attachInterrupt
5 lat temu
Mike S
57da39b53b
update setpad in Analog.c and added debug info in startup
5 lat temu
Defragster
bf3329ab08
clock halved - halve blink wait count
5 lat temu
Frank
19b8b55cdc
pendablesrvreq_isr = priority 32;
6 lat temu
Defragster
cf96471a79
Expose alt weak func(), label displayed dump
Code from :: https://community.nxp.com/thread/389002
Name the fault dump info
New weak to override :: HardFault_HandlerC()
6 lat temu
Defragster
a5aa846df7
Drop CPU speed and TEMP when faulted offline
6 lat temu
Frank
da35bc16c7
add reset PFD3
6 lat temu
Frank
6306ec99f8
Fix PLL2-PFD
This fixes the PFDs for PLL2 - by default, it has totally wrong values. This sets the frequencies according to the diagram on Page 676.
The same fix is needed for PLL3 - I have code (same structure), but it does not work - Do have have any hints for me?
Is PLL3 even running? I not, can we start it? Or, if i is running - at which frequency, and is there any non-std config?
6 lat temu
Defragster
bc2762a426
remove comment
6 lat temu
Defragster
5ee1d187e3
No need for _sync using CycCnt on each systick
6 lat temu
Defragster
6ba4fe8e3d
Replace micros for one using CycCnt
Alternate micros() extends millis() using ARM_DWT_CYCCNT
> Also makes unused_interrupt_vector() weak to allow user override like Teensy3
6 lat temu
PaulStoffregen
e1a113da0c
Add tempmon, fixes #323
6 lat temu
PaulStoffregen
aee29bc892
Fix compiler warnings
6 lat temu
Frank
6d5bf17c96
void (* _VectorsRam[160+16])(void);
..use NVIC_NUM_INTERRUPTS instead
i know, very minor documentational issue :)
6 lat temu
PaulStoffregen
c4ab57c003
EventResponder, MillisTimer, yield
6 lat temu
PaulStoffregen
4d620d12cd
(Hopefully) fix C++ constructors
6 lat temu
PaulStoffregen
7153086e77
Don't disturb pin 13 (leftover debugging code)
6 lat temu
Frank
4317a52591
SCB_SHPR3 = 0x20000000; // Systick = priority 32
6 lat temu
Frank
95ad3b5a30
default 128 priority for all interrupts
6 lat temu
PaulStoffregen
9174cad274
Fix crash at startup with Og optimization
6 lat temu
PaulStoffregen
742625eb00
Fix crash as startup with Fastest (O3) optimization
6 lat temu
PaulStoffregen
4e51477dbb
More syscall functions
6 lat temu
PaulStoffregen
c93cf0f039
Implement set_arm_clock
6 lat temu
PaulStoffregen
f0a549961c
Use USB serial number from Mac Address in fuses
6 lat temu
PaulStoffregen
7548dc7492
Configure UART clock before use
6 lat temu
PaulStoffregen
e3bb2b648a
IntervalTimer on imxrt
6 lat temu
PaulStoffregen
e77897e77e
Enable FPU & stack dump in unused isr
6 lat temu
PaulStoffregen
89e54de809
analogRead & analogWrite on imxrt
6 lat temu
PaulStoffregen
addd88d076
basic usb serial on imxrt
6 lat temu
PaulStoffregen
e687673ddf
First commit, Teensy4 work-in-progress
6 lat temu