Fixed bug #523.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7164 35acf78f-673a-0410-8e92-d51de3d6d3f4
Added systime_t chThdSleepUntilWindowed(systime_t prev, systime_t next) API.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7165 35acf78f-673a-0410-8e92-d51de3d6d3f4
Added chSysConditionalLock() and chSysConditionalUnlock() functions to RT and NIL. Improved debug documentation.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7166 35acf78f-673a-0410-8e92-d51de3d6d3f4
Added brackets as suggested in #523.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7167 35acf78f-673a-0410-8e92-d51de3d6d3f4
Enhance events in RT. Events documentation cleanup.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7169 35acf78f-673a-0410-8e92-d51de3d6d3f4
Fixed bug #525.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7172 35acf78f-673a-0410-8e92-d51de3d6d3f4
More on bug #525.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7174 35acf78f-673a-0410-8e92-d51de3d6d3f4
[STM32 FSMC NAND] Testhal application cleanup.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7175 35acf78f-673a-0410-8e92-d51de3d6d3f4
[STM32 FSMC NAND] Driver variant using dedicated FSMC interrupts finished and tested in hardware.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7176 35acf78f-673a-0410-8e92-d51de3d6d3f4
[STM32 FSMC NAND] Testhal minor fix.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7177 35acf78f-673a-0410-8e92-d51de3d6d3f4
[KINETIS] Add support for FEI mode

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7178 35acf78f-673a-0410-8e92-d51de3d6d3f4
[KINETIS] Config option for FEI mode + PEE config moved

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7179 35acf78f-673a-0410-8e92-d51de3d6d3f4
[KINETIS] Fix typos and comments

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7180 35acf78f-673a-0410-8e92-d51de3d6d3f4
[KINETIS] Fix opendrain output configuration

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7181 35acf78f-673a-0410-8e92-d51de3d6d3f4
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7182 35acf78f-673a-0410-8e92-d51de3d6d3f4
[KINETIS] Fix SPI registers for K2 family

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7183 35acf78f-673a-0410-8e92-d51de3d6d3f4
[KINETIS] Use ASCII chars on license because people don't like UTF-8...

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7184 35acf78f-673a-0410-8e92-d51de3d6d3f4
[KINETIS] Add SPI driver for K2x family

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7185 35acf78f-673a-0410-8e92-d51de3d6d3f4
[KINETIS] Add MCHCK board files

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7186 35acf78f-673a-0410-8e92-d51de3d6d3f4
[KINETIS] Add MC HCK demo

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7187 35acf78f-673a-0410-8e92-d51de3d6d3f4