PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

revision.md 7.4KB

3 lat temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. ><b>Updated (4/20/20 v6.3.8)</b><br>
  2. * Maintenance release.<br>
  3. * Added new examples.<br>
  4. * Fixed all sketchs to work now, hopefully:).<br>
  5. * Teensy 4.0 should work now, many fixes.<br>
  6. * More code clean ups.<br>
  7. ><b>Updated (4/15/20 v6.3.7)</b><br>
  8. * Maintenance release.<br>
  9. * Added v1 Teensy 4.0 support.<br>
  10. * Updated and fixed examples.<br>
  11. * Updated docs.<br>
  12. ><b>Updated (2/9/20 v6.3.6)</b><br>
  13. * Maintenance release.<br>
  14. * Fixed Digital driver pin type to HAL.<br>
  15. * Snooze "sleep" now works for most drivers.<br>
  16. * Added Touch support for T-LC/36 Snooze "sleep" now!<br>
  17. * New function to change between LLS and VLLS modes in "deepSleep and hibernate".<br>
  18. * Wakeup ISR now run fastrun section for T3.x.<br>
  19. * Removed dummy Drivers, now will give an error if tried to use.<br>
  20. * Got rid of Drivers "isr" function, not needed since all "sleep" interrupt's run through the hal now.<br>
  21. * Changed "type" param to "mode" to not confict with pin type, i.e. "RISING,FALLING,etc...".<br>
  22. ><b>Updated (2/5/20 v6.3.5)</b><br>
  23. * Maintenance release.<br>
  24. * Uncoupled Snooze Class from drivers.<br>
  25. * Only deepSleep and hibernate work so far.<br>
  26. * Only LLS sleep mode for now.<br>
  27. * Checked all wakeups for TLC and 3.x.<br>
  28. * Hopefully improved wakeup sequence.<br>
  29. ><b>Updated (12/9/18 v6.3.4)</b><br>
  30. * Fixed sleep wake souce reporting.<br>
  31. * sleep compare now works.<br>
  32. * add more comments.<br>
  33. ><b>Updated (11/20/18 v6.3.3)</b><br>
  34. * Added F_CPU 256MHz.<br>
  35. ><b>Updated (11/4/17 v6.3.2)</b><br>
  36. * TeensyLC SnoozeSleepPWM example now works.<br>
  37. * Warning: now TeensyLC Internal Ref Clock is enabled, might lead to higher sleep currents.<br>
  38. ><b>Updated (9/5/17 v6.3.1)</b><br>
  39. * Fixed compare for TeensyLC<br>
  40. * Removed Wire library include from SnoozeAudio<br>
  41. ><b>Updated (8/30/17 v6.3.0)</b><br>
  42. * Fixed examples "compare driver", thanks Erik-k -> https://github.com/Erik-k.<br>
  43. * Audio Driver for ADC, DAC, STGL5000.<br>
  44. * add SPI Driver.<br>
  45. * added clock transistion -> pee_bple and blpe_pee.<br>
  46. * fixed VLLS3-1, was only using VLLS3.<br>
  47. * alarm driver function name change.<br>
  48. * fixed actual Compare Driver, added pins 9 and 4, pin 12 is not a valid pin.<br>
  49. ><b>Updated (3/27/17 v6.2.9)</b><br>
  50. * Fixed USB Serial driver for none USB_SERIAL type.<br>
  51. * Fixed return clock from sleep mode at 24MHz.<br>
  52. * Fixed typo in sleep_usb_serial.ino example.<br>
  53. ><b>Updated (2/20/17 v6.2.8)</b><br>
  54. * Re-added support for Teensy 3.0.<br>
  55. ><b>Updated (2/16/17 v6.2.7)</b><br>
  56. * Fixed sleep functions not returning right wakeup values.<br>
  57. * Updated examples.<br>
  58. * Added Teensy LC LED buffer driver.<br>
  59. * Usb works better now not perfect though.<br>
  60. ><b>Updated (1/31/17 v6.2.6)</b><br>
  61. * Fixed T3.6 High Speed Run deepSleep and hibernate.<br>
  62. * Timer driver only uses the LPO clock.<br>
  63. ><b>Updated (1/4/17 v6.2.5)</b><br>
  64. * Added Serial USB Driver.<br>
  65. * Added PWM Sleep Driver example.<br>
  66. ><b>Updated (10/18/16 v6.2.4)</b><br>
  67. * Fix bug with Teensy LC digital driver.<br>
  68. * Update README.md links.<br>
  69. ><b>Updated (10/18/16 v6.2.3)</b><br>
  70. * Temp fix for Teensy LC Timer driver below 50ms.<br>
  71. ><b>Updated (10/18/16 v6.2.2)</b><br>
  72. * Temp fix for Teensy error when not using RTC Library.<br>
  73. * Now hibernate and deepsleep work from a isr.<br>
  74. * Fix warnings from SnoozeCompare driver.<br>
  75. ><b>Updated (9/19/16 v6.2.1)</b><br>
  76. * Merge fix for core Digital wakeup from Github user jymoulin.<br>
  77. ><b>Updated (9/6/16 v6.2.0)</b><br>
  78. * Teensy35/36 now complies, need more testing for actual usage.<br>
  79. ><b>Updated (8/31/16 v6.1.1)</b><br>
  80. * Fixed skelton class example.<br>
  81. ><b>Updated (8/30/16 v6.1.0)</b><br>
  82. * Add INPUT_PULLDOWN code.<br>
  83. ><b>Updated (7/12/16 v6.0.3)</b><br>
  84. * Update License.<br>
  85. * Fix core millis count for low power timer wakeup.<br>
  86. * Add driver for Audio Library.<br>
  87. ><b>Updated (7/11/16 v6.0.2)</b><br>
  88. * Teensy LC now compiles.<br>
  89. ><b>Updated (6/29/16 v6.0.1)</b><br>
  90. * Initial Teensy 3.5 support.<br>
  91. * Fixed Touch and Compare modules for Teensy LC.<br>
  92. ><b>Updated (4/20/16 v6.0.0)</b><br>
  93. * New API.<br>
  94. ><b>Updated (1/12/16 v5.0.1)</b><br>
  95. * Fix for new Teensy Reg Defs.<br>
  96. ><b>Updated (10/27/15 v5.0.0)</b><br>
  97. * Now CPU Scaling is supported by the REDUCED_CPU_BLOCK macro.<br>
  98. * Reset systick when cpu goes to 2 MHz.<br>
  99. ><b>Updated (9/30/15 v5.4.2)</b><br>
  100. * Fixed Compiling TeensyLC PDB register in peripheral.h.<br>
  101. * Fixed TeensyLC warnings.<br>
  102. ><b>Updated (9/7/15 v5.4.1)</b><br>
  103. * Removed debug stuff.<br>
  104. * Fixed Properites Catagory warning.<br>
  105. ><b>Updated (6/4/15 v5.4)</b><br>
  106. * Made setTimer "time" param uint16_t.<br>
  107. * Fixed sleep function tsi wakeup for Teensy LC, Teensy 3.x not working yet maybe never.<br>
  108. * Removed unused code.<br>
  109. ><b>Updated (5/31/15 v5.3)</b><br>
  110. * Fixed sleep function low power timer.<br>
  111. * Fixed digital pin wake on LOW or HIGH interrupt type, now if pin interrupt type is configured LOW and the pin is LOW when going into sleep it will wake immediately, the same goes for if it is HIGH interrupt type.<br>
  112. ><b>Updated (5/28/15 v5.2.1)</b><br>
  113. * Remove debug stuff.<br>
  114. ><b>Updated (5/19/15 v5.2)</b><br>
  115. * Better documentation now but still needs work.<br>
  116. * Fixed TSI wakeup number for sleep interrupts.<br>
  117. * Digital Pins configurations only now change interrupt vector for the selected pin for the sleep function. This was do to Adafruit_nRF8001 library needing to keep its interrupt config intact. Possible problems still exists if a SnoozeBlock pin shares the same vector as the library or user code, not really sure how to handle that.
  118. * Fixed LPTMR not resseting its compare time if other wakeup interrupt came before it. This would make the LPTMR not wait the full param time to fire its interrupt in next sleep mode.
  119. * All library interrupts priorities raised to (current - 16) and LLWU priority raised to 32 because calling a function from an isr will block a lower priority interrupt.
  120. ><b>Updated (4/24/15 v5.1)</b><br>
  121. * Fixed bug in Hibernate not giving the right wake up source and stopped setting unused registers in LLWU irq, Thanks to https://forum.pjrc.com/members/39437-rhubley.
  122. * Functions sleep, deepSleep and hibernate now return wake source.
  123. * Code cleanup and various code refactoring.
  124. * Added library properties.
  125. * Now compatible with Teensyduino 1.22.
  126. ><b>Updated (3/12/15)</b><br>
  127. * Fixed again setting digital pin for Teensy-3.x/LC.
  128. * Teensy LC pin 17 is set automatically to OUTPUT->LOW to reduce power.
  129. * Now TSI work with Teensy-LC for deepSleep and hibernate.
  130. * Compare some what works for Teensy-LC but will further modified in next release.
  131. * Examples now are now Teensy-LC compatible.
  132. ><b>Updated (3/9/15)</b><br>
  133. * Fixed setting digital pin for Teensy LC.
  134. * Also need to set Teensy LC pin 17 to OUTPUT->HIGH.
  135. ><b>Updated</b><br>
  136. * Initial TeensyLC support, not all wakeup sources are available, RTC, TSI, CMP and some digital pins are not waking the LC up either.
  137. <h3>Initial Release:</h3>
  138. 1. Trimmed down and simplified, tried to mimic standard Arduino conventions for setting wakeup pins etc..<br>
  139. 2. Since Teensyduino now can be programed at many different CPU speeds, dynamically changing cpu speeds is no longer supported, maybe in future I can bring it back if wanted.<br>
  140. 3. Now the teensy can sleep at ~10uA with hibernate function. Special care is need when using this function. Must uncomment the define statement to use.<br>
  141. 4. All sleep mode work the same with regards to setting up wakeup events. A separate class (SnoozeBlock) holds all configurations similar to LowPower_Teensy3's sleepBlock but I hope better and easier to implement.<br>