This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.
Version: 2.2.1
More details
Board | Claims compatibility | Inclusion | DS2433_EEPROM |
BAE910_device |
DS18B20_asInterface |
DS18B20_thermometer |
DS2408_switch |
DS2413_switch |
DS2423_RAM |
DS2431_EEPROM |
DS2401_serial |
DS2450_ADC |
DS2502_EEPROM |
DS2890_poti |
debug |
DS2502_DELLCHG |
DS2405_switch |
DS2438_battMon |
DS2506_EEPROM |
OneWireHubTest |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arduino:avr:uno
1.8.4 |
Yes | PASS | PASS | PASS | PASS | PASS | PASS | PASS | PASS | PASS | PASS | PASS | PASS | PASS | FAIL | PASS | PASS | PASS | PASS | PASS |
arduino:mbed_nano:nanorp2040connect
2.7.2 |
Yes ⚠️ | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL |
arduino:megaavr:nona4809
1.8.7 |
Yes ⚠️ | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL |
arduino:samd:mkrwifi1010
1.8.12 |
Yes ⚠️ | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL |
esp32:esp32:d1_mini32
1.0.6 |
Yes ⚠️ | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL |
Result: PASS
Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes. Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 5730 bytes (17%) of program storage space. Maximum is 32256 bytes. Global variables use 524 bytes (25%) of dynamic memory, leaving 1524 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 8848 bytes (27%) of program storage space. Maximum is 32256 bytes. Global variables use 566 bytes (27%) of dynamic memory, leaving 1482 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 7640 bytes (23%) of program storage space. Maximum is 32256 bytes. Global variables use 684 bytes (33%) of dynamic memory, leaving 1364 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 4772 bytes (14%) of program storage space. Maximum is 32256 bytes. Global variables use 425 bytes (20%) of dynamic memory, leaving 1623 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 4586 bytes (14%) of program storage space. Maximum is 32256 bytes. Global variables use 403 bytes (19%) of dynamic memory, leaving 1645 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 6088 bytes (18%) of program storage space. Maximum is 32256 bytes. Global variables use 454 bytes (22%) of dynamic memory, leaving 1594 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 5650 bytes (17%) of program storage space. Maximum is 32256 bytes. Global variables use 572 bytes (27%) of dynamic memory, leaving 1476 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 6816 bytes (21%) of program storage space. Maximum is 32256 bytes. Global variables use 1186 bytes (57%) of dynamic memory, leaving 862 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 6696 bytes (20%) of program storage space. Maximum is 32256 bytes. Global variables use 692 bytes (33%) of dynamic memory, leaving 1356 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 5346 bytes (16%) of program storage space. Maximum is 32256 bytes. Global variables use 1023 bytes (49%) of dynamic memory, leaving 1025 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 7496 bytes (23%) of program storage space. Maximum is 32256 bytes. Global variables use 747 bytes (36%) of dynamic memory, leaving 1301 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 5978 bytes (18%) of program storage space. Maximum is 32256 bytes. Global variables use 460 bytes (22%) of dynamic memory, leaving 1588 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 4068 bytes (12%) of program storage space. Maximum is 32256 bytes. Global variables use 259 bytes (12%) of dynamic memory, leaving 1789 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 5904 bytes (18%) of program storage space. Maximum is 32256 bytes. Global variables use 940 bytes (45%) of dynamic memory, leaving 1108 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 7382 bytes (22%) of program storage space. Maximum is 32256 bytes. Global variables use 1426 bytes (69%) of dynamic memory, leaving 622 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 5676 bytes (17%) of program storage space. Maximum is 32256 bytes. Global variables use 518 bytes (25%) of dynamic memory, leaving 1530 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 9028 bytes (27%) of program storage space. Maximum is 32256 bytes. Global variables use 708 bytes (34%) of dynamic memory, leaving 1340 bytes for local variables. Maximum is 2048 bytes.
Result: FAIL
Result: FAIL
In file included from /tmp/arduino-testlib733688460/test/test.ino:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/arduino-testlib733688460/test/test.ino:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /tmp/arduino-testlib733688460/test/test.ino:1: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/BAE910_device/BAE910_device.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/BAE910_device/BAE910_device.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/BAE910_device/BAE910_device.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_asInterface/DS18B20_asInterface.ino:43:10: fatal error: avr/wdt.h: No such file or directory #include <avr/wdt.h> ^~~~~~~~~~~ compilation terminated.
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_thermometer/DS18B20_thermometer.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_thermometer/DS18B20_thermometer.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_thermometer/DS18B20_thermometer.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2401_serial/DS2401_serial.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2401_serial/DS2401_serial.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2401_serial/DS2401_serial.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2405_switch/DS2405_switch.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2405_switch/DS2405_switch.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2405_switch/DS2405_switch.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2408_switch/DS2408_switch.ino:17:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2408_switch/DS2408_switch.ino:17:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2408_switch/DS2408_switch.ino:17: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2413_switch/DS2413_switch.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2413_switch/DS2413_switch.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2413_switch/DS2413_switch.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2423_RAM/DS2423_RAM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2423_RAM/DS2423_RAM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2423_RAM/DS2423_RAM.ino:10: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2431_EEPROM/DS2431_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2431_EEPROM/DS2431_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2431_EEPROM/DS2431_EEPROM.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2433_EEPROM/DS2433_EEPROM.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2433_EEPROM/DS2433_EEPROM.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2433_EEPROM/DS2433_EEPROM.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2438_battMon/DS2438_battMon.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2438_battMon/DS2438_battMon.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2438_battMon/DS2438_battMon.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2450_ADC/DS2450_ADC.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2450_ADC/DS2450_ADC.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2450_ADC/DS2450_ADC.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_DELLCHG/DS2502_DELLCHG.ino:22:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_DELLCHG/DS2502_DELLCHG.ino:22:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_DELLCHG/DS2502_DELLCHG.ino:22: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_EEPROM/DS2502_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_EEPROM/DS2502_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_EEPROM/DS2502_EEPROM.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2506_EEPROM/DS2506_EEPROM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2506_EEPROM/DS2506_EEPROM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2506_EEPROM/DS2506_EEPROM.ino:10: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2890_poti/DS2890_poti.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2890_poti/DS2890_poti.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2890_poti/DS2890_poti.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/OneWireHubTest/OneWireHubTest.ino:14:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: error: 'microsecondsToClockCycles' was not declared in this scope return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/OneWireHubTest/OneWireHubTest.ino:14:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: error: 'microsecondsToClockCycles' was not declared in this scope return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/OneWireHubTest/OneWireHubTest.ino:14: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:18:38: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_SERIAL_DEBUG && (microsecondsToClockCycles(1) < 20)), "Serial debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:19:36: error: 'microsecondsToClockCycles' was not declared in this scope static_assert(!(USE_GPIO_DEBUG && (microsecondsToClockCycles(1) < 20) && (OVERDRIVE_ENABLE != 0)), "Gpio debug is enabled in OW-Config. SHOULD NOT be enabled with < 20 MHz uC and Overdrive enabled"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: in constexpr expansion of 'operator""_us(5000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: in constexpr expansion of 'operator""_us(430)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: in constexpr expansion of 'operator""_us(960)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: in constexpr expansion of 'operator""_us(160)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: in constexpr expansion of 'operator""_us(480)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: in constexpr expansion of 'operator""_us(15000)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:67: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: in constexpr expansion of 'operator""_us(135)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: in constexpr expansion of 'operator""_us(20)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: in constexpr expansion of 'operator""_us(60)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: in constexpr expansion of 'operator""_us(30)' /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:74: error: constexpr call flows off the end of the function constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
Result: FAIL
In file included from /tmp/arduino-testlib733688460/test/test.ino:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /tmp/arduino-testlib733688460/test/test.ino:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /tmp/arduino-testlib733688460/test/test.ino:1: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/BAE910_device/BAE910_device.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/BAE910_device/BAE910_device.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/BAE910_device/BAE910_device.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_asInterface/DS18B20_asInterface.ino:14:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_asInterface/DS18B20_asInterface.ino:14:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_asInterface/DS18B20_asInterface.ino:14: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_asInterface/DS18B20_asInterface.ino:18:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/I2C-Sensor-Lib_iLib/src/i2c.h: In constructor 'WirePlus::WirePlus()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/I2C-Sensor-Lib_iLib/src/i2c.h:73:5: error: 'TWBR' was not declared in this scope TWBR = ((F_CPU / 400000L) - 16) / 2; // see twi_init in Wire/utility/twi.c ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/I2C-Sensor-Lib_iLib/src/i2c.h:73:5: note: suggested alternative: 'TWI0' TWBR = ((F_CPU / 400000L) - 16) / 2; // see twi_init in Wire/utility/twi.c ^~~~ TWI0 In file included from /home/ec2-user/arduino
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_thermometer/DS18B20_thermometer.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_thermometer/DS18B20_thermometer.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_thermometer/DS18B20_thermometer.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2401_serial/DS2401_serial.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2401_serial/DS2401_serial.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2401_serial/DS2401_serial.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2405_switch/DS2405_switch.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2405_switch/DS2405_switch.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2405_switch/DS2405_switch.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2408_switch/DS2408_switch.ino:17:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2408_switch/DS2408_switch.ino:17:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2408_switch/DS2408_switch.ino:17: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2413_switch/DS2413_switch.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2413_switch/DS2413_switch.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2413_switch/DS2413_switch.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2423_RAM/DS2423_RAM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2423_RAM/DS2423_RAM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2423_RAM/DS2423_RAM.ino:10: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2431_EEPROM/DS2431_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2431_EEPROM/DS2431_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2431_EEPROM/DS2431_EEPROM.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2433_EEPROM/DS2433_EEPROM.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2433_EEPROM/DS2433_EEPROM.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2433_EEPROM/DS2433_EEPROM.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2438_battMon/DS2438_battMon.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2438_battMon/DS2438_battMon.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2438_battMon/DS2438_battMon.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2450_ADC/DS2450_ADC.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2450_ADC/DS2450_ADC.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2450_ADC/DS2450_ADC.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_DELLCHG/DS2502_DELLCHG.ino:22:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_DELLCHG/DS2502_DELLCHG.ino:22:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_DELLCHG/DS2502_DELLCHG.ino:22: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_EEPROM/DS2502_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_EEPROM/DS2502_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_EEPROM/DS2502_EEPROM.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2506_EEPROM/DS2506_EEPROM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2506_EEPROM/DS2506_EEPROM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2506_EEPROM/DS2506_EEPROM.ino:10: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2890_poti/DS2890_poti.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2890_poti/DS2890_poti.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2890_poti/DS2890_poti.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/OneWireHubTest/OneWireHubTest.ino:14:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:56: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/OneWireHubTest/OneWireHubTest.ino:14:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:48: error: call to non-constexpr function 'long unsigned int microsecondsToClockCycles(long unsigned int)' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/OneWireHubTest/OneWireHubTest.ino:14: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^~~~
Result: FAIL
Result: FAIL
In file included from /tmp/arduino-testlib1647282946/test/test.ino:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-3861E53B8B13C54E23367270FD71E0E6/sketch/test.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /tmp/arduino-testlib1647282946/test/test.ino:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-3861E53B8B13C54E23367270FD71E0E6/sketch/test.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /tmp/arduino-testlib1647282946/test/test.ino:1: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/BAE910_device/BAE910_device.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-3A02FFD0665DB6A5A43F80C2136C0706/sketch/BAE910_device.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/BAE910_device/BAE910_device.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-3A02FFD0665DB6A5A43F80C2136C0706/sketch/BAE910_device.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/BAE910_device/BAE910_device.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_asInterface/DS18B20_asInterface.ino:43:10: fatal error: avr/wdt.h: No such file or directory #include <avr/wdt.h> ^~~~~~~~~~~ compilation terminated.
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_thermometer/DS18B20_thermometer.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-79A212743480AC50A5F6B2734663CE3F/sketch/DS18B20_thermometer.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_thermometer/DS18B20_thermometer.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-79A212743480AC50A5F6B2734663CE3F/sketch/DS18B20_thermometer.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_thermometer/DS18B20_thermometer.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2401_serial/DS2401_serial.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-BB61798D8B87A4742E59217485E11BA4/sketch/DS2401_serial.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2401_serial/DS2401_serial.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-BB61798D8B87A4742E59217485E11BA4/sketch/DS2401_serial.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2401_serial/DS2401_serial.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2405_switch/DS2405_switch.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-69D0D398C4031A720D5DD9E95E6F8F4E/sketch/DS2405_switch.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2405_switch/DS2405_switch.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-69D0D398C4031A720D5DD9E95E6F8F4E/sketch/DS2405_switch.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2405_switch/DS2405_switch.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2408_switch/DS2408_switch.ino:17:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-63B618BA6821A6F8AA0A7E4510DAE926/sketch/DS2408_switch.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2408_switch/DS2408_switch.ino:17:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-63B618BA6821A6F8AA0A7E4510DAE926/sketch/DS2408_switch.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2408_switch/DS2408_switch.ino:17: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2413_switch/DS2413_switch.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-88C281B7326118AECB20AA4F16E19089/sketch/DS2413_switch.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2413_switch/DS2413_switch.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-88C281B7326118AECB20AA4F16E19089/sketch/DS2413_switch.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2413_switch/DS2413_switch.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2423_RAM/DS2423_RAM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-8AFEA9F94572B8288EE62079294535CE/sketch/DS2423_RAM.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2423_RAM/DS2423_RAM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-8AFEA9F94572B8288EE62079294535CE/sketch/DS2423_RAM.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2423_RAM/DS2423_RAM.ino:10: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2431_EEPROM/DS2431_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-43CAC6C952339824C2B04474B7CD8D2A/sketch/DS2431_EEPROM.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2431_EEPROM/DS2431_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-43CAC6C952339824C2B04474B7CD8D2A/sketch/DS2431_EEPROM.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2431_EEPROM/DS2431_EEPROM.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2433_EEPROM/DS2433_EEPROM.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-21D9134C1F5D3E76BB56821F621D1145/sketch/DS2433_EEPROM.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2433_EEPROM/DS2433_EEPROM.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-21D9134C1F5D3E76BB56821F621D1145/sketch/DS2433_EEPROM.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2433_EEPROM/DS2433_EEPROM.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2438_battMon/DS2438_battMon.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-2D87272E3238BF538790544C9269C564/sketch/DS2438_battMon.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2438_battMon/DS2438_battMon.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-2D87272E3238BF538790544C9269C564/sketch/DS2438_battMon.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2438_battMon/DS2438_battMon.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2450_ADC/DS2450_ADC.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-DA4466A02FEE78B20CEB1889E4A8F2E0/sketch/DS2450_ADC.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2450_ADC/DS2450_ADC.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-DA4466A02FEE78B20CEB1889E4A8F2E0/sketch/DS2450_ADC.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2450_ADC/DS2450_ADC.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_DELLCHG/DS2502_DELLCHG.ino:22:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-9DD70D9DAC92604555455FB69BE77FB4/sketch/DS2502_DELLCHG.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_DELLCHG/DS2502_DELLCHG.ino:22:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-9DD70D9DAC92604555455FB69BE77FB4/sketch/DS2502_DELLCHG.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_DELLCHG/DS2502_DELLCHG.ino:22: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_EEPROM/DS2502_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-EA2F9EAAC4BD5B7260B4EBCF88B050BA/sketch/DS2502_EEPROM.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_EEPROM/DS2502_EEPROM.ino:9:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-EA2F9EAAC4BD5B7260B4EBCF88B050BA/sketch/DS2502_EEPROM.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_EEPROM/DS2502_EEPROM.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2506_EEPROM/DS2506_EEPROM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-023FAC312E5617134AA3B9BEC4D50034/sketch/DS2506_EEPROM.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2506_EEPROM/DS2506_EEPROM.ino:10:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-023FAC312E5617134AA3B9BEC4D50034/sketch/DS2506_EEPROM.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2506_EEPROM/DS2506_EEPROM.ino:10: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2890_poti/DS2890_poti.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-031BE8808958BF72E75689FB0A10AB2E/sketch/DS2890_poti.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2890_poti/DS2890_poti.ino:8:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-031BE8808958BF72E75689FB0A10AB2E/sketch/DS2890_poti.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2890_poti/DS2890_poti.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/OneWireHubTest/OneWireHubTest.ino:14:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:13:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-CECF236D411BB194E47BDE803012EBBD/sketch/OneWireHubTest.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/OneWireHubTest/OneWireHubTest.ino:14:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:20:1: error: the value of 'SystemCoreClock' is not usable in a constant expression } ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h:239:0, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/samd21.h:69, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd.h:105, from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:38, from /tmp/arduino-sketch-CECF236D411BB194E47BDE803012EBBD/sketch/OneWireHubTest.ino.cpp:1: /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/samd21/include/system_samd21.h:53:17: note: 'uint32_t SystemCoreClock' is not const extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ ^~~~~~~~~~~~~~~ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/OneWireHubTest/OneWireHubTest.ino:14: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot
Result: FAIL
Result: FAIL
In file included from /tmp/arduino-sketch-4BEC5FEF1649B200AA6B3988920DAC2A/sketch/test.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /tmp/arduino-testlib3585512113/test/test.ino:1: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^
Result: FAIL
In file included from /tmp/arduino-sketch-3A02FFD0665DB6A5A43F80C2136C0706/sketch/BAE910_device.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/BAE910_device/BAE910_device.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_asInterface/DS18B20_asInterface.ino:43:21: fatal error: avr/wdt.h: No such file or directory compilation terminated.
Result: FAIL
In file included from /tmp/arduino-sketch-79A212743480AC50A5F6B2734663CE3F/sketch/DS18B20_thermometer.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS18B20_thermometer/DS18B20_thermometer.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-BB61798D8B87A4742E59217485E11BA4/sketch/DS2401_serial.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2401_serial/DS2401_serial.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-69D0D398C4031A720D5DD9E95E6F8F4E/sketch/DS2405_switch.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2405_switch/DS2405_switch.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-63B618BA6821A6F8AA0A7E4510DAE926/sketch/DS2408_switch.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2408_switch/DS2408_switch.ino:17: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-88C281B7326118AECB20AA4F16E19089/sketch/DS2413_switch.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2413_switch/DS2413_switch.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-8AFEA9F94572B8288EE62079294535CE/sketch/DS2423_RAM.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2423_RAM/DS2423_RAM.ino:10: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-43CAC6C952339824C2B04474B7CD8D2A/sketch/DS2431_EEPROM.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2431_EEPROM/DS2431_EEPROM.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-21D9134C1F5D3E76BB56821F621D1145/sketch/DS2433_EEPROM.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2433_EEPROM/DS2433_EEPROM.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-2D87272E3238BF538790544C9269C564/sketch/DS2438_battMon.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2438_battMon/DS2438_battMon.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-DA4466A02FEE78B20CEB1889E4A8F2E0/sketch/DS2450_ADC.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2450_ADC/DS2450_ADC.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-9DD70D9DAC92604555455FB69BE77FB4/sketch/DS2502_DELLCHG.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_DELLCHG/DS2502_DELLCHG.ino:22: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-EA2F9EAAC4BD5B7260B4EBCF88B050BA/sketch/DS2502_EEPROM.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2502_EEPROM/DS2502_EEPROM.ino:9: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-023FAC312E5617134AA3B9BEC4D50034/sketch/DS2506_EEPROM.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2506_EEPROM/DS2506_EEPROM.ino:10: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-031BE8808958BF72E75689FB0A10AB2E/sketch/DS2890_poti.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/DS2890_poti/DS2890_poti.ino:8: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL
In file included from /tmp/arduino-sketch-CECF236D411BB194E47BDE803012EBBD/sketch/OneWireHubTest.ino.cpp:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t operator""_us(long long unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:11:31: note: in expansion of macro 'microsecondsToClockCycles' return timeOW_t(time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h: In function 'constexpr timeOW_t timeUsToLoops(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:81:67: error: call to non-constexpr function 'uint32_t getCpuFrequencyMhz()' #define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:83:46: note: in expansion of macro 'clockCyclesPerMicrosecond' #define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:19:23: note: in expansion of macro 'microsecondsToClockCycles' return (time_us * microsecondsToClockCycles(1) / VALUE_IPL); // note: microsecondsToClockCycles == speed in MHz.... ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub.h:22:0, from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/examples/OneWireHubTest/OneWireHubTest.ino:14: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:27:59: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_TIMEOUT = { 5000_us }; // for not hanging to long in reset-detection, lower value is better for more responsive applications, but can miss resets ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:28:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MIN[2] = { 430_us, 48_us }; // should be 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:29:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_RESET_MAX[2] = { 960_us, 80_us }; // from ds2413 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:32:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_TIMEOUT = { 20_us }; // probe measures 25us, duration of high state between reset and presence ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:33:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MIN[2] = { 160_us, 8_us }; // was 125 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:34:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_PRESENCE_MAX[2] = { 480_us, 32_us }; // should be 280, was 480 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:37:58: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_MSG_HIGH_TIMEOUT = { 15000_us }; // there can be these inactive / high timeperiods after reset / presence, this value defines the timeout for these ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:60: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:38:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_SLOT_MAX[2] = { 135_us, 30_us }; // should be 120, measured from falling edge to next falling edge ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:41:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MIN[2] = { 20_us, 4_us }; // should be 15, was 30, says when it is safe to read a valid bit ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:42:68: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_READ_MAX[2] = { 60_us, 10_us }; // low states (zeros) of a master should not exceed this time in a slot ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:61: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/OneWireHub/src/OneWireHub_config.h:43:69: error: 'constexpr timeOW_t operator""_us(long long unsigned int)' called in a constant expression constexpr timeOW_t ONEWIRE_TIME_WRITE_ZERO[2] = { 30_us, 8_us }; // the hub holds a zero for this long
Result: FAIL