File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212* .zip
1313.deps
1414.dirstamp
15- googlemock -read-only /
15+ gtest -read-only /
1616Makefile
1717Makefile.in
1818aclocal.m4
Original file line number Diff line number Diff line change @@ -77,11 +77,11 @@ before_install:
7777 - if [ "$TASK" = "compile" -o "$TASK" = "doxygen" -o "$TASK" = "coverage" -o "$TASK" = "coverity" ]; then ./install-gmock.sh; fi
7878
7979after_success :
80- - if [ "$TASK" = "coverity" ]; then cat /home/travis/build/${TRAVIS_REPO_SLUG}/tests/ cov-int/scm_log.txt; fi
81- - if [ "$TASK" = "coverage" ]; then cd tests && coveralls --gcov /usr/bin/gcov-5 -b . -e include -e harmony -e mocks -e config.h -e system_config -e tests --gcov-options '\-lp' --follow-symlinks > /dev/null; fi
80+ - if [ "$TASK" = "coverity" ]; then cat /home/travis/build/${TRAVIS_REPO_SLUG}/cov-int/scm_log.txt; fi
81+ - if [ "$TASK" = "coverage" ]; then coveralls --gcov /usr/bin/gcov-5 -b . -e tests/ include -e tests/ harmony -e tests/ mocks -e config.h -e tests/ system_config -e tests/ tests --gcov-options '\-lp' --follow-symlinks > /dev/null; fi
8282
8383after_failure :
84- - cat /home/travis/build/${TRAVIS_REPO_SLUG}/tests/ config.log
84+ - cat /home/travis/build/${TRAVIS_REPO_SLUG}/config.log
8585
8686
8787# No notifications for now
Original file line number Diff line number Diff line change @@ -34,4 +34,3 @@ include tests/Makefile.mk
3434include tools/Makefile.mk
3535
3636check_PROGRAMS = $(TESTS )
37-
Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ void UIDStore_Init() {
4848 // To support more than one responder per device, we set the lower 4 bits of
4949 // the UID to 0 so we have 16 responders per device. These means the complete
5050 // UID takes the form:
51- // MMMM:0AAAAAA0
51+ // MMMM:1AAAAAA0
5252 // Where M is the PLASA manufacturer ID and A are the values from the MAC
5353 // address.
5454 kUIDArray [0 ] = CFG_MANUFACTURER_ID >> 8 ;
5555 kUIDArray [1 ] = CFG_MANUFACTURER_ID & 0xff ;
56- kUIDArray [2 ] = ShiftRight (PLIB_ETH_StationAddressGet (ETH_ID_0 , 4 ));
56+ kUIDArray [2 ] = 0x10 + ShiftRight (PLIB_ETH_StationAddressGet (ETH_ID_0 , 4 ));
5757 kUIDArray [3 ] = ShiftLeft (PLIB_ETH_StationAddressGet (ETH_ID_0 , 4 )) +
5858 ShiftRight (PLIB_ETH_StationAddressGet (ETH_ID_0 , 5 ));
5959 kUIDArray [4 ] = ShiftLeft (PLIB_ETH_StationAddressGet (ETH_ID_0 , 5 )) +
Original file line number Diff line number Diff line change @@ -7,16 +7,24 @@ AC_CONFIG_SRCDIR([configure.ac])
77AC_CONFIG_HEADERS ( [ config.h] )
88AC_CONFIG_MACRO_DIR ( [ config] )
99AM_INIT_AUTOMAKE ( [ subdir-objects foreign] )
10- AC_LANG_PUSH ( [ C++] )
10+ AC_LANG ( [ C++] )
1111
1212# Checks for programs.
1313AC_PROG_CXX
14+ AC_LANG_PUSH ( C )
15+ AC_PROG_CC
16+ AC_LANG_POP ( C )
1417
1518# Checks for libraries.
1619
1720LT_INIT
1821AC_PROG_LIBTOOL
1922
23+ AC_LANG_PUSH ( C )
24+ # Switch the C compiler into C99 mode
25+ AC_PROG_CC_C99
26+ AC_LANG_POP ( C )
27+
2028# Check we have -std=c++11 support
2129AX_CXX_COMPILE_STDCXX_11 ( noext ,mandatory )
2230
@@ -113,7 +121,8 @@ echo \
113121${PACKAGE_NAME} Version ${PACKAGE_VERSION}
114122
115123Prefix: '${prefix}'
116- Compiler: '${CXX} ${CXXFLAGS} ${CPPFLAGS}'
124+ C++ Compiler: '${CXX} ${CXXFLAGS} ${CPPFLAGS}'
125+ C Compiler: '${CC} ${CFLAGS} ${CPPFLAGS}'
117126Linker: '${LD} ${LDFLAGS} ${LIBS}'
118127
119128Now type 'make @<:@<target>@:>@'
You can’t perform that action at this time.
0 commit comments