Browse Source

* fixed typo in readme

* fixed documentation in irq.h
* moved tools folder to dist
* added check for disk space in build_gnuarm script
* fixed gcc check in this script, too
dev/timer
Oleg Hahm 10 years ago
parent
commit
5aa00a4f8b
  1. 2
      README.md
  2. 13
      core/include/irq.h
  3. 0
      dist/tools/linux-border_router/Doxyfile
  4. 0
      dist/tools/linux-border_router/Makefile
  5. 0
      dist/tools/linux-border_router/control_2xxx.c
  6. 0
      dist/tools/linux-border_router/control_2xxx.h
  7. 0
      dist/tools/linux-border_router/flowcontrol.c
  8. 0
      dist/tools/linux-border_router/flowcontrol.h
  9. 0
      dist/tools/linux-border_router/main.c
  10. 0
      dist/tools/linux-border_router/multiplex.c
  11. 0
      dist/tools/linux-border_router/multiplex.h
  12. 0
      dist/tools/linux-border_router/serial.c
  13. 0
      dist/tools/linux-border_router/serial.h
  14. 0
      dist/tools/linux-border_router/serialnumber.c
  15. 0
      dist/tools/linux-border_router/serialnumber.h
  16. 0
      dist/tools/linux-border_router/sixlowdriver.c
  17. 0
      dist/tools/linux-border_router/sixlowdriver.h
  18. 0
      dist/tools/linux-border_router/testing.c
  19. 0
      dist/tools/linux-border_router/testing.h
  20. 0
      dist/tools/pyterm/pyterm.py
  21. 0
      dist/tools/testsuite/build_and_generate_html.sh
  22. 0
      dist/tools/testsuite/generate_html.sh
  23. 0
      dist/tools/testsuite/html/footer
  24. 0
      dist/tools/testsuite/html/header
  25. 0
      dist/tools/testsuite/parse_buildlog.sh
  26. 0
      dist/tools/testsuite/run_tests.sh
  27. 0
      dist/tools/testsuite/svn_test_revision.sh
  28. 18
      dist/tools/toolchains/build_gnuarm.sh
  29. 0
      dist/tools/toolchains/build_gnuarm_naked.sh

2
README.md

@ -2,7 +2,7 @@ RIOT OS
=======
RIOT - The revolutionary IoT OS!
RIOT OS is an operating system for Internet of Things (IoT) devices. It is basesed on a microkernel and designed for
RIOT OS is an operating system for Internet of Things (IoT) devices. It is based on a microkernel and designed for
* energy efficiency
* hardware independent development
* a high degree of modularity

13
core/include/irq.h

@ -14,17 +14,17 @@
* @file
* @brief IRQ driver interface
*
* @author Freie Universität Berlin, Computer Systems & Telematics, FeuerWhere project
* @author Michael Baar <michael.baar@fu-berlin.de>
* @version $Revision: 1410 $
* @author Freie Universität Berlin, Computer Systems & Telematics
*
* @note $Id$
*/
#include <stdbool.h>
/**
* @brief This function sets the IRQ disable bit in the status register
*
* @note This function should be used in favour of dINT().
*
* @return previous value of status register
*/
unsigned disableIRQ(void);
@ -33,7 +33,6 @@ unsigned disableIRQ(void);
* @brief This function clears the IRQ disable bit in the status register
* @return previous value of status register
*
* @example irq-driver-example.c
* @see restoreIRQ
*/
unsigned enableIRQ(void);
@ -42,9 +41,9 @@ unsigned enableIRQ(void);
* @brief This function restores the IRQ disable bit in the status register
* to the value contained within passed state
* @param state state to restore
* @return previous state
*
* @example irq-driver-example.c
* @note This function should be used in favour of eINT().
*
* @see disableIRQ
*/
void restoreIRQ(unsigned state);

0
tools/linux-border_router/Doxyfile → dist/tools/linux-border_router/Doxyfile vendored

0
tools/linux-border_router/Makefile → dist/tools/linux-border_router/Makefile vendored

0
tools/linux-border_router/control_2xxx.c → dist/tools/linux-border_router/control_2xxx.c vendored

0
tools/linux-border_router/control_2xxx.h → dist/tools/linux-border_router/control_2xxx.h vendored

0
tools/linux-border_router/flowcontrol.c → dist/tools/linux-border_router/flowcontrol.c vendored

0
tools/linux-border_router/flowcontrol.h → dist/tools/linux-border_router/flowcontrol.h vendored

0
tools/linux-border_router/main.c → dist/tools/linux-border_router/main.c vendored

0
tools/linux-border_router/multiplex.c → dist/tools/linux-border_router/multiplex.c vendored

0
tools/linux-border_router/multiplex.h → dist/tools/linux-border_router/multiplex.h vendored

0
tools/linux-border_router/serial.c → dist/tools/linux-border_router/serial.c vendored

0
tools/linux-border_router/serial.h → dist/tools/linux-border_router/serial.h vendored

0
tools/linux-border_router/serialnumber.c → dist/tools/linux-border_router/serialnumber.c vendored

0
tools/linux-border_router/serialnumber.h → dist/tools/linux-border_router/serialnumber.h vendored

0
tools/linux-border_router/sixlowdriver.c → dist/tools/linux-border_router/sixlowdriver.c vendored

0
tools/linux-border_router/sixlowdriver.h → dist/tools/linux-border_router/sixlowdriver.h vendored

0
tools/linux-border_router/testing.c → dist/tools/linux-border_router/testing.c vendored

0
tools/linux-border_router/testing.h → dist/tools/linux-border_router/testing.h vendored

0
tools/pyterm/pyterm.py → dist/tools/pyterm/pyterm.py vendored

0
tools/testsuite/build_and_generate_html.sh → dist/tools/testsuite/build_and_generate_html.sh vendored

0
tools/testsuite/generate_html.sh → dist/tools/testsuite/generate_html.sh vendored

0
tools/testsuite/html/footer → dist/tools/testsuite/html/footer vendored

0
tools/testsuite/html/header → dist/tools/testsuite/html/header vendored

0
tools/testsuite/parse_buildlog.sh → dist/tools/testsuite/parse_buildlog.sh vendored

0
tools/testsuite/run_tests.sh → dist/tools/testsuite/run_tests.sh vendored

0
tools/testsuite/svn_test_revision.sh → dist/tools/testsuite/svn_test_revision.sh vendored

18
tools/toolchains/build_gnuarm.sh → dist/tools/toolchains/build_gnuarm.sh vendored

@ -4,7 +4,8 @@
PREFIX=${HOME}/gnuarm
# directory to download source files and store intermediates
GNUARM_BUILDDIR=${GNUARM_BUILDDIR:-"/tmp/gnuarm-${USER}"}
TMP_DIR=/var/tmp
GNUARM_BUILDDIR=${GNUARM_BUILDDIR:-"${TMP_DIR}/gnuarm-${USER}"}
GCC_VER=4.7.2
GCC_MD5=cc308a0891e778cfda7a151ab8a6e762
@ -29,7 +30,10 @@ DOWNLOADER_OPTS="-nv -c"
#
FILES=.
HOST_GCC_VER=`gcc --version | awk '{ if (NR == 1) { print $4 } }'`
HOST_GCC_VER=`gcc --version | awk '/gcc/{print $NF}'`
SPACE_NEEDED=2641052
FREETMP=`df ${TMP_DIR} | awk '{ if (NR == 2) print $4}'`
build_binutils() {
echo "Building binutils..."
@ -138,8 +142,18 @@ download_file() {
echo "${3} ${2}" | md5sum -c -
}
check_space() {
echo "Checkign disk space in ${TMP_DIR}"
if [ $FREETMP -lt $SPACE_NEEDED ]
then
echo "Not enough available space in ${TMP_DIR}. Minimum ${SPACE_NEEDED} free bytes required."
exit 1
fi
}
build_all() {
echo "Starting in ${GNUARM_BUILDDIR}. Installing to ${PREFIX}."
check_space &&
download &&
build_binutils &&
extract_newlib &&

0
tools/toolchains/build_gnuarm_naked.sh → dist/tools/toolchains/build_gnuarm_naked.sh vendored

Loading…
Cancel
Save