Skip to content

Commit

Permalink
v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertvanheusden committed Oct 10, 2024
1 parent 969ffe0 commit 44838e8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ add_compile_options(-Wall -pedantic -D_FILE_OFFSET_BITS=64) # -Wextra -fanalyze
#add_compile_options(-fsanitize=address -O0 -fno-inline)
#add_compile_options(-fsanitize=undefined -O0 -fno-inline)

SET(VERSION "1.1")
SET(VERSION "2.0")

add_definitions(-DVERSION=\"${VERSION}\")

Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,22 @@ test tools

test methodology
----------------
Tested with "test-blockdevice.py" and 'FSX' by Apple (using the rust version from https://github.com/asomers/fsx-rs the original version is at https://github.com/apple/fstools/ ).
For this:
Tested with "test-blockdevice.py", 'FSX' by Apple (using the rust version from https://github.com/asomers/fsx-rs the original version is at https://github.com/apple/fstools/ ) and the 'test-tool' from libiscsi.

For FSX:
* a disk-image is created on a ramdisk
* that disk-image is given as a backend to iesp
* in a virtual machine, a multipath setup (2 paths) is created
* in the virtual machine, the resulting iSCSI target is mounted under a mountpoint (ext4 filesyste with journal and discard-mountoption)
* in the virtual machine, the resulting iSCSI target is mounted under a mountpoint (ext4 filesystem with journal and discard-mountoption)
* 2 instances of FSX(-rs) are started and monitored for error messages
* 1 instance of test-blockdevice.py with 3 threads is started with trim/discard/unmap and deduplication-support set to 81% and trim to 9%

For test-blockdevice.py:
* a disk-image is created on a ramdisk
* that disk-image is given as a backend to iesp
* test-blockdevice.py is ran as: ./test-blockdevice.py -d <devicename> -b 4096 -u 75 -n 6 -T 10
* any errors? then failed


license
-------
Expand Down
2 changes: 1 addition & 1 deletion microcontrollers/RP2040W/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ board = rpipicow
framework = arduino
lib_deps = carlk3/no-OS-FatFS-SD-SDIO-SPI-RPi-Pico
extra_scripts = pre:prepare.py
build_flags = -DRP2040W=1 -DPIO_FRAMEWORK_ARDUINO_ENABLE_EXCEPTIONS -DARDUINO_RASPBERRY_PI_PICO_W -DPICO_STDIO_USB=1 -DVERSION=\"1.1\"
build_flags = -DRP2040W=1 -DPIO_FRAMEWORK_ARDUINO_ENABLE_EXCEPTIONS -DARDUINO_RASPBERRY_PI_PICO_W -DPICO_STDIO_USB=1 -DVERSION=\"2.0\"
10 changes: 5 additions & 5 deletions microcontrollers/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ lib_deps = greiman/SdFat@^2.2.2
bblanchon/ArduinoJson@^6.19.4
sstaub/NTP@^1.6
robtillaart/TM1637_RT@^0.4.0
build_flags = -std=gnu++17 -O2 -D WEMOS32 -DVERSION=\"1.1\"
build_flags = -std=gnu++17 -O2 -D WEMOS32 -DVERSION=\"2.0\"
lib_ldf_mode = deep+
build_unflags = -std=gnu++11 -Os
extra_scripts = pre:prepare.py
Expand All @@ -36,7 +36,7 @@ lib_deps = greiman/SdFat@^2.2.2
sstaub/NTP@^1.6
tobozo/ESP32-ENC28J60@^1.0.1
robtillaart/TM1637_RT@^0.4.0
build_flags = -std=gnu++17 -O2 -D WEMOS32_ETH -DVERSION=\"1.1\"
build_flags = -std=gnu++17 -O2 -D WEMOS32_ETH -DVERSION=\"2.0\"
lib_ldf_mode = deep+
build_unflags = -std=gnu++11 -Os
extra_scripts = pre:prepare.py
Expand All @@ -58,7 +58,7 @@ build_src_filter = -<com-arduino.cpp>
lib_deps = greiman/SdFat@^2.2.2
bblanchon/ArduinoJson@^6.19.4
sstaub/NTP@^1.6
build_flags = -std=gnu++17 -O2 -DVERSION=\"1.1\"
build_flags = -std=gnu++17 -O2 -DVERSION=\"2.0\"
lib_ldf_mode = deep+
build_unflags = -std=gnu++11 -Os
extra_scripts = pre:prepare.py
Expand All @@ -75,7 +75,7 @@ board_build.filesystem = littlefs
lib_deps = greiman/SdFat@^2.2.2
bblanchon/ArduinoJson@^6.19.4
sstaub/NTP@^1.6
build_flags = -std=gnu++17 -O2 -D CONFIG_ETH_ENABLED -D WT_ETH01 -DVERSION=\"1.1\"
build_flags = -std=gnu++17 -O2 -D CONFIG_ETH_ENABLED -D WT_ETH01 -DVERSION=\"2.0\"
lib_ldf_mode = deep+
build_unflags = -std=gnu++11 -Os
extra_scripts = pre:prepare.py
Expand All @@ -95,7 +95,7 @@ lib_deps = bblanchon/ArduinoJson@^6.19.4
sstaub/NTP@^1.6
https://github.com/ssilverman/QNEthernet
robtillaart/TM1637_RT@^0.4.0
build_flags = -std=gnu++17 -D TEENSY_OPT_FASTER_LTO -D TEENSY4_1 -DVERSION=\"1.1\"
build_flags = -std=gnu++17 -D TEENSY_OPT_FASTER_LTO -D TEENSY4_1 -DVERSION=\"2.0\"
#lib_ldf_mode = deep+
extra_scripts = pre:prepare.py
build_unflags = -std=gnu++14

0 comments on commit 44838e8

Please sign in to comment.