Revision 27286ba5

View differences:

amiroos.h
58 58
#include <aosconf.h>
59 59
#include <hal.h>
60 60
#include <ch.h>
61
#include <amiroblt.h>
62
#include <amiro-lld.h>
61 63

  
62 64
/* configuration check */
63 65
#if !defined(_AMIRO_OS_CFG_)
......
70 72

  
71 73
/* core headers */
72 74
#include "core/inc/aos_debug.h"
73
#include <core/inc/aos_iostream.h>
75
#include "core/inc/aos_iostream.h"
74 76
#include "core/inc/aos_shell.h"
75 77
#include "core/inc/aos_system.h"
76 78
#include "core/inc/aos_thread.h"
core/inc/aos_types.h
27 27
#ifndef _AMIROOS_TYPES_H_
28 28
#define _AMIROOS_TYPES_H_
29 29

  
30
#include <ch.h>
31

  
30 32
/**
31 33
 * @brief   Converts a GPIO pad number to a unique event flag.
32 34
 */
core/src/aos_shell.c
585 585
  return _mapAscii2Custom(str1[i]) - _mapAscii2Custom(str2[i]);
586 586
}
587 587

  
588
/**
589
 * @brief   Read input from a channel as long as there is data available.
590
 *
591
 * @param[in]   shell     Pointer to the shell object.
592
 * @param[in]   channel   The channel to read from.
593
 * @param[out]  n         Pointer to a variable to store the number of read characters to.
594
 *
595
 * @return
596
 */
588 597
static aos_status_t _readChannel(aos_shell_t* shell, AosShellChannel* channel, size_t* n)
589 598
{
590 599
  aosDbgCheck(shell != NULL);
......
997 1006
          shell->inputdata.noinput = true;
998 1007
        }
999 1008
        return AOS_SUCCESS;
1000
        break;
1001 1009
      }
1002 1010

  
1003 1011
      case AOS_SHELL_ACTION_ESCSTART:
......
1012 1020
      {
1013 1021
        // do nothing (ignore input) and read next byte
1014 1022
        continue;
1015
        break;
1016 1023
      }
1017 1024
    } /* end of switch */
1018 1025

  
modules/LightRing_1-0/module.c
16 16
along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 17
*/
18 18

  
19
/**
20
 * @file
21
 * @brief   Structures and constant for the LightRing v1.0 module.
22
 *
23
 * @addtogroup lightring_module
24
 * @{
25
 */
26

  
19 27
#include "module.h"
20 28

  
21 29
#include <amiroos.h>
periphery-lld/periphAL.h
41 41

  
42 42
#include <periphALtypes.h>
43 43
#include <hal.h>
44
#include <hal_qei.h>
45 44
#include <aos_debug.h>
46 45

  
47 46
/*============================================================================*/

Also available in: Unified diff