/* AMiRo-Apps is a collection of applications for the Autonomous Mini Robot (AMiRo) platform. Copyright (C) 2018..2020 Thomas Schöpping et al. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ #ifndef MAININCLUDES_HPP #define MAININCLUDES_HPP #include #include static URT_THREAD_MEMORY(hellosvenja_thread, 512); static URT_THREAD_MEMORY(hellothomas_thread, 256); static urt_node_t hellosvenja_node; static urt_node_t hellothomas_node; #define AMIROOS_CFG_MAIN_INIT_HOOK_3() { \ urtCoreInit(); \ char temp = 's'; \ char temp2 = 't'; \ helloWorldInit(&hellosvenja_node, (urt_osThread_t*)hellosvenja_thread, (void*)temp); \ helloWorldInit(&hellothomas_node, (urt_osThread_t*)hellothomas_thread, (void*)temp2); \ } #define AMIROOS_CFG_MAIN_INIT_HOOK_4() { \ urtCoreStartNodes(); \ } #endif /* MAININCLUDES_HPP */