This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting Test periph_i2c | |
================================================================== | |
Name: mutex test | |
Desc: Tests mutex aquire/release functionality | |
Result: PASS | |
Notes: Cannot test since it can still be used without mutex | |
Cannot test expected timeout due to no reset | |
Do we need double release failure check? | |
Does not check multiple busses acquired |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
['/home/kevinweiss/WorkingDirectory/RIOT/tests/periph_i2c/tests', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages', 'tests/tools'] | |
Starting Test periph_i2c | |
================================================================== | |
Name: mutex test | |
Desc: Tests mutex aquire/release functionality | |
Result: PASS | |
Notes: Cannot test since it can still be used without mutex | |
Cannot test expected timeout due to no reset | |
Do we need double release failure check? | |
Does not check multiple busses acquired |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting Test periph_i2c | |
================================================================== | |
Name: mutex test | |
Desc: Tests mutex aquire/release functionality | |
Result: PASS | |
Notes: Cannot test since it can still be used without mutex | |
Cannot test expected timeout due to no reset | |
Do we need double release failure check? | |
Does not check multiple busses acquired |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting Test periph_i2c | |
================================================================== | |
Name: mutex test | |
Desc: Tests mutex aquire/release functionality | |
Result: PASS | |
Notes: Cannot test since it can still be used without mutex | |
Cannot test expected timeout due to no reset | |
Do we need double release failure check? | |
Does not check multiple busses acquired |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2018 Sparkmeter | |
* | |
* This file is subject to the terms and conditions of the GNU Lesser | |
* General Public License v2.1. See the file LICENSE in the top level | |
* directory for more details. | |
*/ | |
/** | |
* @ingroup tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
from philip_pal import Phil | |
from time import sleep | |
import csv | |
MY_PHILIP_PORT = "/dev/ttyACM0" | |
MY_LOG_FILENAME = "trace_log.csv" | |
MY_POLL_RATE = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -z "$1" ] | |
then | |
echo "Usage: hil_tmux.sh <ldap_username>" | |
echo "Once in try :setw synchronize-panes" | |
exit 1 | |
fi | |
tmux new-session -d | |
for i in $(seq 0 14) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
import argparse | |
from os import listdir | |
from os.path import join | |
PINMAP = { | |
"DUT_NSS": {"color": "BLACK1", "pin": 1}, | |
"DUT_SCK": {"color": "WHITE1", "pin": 2}, | |
"DUT_MISO": {"color": "GREY1", "pin": 3}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make tests-turo -C tests/unittests -j4 | |
timeout 1s make term -C tests/unittests < <(echo "s") | |
#tput setaf 6; echo "Everything should have passed"; tput sgr0 | |
USEMODULE=test_utils_result_output_json make tests-turo -C tests/unittests -j4 | |
tput setaf 6; echo "Should fail with an make error as only one should be selected"; tput sgr0 | |
USEMODULE=test_utils_result_output_fake make tests-turo -C tests/unittests -j4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sys/fmt/fmt.c b/sys/fmt/fmt.c | |
index bc7aa54ecf..9cda0633e8 100644 | |
--- a/sys/fmt/fmt.c | |
+++ b/sys/fmt/fmt.c | |
@@ -48,6 +48,7 @@ static const uint32_t _tenmap[] = { | |
1000000000LU, | |
}; | |
+/** @brief Max precision of floating point numbers */ | |
#define TENMAP_SIZE ARRAY_SIZE(_tenmap) |