Menu

Commit [r212]  Maximize  Restore  History

Major changes on the R1 codeline that have been pending for a long time.

- Added a bunch of "how-to" examples based on flAVR
- Fixed up the GUI library and built-in control code, added a GUI example (using flAVR, again)
- Ported idle-function support to all current AVR targets
- Got rid of some old examples that were more confusing than helpful
- Moved profiling and sanity tests into the unit-test directory, and refactored to support the unit-test APIs
- unit-test APIs now moved out of the "middleware libraries" section, and now get built into the UT platform directly
- Added thread-state tracking to Thread object. APIs allow a user to see if threads are ready, blocked, stopped, or exit'd.
- Fixed a bunch of instrumentation code that breaks now that g_pstNext is volatile
- Changed stacks in UT code to K_WORD from K_UCHAR (portability issues)
- Fixed logic in semaphore/mutex/event-flag objects to determine when a Yield() is required.
- Previous implementation did not handle priority inheritence properly
- Fixed bug preventing round-robin scheduling from being applied to static threads (those created before the kernel starts)
- Fixed a bug in Thread::Exit() that could hang the kernel in a variety of circumstances
- Fixed a similar bug in Thread::Stop()
- Change to remove pending timer callbacks from threads when Thread::Stop() is called, which could cause trouble.
- Fixed a bug in Timers where erratic behavior could be observed due to the m_ulTimerTolerance flag not being initialized
- Fixed a bug in Round-Robin scheduling where unblocking multiple threads in a given priority level can result in the wrong thread being scheduled.
- New approach ensures that threads get added to the *tail* of the threadlist, not the *head*

Summary:
- Dynamic threading is much more reliable (Stop & Exit behavior)
- Round-robin scheduling is much more reliable
- Timers are more reliable
- Priority inheritence works correctly
- Idle function works on all supported AVRs.

m0slevin 2015-05-28

<< < 1 2 3 4 5 > >> (Page 3 of 5)
changed /branch/release/R1/embedded/scripts/build_profile_doc_sim.sh
changed /branch/release/R1/embedded/scripts/hw_test.py
removed /branch/release/R1/embedded/scripts/profile.txt
removed /branch/release/R1/embedded/scripts/sanity.sh
removed /branch/release/R1/embedded/scripts/sanity_sim.sh
changed /branch/release/R1/embedded/scripts/sim_test.py
changed /branch/release/R1/embedded/scripts/size_profile.sh
changed /branch/release/R1/embedded/services/gui/control_button.cpp
changed /branch/release/R1/embedded/services/gui/control_checkbox.cpp
changed /branch/release/R1/embedded/services/gui/control_gamepanel.cpp
changed /branch/release/R1/embedded/services/gui/control_groupbox.cpp
changed /branch/release/R1/embedded/services/gui/control_label.cpp
changed /branch/release/R1/embedded/services/gui/control_progress.cpp
added /branch/release/R1/embedded/services/gui/control_sevenseg.cpp
changed /branch/release/R1/embedded/services/gui/control_slickbutton.cpp
changed /branch/release/R1/embedded/services/gui/control_slickprogress.cpp
changed /branch/release/R1/embedded/services/gui/gui.cpp
changed /branch/release/R1/embedded/services/gui/makefile
changed /branch/release/R1/embedded/services/gui/public/control_checkbox.h
changed /branch/release/R1/embedded/services/gui/public/control_gamepanel.h
changed /branch/release/R1/embedded/services/gui/public/control_groupbox.h
changed /branch/release/R1/embedded/services/gui/public/control_label.h
changed /branch/release/R1/embedded/services/gui/public/control_panel.h
added /branch/release/R1/embedded/services/gui/public/control_sevenseg.h
changed /branch/release/R1/embedded/services/gui/public/control_slickgroupbox.h
/branch/release/R1/embedded/scripts/build_profile_doc_sim.sh Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/scripts/hw_test.py Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/scripts/sim_test.py Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/scripts/size_profile.sh Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/control_button.cpp Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/control_checkbox.cpp Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/control_gamepanel.cpp Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/control_groupbox.cpp Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/control_label.cpp Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/control_progress.cpp Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/control_sevenseg.cpp Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/control_slickbutton.cpp Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/control_slickprogress.cpp Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/gui.cpp Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/makefile Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/public/control_checkbox.h Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/public/control_gamepanel.h Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/public/control_groupbox.h Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/public/control_label.h Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/public/control_panel.h Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/public/control_sevenseg.h Diff Switch to side-by-side view
Loading...
/branch/release/R1/embedded/services/gui/public/control_slickgroupbox.h Diff Switch to side-by-side view
Loading...
<< < 1 2 3 4 5 > >> (Page 3 of 5)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.