RT-Thread/rt-thread — pull request #385 by ArdaFu (2014-11-24 05:24:17+00:00)
Title: Add INIT_EXPORT_EX micro define

This micro will help the user to organize the start sequence of board/device/application initialization functions.
We add three per-define micros:
INIT_BOARD_EXPORT_EX(fn, index)
INIT_DEVICE_EXPORT_EX(fn, index)
INIT_APP_EXPORT_EX(fn, index)
When using the micro INIT_APP_EXPORT_EX(fn, index), index will be convert to a string to identify the sequence.
e.g If we have 5 init functions, and set the index as 0,1,01,10,02. Then the sequence should be 0->01->02->1->10