Commit Graph

8534 Commits

Author SHA1 Message Date
Gregory Nutt 27c48a383e Don't do 64-bit calculations if accuracy not achievable; Fix compile error in high res RTC mode 2014-08-15 17:48:07 -06:00
Gregory Nutt 88bf9f3ffb Update ChangeLog 2014-08-15 16:02:57 -06:00
Gregory Nutt f60ff46646 Remove libc/time/tzfile.h; content moved inside of libc/time/lib_localtime.c 2014-08-15 15:59:57 -06:00
Gregory Nutt 96bc77fb93 libc/time/lib_localtime.c is much closer to NuttX coding style. libc/time/private.h removed; incorporated into lib_localtime.c 2014-08-15 15:38:37 -06:00
Gregory Nutt b30087ed44 Update ChangeLog 2014-08-15 04:00:51 -06:00
Gregory Nutt eed1d6c619 When reading the system timer, don't read a struct timespec, convert it to a fake tick count, then back to a timespec. Remove CLOCK_ACTIVETIME.. it is non-standard, unused, and gets in the way of changes like this 2014-08-15 03:55:41 -06:00
Gregory Nutt 2bc07a03ae Correct release notes, updat changelog, fix some conditional compilation 2014-08-15 06:56:42 -06:00
Gregory Nutt eab47a0566 Update remaining documents for the 7.4 release 2014-08-14 16:34:39 -06:00
Gregory Nutt e903810818 Update ChangeLogs and ReleaseNotes for 7.4 release (not complete) 2014-08-14 15:46:00 -06:00
Gregory Nutt 569a0815ca Updated comments 2014-08-12 13:50:18 -06:00
Gregory Nutt 318270d849 Fix warning caused by change in mktime prototype 2014-08-12 13:50:08 -06:00
Gregory Nutt 6546fa39c7 Tickless Stuff: Back out the risky timer operations when the ready-to-run list is modified. That is unsafe. An ugly workaround is just to keep an interval timer going all of the time with a minimum duration equal to the timeslice interval. 2014-08-12 11:12:00 -06:00
Gregory Nutt eef608b942 Update README files 2014-08-12 10:01:12 -06:00
Gregory Nutt c9ba1d4091 Fix conditional compilation error 2014-08-12 10:00:58 -06:00
Gregory Nutt 686e5d7e3d Tickless: If using an ALARM, then really should report time of expiration 2014-08-12 10:00:32 -06:00
Gregory Nutt 66803d0db6 Define interfaces to use an alarm instead of an interval timer with the tickless option 2014-08-12 07:28:41 -06:00
Gregory Nutt d4e2f9534d Update ChangeLog 2014-08-12 06:21:54 -06:00
Gregory Nutt 7025465109 Adds support for localtime. From Max Neklyudov 2014-08-12 06:18:22 -06:00
Gregory Nutt 4b39606d59 Add a Sudoku game 2014-08-11 19:27:48 -06:00
Gregory Nutt e1fc925705 Minor update to handling of timeslick delay on tast switches 2014-08-11 15:07:15 -06:00
Gregory Nutt 1787b3e600 SAMA5: Enable the 32.768 crystal if SCHED_TICKLESS is selected 2014-08-11 14:29:43 -06:00
Gregory Nutt 56196ecea1 Fix a computation error in the fix for the last computational error 2014-08-11 12:07:49 -06:00
Gregory Nutt 1cc184ec41 Update ChangeLog 2014-08-11 11:22:29 -06:00
Gregory Nutt b4bbe354fd Fix inaccurate time conversion. Remove MSEC_PER_TICK and convert uint32_t to uin64_t. 2014-08-11 11:14:40 -06:00
Gregory Nutt 51da249d0e Correct time conversion, 1000000 not 1000 to convert seconds to microseconds. 2014-08-11 11:14:10 -06:00
Gregory Nutt d67623ee61 Update ChangeLog 2014-08-11 08:29:00 -06:00
Gregory Nutt 649ef76f71 Timers: In Tickless mode, need to stop the interval timer before inserted a new delay into the timer list. Otherwise, the time is incorrect on the first entry of the list 2014-08-11 08:25:25 -06:00
Gregory Nutt f2058fa271 Comment out reassessment of timer in the middle of context switches. Need to revisit 2014-08-11 07:05:47 -06:00
Gregory Nutt c6273d083d Updated README files 2014-08-10 20:02:45 -06:00
Gregory Nutt cd53f96f11 SAMA5 Tickless: Corrects some logic errors with timer/counter frequency 2014-08-10 19:04:18 -06:00
Gregory Nutt 8855c1369b Cosmetic 2014-08-10 16:09:45 -06:00
Gregory Nutt bedef6a807 Updated ChangeLog 2014-08-10 13:14:18 -06:00
Gregory Nutt 6bd52bce06 Tickless OS: Correct a bug: logic to detect changes in head of timer list was wrong. 2014-08-10 13:12:18 -06:00
Gregory Nutt e4ab3198e1 Slightly improved nanosecond calculation 2014-08-10 13:11:52 -06:00
Gregory Nutt c7a51f4ef1 Cosmetic changed, updated README files, improved comments 2014-08-10 13:11:31 -06:00
Gregory Nutt 71e18367f6 Don't try to return time remaining if the timespec pointer is NULL 2014-08-10 11:39:16 -06:00
Gregory Nutt a5514be85c Move TC debug options to one file 2014-08-10 11:38:44 -06:00
Gregory Nutt 219c1a68d3 Update comments 2014-08-10 11:38:08 -06:00
Gregory Nutt b39b227e2a Update README files 2014-08-10 11:34:20 -06:00
Gregory Nutt b6cb8766e9 Updated ChangedLog 2014-08-10 10:49:46 -06:00
Gregory Nutt 320707fdfa SAMA5: Fix bugs in timer/counter interrupts and one-shot timer 2014-08-10 10:47:38 -06:00
Gregory Nutt 6324df44e8 SAMA5 Timer/counter repair: Missing sem_post() caused a hang 2014-08-09 18:34:52 -06:00
Gregory Nutt c44f9ec764 Update ChangeLog 2014-08-09 17:16:20 -06:00
Gregory Nutt d1d1d76189 SAMA5: Use the one-shot and free-running timers to implement tickless OS support for SAMA5 2014-08-09 17:14:51 -06:00
Gregory Nutt a05ce21399 Update ChangeLog 2014-08-09 16:45:29 -06:00
Gregory Nutt 569d5d7218 SAMA5 free-running timer: Add support for a free-running timer wrapper around the low-level timer/counter logic. 2014-08-09 16:43:48 -06:00
Gregory Nutt acb05460d0 SAMA5 oneshot: Some clean-up and correction to the initial implementation 2014-08-09 16:42:04 -06:00
Gregory Nutt 84b86e32be Update ChangeLog 2014-08-09 15:29:47 -06:00
Gregory Nutt d8aa6c01bd SAMA5 timer/counter: Add support for a one-shot timer wrapper around the low-level timer/counter logic. This also involved several changes that rippled into the ADC driver (untested). 2014-08-09 15:27:55 -06:00
Gregory Nutt 407eefe085 Update ChangeLog 2014-08-09 10:35:45 -06:00