Revision cb835a3e
| os/amiroos.h | ||
|---|---|---|
| 56 | 56 |
|
| 57 | 57 |
/* core headers */ |
| 58 | 58 |
#include <aosconf.h> |
| 59 |
#include <module.h> |
|
| 59 |
#include <hal.h> |
|
| 60 |
#include <hal_qei.h> |
|
| 61 |
#include <ch.h> |
|
| 60 | 62 |
|
| 61 | 63 |
#if !defined(_AMIRO_OS_CFG_) |
| 62 | 64 |
#error "invalid AMiRo-OS configuration file" |
| os/core/inc/aos_confcheck.h | ||
|---|---|---|
| 33 | 33 |
#error "AMIROOS_CFG_SSSP_SYSSYNCPERIOD not defined in aosconf.h" |
| 34 | 34 |
#endif |
| 35 | 35 |
|
| 36 |
#ifndef AMIROOS_CFG_DBG |
|
| 37 |
#error "AMIROOS_CFG_DBG not defined in aosconf.h" |
|
| 38 |
#endif |
|
| 39 |
|
|
| 36 | 40 |
#ifndef AMIROOS_CFG_TESTS_ENABLE |
| 37 | 41 |
#error "AMIROOS_CFG_TESTS_ENABLE not defined in aosconf.h" |
| 38 | 42 |
#endif |
| ... | ... | |
| 59 | 63 |
#error "AMIROOS_CFG_SHELL_STACKSIZE not defined in aosconf.h" |
| 60 | 64 |
#endif |
| 61 | 65 |
|
| 66 |
#ifndef AMIROOS_CFG_SHELL_THREADPRIO |
|
| 67 |
#error "AMIROOS_CFG_SHELL_THREADPRIO not defined in aosconf.h" |
|
| 68 |
#endif |
|
| 69 |
|
|
| 62 | 70 |
#ifndef AMIROOS_CFG_SHELL_LINEWIDTH |
| 63 | 71 |
#error "AMIROOS_CFG_SHELL_LINEWIDTH not defined in aosconf.h" |
| 64 | 72 |
#endif |
| os/core/inc/aos_shell.h | ||
|---|---|---|
| 21 | 21 |
|
| 22 | 22 |
#include <aosconf.h> |
| 23 | 23 |
#if (AMIROOS_CFG_SHELL_ENABLE == true) |
| 24 |
|
|
| 25 | 24 |
#include <hal.h> |
| 26 | 25 |
#include <aos_types.h> |
| 27 |
//#include <aos_iostream.h> |
|
| 28 | 26 |
|
| 29 | 27 |
/** |
| 30 | 28 |
* @brief Shell event flag that is emitted when the thread starts. |
| os/core/inc/aos_unittest.h | ||
|---|---|---|
| 21 | 21 |
|
| 22 | 22 |
#include <aosconf.h> |
| 23 | 23 |
#if (AMIROOS_CFG_TESTS_ENABLE == true) || defined(__DOXYGEN__) |
| 24 |
|
|
| 25 | 24 |
#include <hal.h> |
| 26 | 25 |
#include <aos_shell.h> |
| 27 | 26 |
|
| os/core/src/aos_main.cpp | ||
|---|---|---|
| 16 | 16 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | 17 |
*/ |
| 18 | 18 |
|
| 19 |
#include <hal.h> |
|
| 20 |
#include <ch.h> |
|
| 21 | 19 |
#include <amiroos.h> |
| 20 |
#include <module.h> |
|
| 22 | 21 |
|
| 23 | 22 |
/* |
| 24 | 23 |
* hook to add further includes |
| os/core/src/aos_shell.c | ||
|---|---|---|
| 22 | 22 |
#include <aos_debug.h> |
| 23 | 23 |
#include <aos_time.h> |
| 24 | 24 |
#include <aos_system.h> |
| 25 |
#include <chprintf.h> |
|
| 26 | 25 |
#include <string.h> |
| 27 |
#include <aos_thread.h> |
|
| 28 |
|
|
| 29 |
|
|
| 30 | 26 |
|
| 31 | 27 |
/** |
| 32 | 28 |
* @brief Event mask to be set on OS related events. |
| os/core/src/aos_system.c | ||
|---|---|---|
| 18 | 18 |
|
| 19 | 19 |
#include <aos_system.h> |
| 20 | 20 |
|
| 21 |
#include <chprintf.h> |
|
| 22 | 21 |
#include <amiroos.h> |
| 23 | 22 |
#include <amiroblt.h> |
| 24 | 23 |
#include <string.h> |
| 25 |
#include <stdarg.h> |
|
| 26 | 24 |
#if (AMIROOS_CFG_TESTS_ENABLE == true) |
| 27 | 25 |
#include <ch_test.h> |
| 28 | 26 |
#endif |
| os/modules/DiWheelDrive_1-1/aosconf.h | ||
|---|---|---|
| 157 | 157 |
|
| 158 | 158 |
/** @} */ |
| 159 | 159 |
|
| 160 |
#endif // _AOSCONF_H_
|
|
| 160 |
#endif /* _AOSCONF_H_ */
|
|
| 161 | 161 |
|
| os/modules/LightRing_1-0/aosconf.h | ||
|---|---|---|
| 157 | 157 |
|
| 158 | 158 |
/** @} */ |
| 159 | 159 |
|
| 160 |
#endif // _AOSCONF_H_
|
|
| 160 |
#endif /* _AOSCONF_H_ */
|
|
| 161 | 161 |
|
| os/modules/PowerManagement_1-1/aosconf.h | ||
|---|---|---|
| 157 | 157 |
|
| 158 | 158 |
/** @} */ |
| 159 | 159 |
|
| 160 |
#endif // _AOSCONF_H_
|
|
| 160 |
#endif /* _AOSCONF_H_ */
|
|
| 161 | 161 |
|
| periphery-lld/periphAL.h | ||
|---|---|---|
| 40 | 40 |
/*============================================================================*/ |
| 41 | 41 |
|
| 42 | 42 |
#include <periphALtypes.h> |
| 43 |
|
|
| 44 | 43 |
#include <hal.h> |
| 45 | 44 |
#include <hal_qei.h> |
| 46 |
#include <ch.h> |
|
| 47 | 45 |
#include <aos_debug.h> |
| 48 | 46 |
|
| 49 | 47 |
/*============================================================================*/ |
Also available in: Unified diff