netxduo icon indicating copy to clipboard operation
netxduo copied to clipboard

add stm32 network drivers

Open rahmanih opened this issue 1 year ago • 21 comments

rahmanih avatar Mar 28 '24 13:03 rahmanih

Test Results NetXDuo64

614 tests  ±0   614 :heavy_check_mark: ±0   58s :stopwatch: -2s     1 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit b411b2c7. ± Comparison against base commit 6c8e9d1c.

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Test Results PTP

21 tests  ±0   21 :heavy_check_mark: ±0   1s :stopwatch: ±0s   3 suites ±0     0 :zzz: ±0    3 files   ±0     0 :x: ±0 

Results for commit b411b2c7. ± Comparison against base commit 6c8e9d1c.

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Code Coverage

Package Line Rate Branch Rate Health
default_build_coverage Package 1 97% 97%
Summary 97% (11099 / 11441) 97% (6799 / 7037)

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Code Coverage

Package Line Rate Branch Rate Health
default_build_coverage Package 1 86% 59%
Summary 86% (595 / 694) 59% (257 / 435)

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Test Results Web

159 tests  ±0   159 :heavy_check_mark: ±0   22s :stopwatch: -1s     3 suites ±0       0 :zzz: ±0      3 files   ±0       0 :x: ±0 

Results for commit b411b2c7. ± Comparison against base commit 6c8e9d1c.

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Code Coverage

Package Line Rate Branch Rate Health
default_build_coverage Package 1 79% 60%
Summary 79% (2643 / 3359) 60% (1804 / 3014)

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Test Results Azure_IoT

  3 files  ±0    3 suites  ±0   1m 55s :stopwatch: +9s 21 tests ±0  21 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  63 runs  ±0  63 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit b411b2c7. ± Comparison against base commit 6c8e9d1c.

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Code Coverage

Package Line Rate Branch Rate Health
default_build_coverage Package 1 81% 67%
azure-sdk-for-c.sdk.inc.azure.core 100% 67%
Summary 81% (3405 / 4186) 67% (1750 / 2594)

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Test Results Crypto

132 tests  ±0   132 :heavy_check_mark: ±0   10m 45s :stopwatch: ±0s     4 suites ±0       0 :zzz: ±0      4 files   ±0       0 :x: ±0 

Results for commit b411b2c7. ± Comparison against base commit 6c8e9d1c.

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Test Results MQTT

306 tests  ±0   306 :heavy_check_mark: ±0   14s :stopwatch: ±0s     9 suites ±0       0 :zzz: ±0      9 files   ±0       0 :x: ±0 

Results for commit b411b2c7. ± Comparison against base commit 6c8e9d1c.

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Code Coverage

Package Line Rate Branch Rate Health
src 74% 67%
Summary 74% (3972 / 5384) 67% (1533 / 2276)

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Code Coverage

Package Line Rate Branch Rate Health
default_build_coverage Package 1 79% 68%
Summary 79% (781 / 990) 68% (394 / 580)

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Test Results NetXDuo_Fast

952 tests  ±0   952 :heavy_check_mark: ±0   10m 19s :stopwatch: +19s     1 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit b411b2c7. ± Comparison against base commit 6c8e9d1c.

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Test Results MQTT_Interoperability

29 tests  ±0   29 :heavy_check_mark: ±0   3m 2s :stopwatch: ±0s   9 suites ±0     0 :zzz: ±0    9 files   ±0     0 :x: ±0 

Results for commit b411b2c7. ± Comparison against base commit 6c8e9d1c.

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Code Coverage

Package Line Rate Branch Rate Health
default_build_coverage Package 1 48% 33%
Summary 48% (476 / 990) 33% (192 / 580)

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Test Results Secure

2 854 tests  ±0   2 854 :heavy_check_mark: ±0   12m 51s :stopwatch: +2s      19 suites ±0          0 :zzz: ±0       19 files   ±0          0 :x: ±0 

Results for commit b411b2c7. ± Comparison against base commit 6c8e9d1c.

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Code Coverage

Package Line Rate Branch Rate Health
src 99% 99%
Summary 99% (5568 / 5596) 99% (3265 / 3305)

github-actions[bot] avatar Mar 28 '24 13:03 github-actions[bot]

Test Results Secure_Interoperability

26 tests   - 536   25 :heavy_check_mark:  - 537   20m 15s :stopwatch: - 9m 49s   1 suites  -   17     0 :zzz: ±    0    1 files    -   17     1 :x: +    1 

For more details on these failures, see this check.

Results for commit b411b2c7. ± Comparison against base commit 6c8e9d1c.

This pull request removes 536 tests.
client_disable_build::client_certificate_verify_client_test ‑ client_disable_build::client_certificate_verify_client_test
client_disable_build::client_certificate_verify_server_test ‑ client_disable_build::client_certificate_verify_server_test
client_disable_build::demo_ping_test ‑ client_disable_build::demo_ping_test
client_disable_build::demo_tls_test ‑ client_disable_build::demo_tls_test
client_disable_build::openssl_1_1_protocol_version_negotiation_test ‑ client_disable_build::openssl_1_1_protocol_version_negotiation_test
client_disable_build::override_tls_1_1_openssl_echo_server_nx_secure_echo_client_test ‑ client_disable_build::override_tls_1_1_openssl_echo_server_nx_secure_echo_client_test
client_disable_build::rsa_aes128_gcm_ciphersuite_client_test ‑ client_disable_build::rsa_aes128_gcm_ciphersuite_client_test
client_disable_build::rsa_aes128_gcm_ciphersuite_test ‑ client_disable_build::rsa_aes128_gcm_ciphersuite_test
client_disable_build::rsa_aes128_sha_ciphersuite_test ‑ client_disable_build::rsa_aes128_sha_ciphersuite_test
client_disable_build::rsa_aes256_sha_ciphersuite_test ‑ client_disable_build::rsa_aes256_sha_ciphersuite_test
…

github-actions[bot] avatar Mar 28 '24 14:03 github-actions[bot]

Test Results NetXDuo

37 265 tests  ±0   37 265 :heavy_check_mark: ±0   1h 4m 0s :stopwatch: + 4m 32s        43 suites ±0            0 :zzz: ±0         43 files   ±0            0 :x: ±0 

Results for commit b411b2c7. ± Comparison against base commit 6c8e9d1c.

github-actions[bot] avatar Mar 28 '24 14:03 github-actions[bot]

Code Coverage

Package Line Rate Branch Rate Health
default_build_coverage Package 1 100% 100%
Summary 100% (11231 / 11257) 100% (6912 / 6925)

github-actions[bot] avatar Mar 28 '24 14:03 github-actions[bot]

Thank you @rahmanih - this looks good!

I will need to hold off on merging it for the moment as we are still finalizing the new development process. We need to make sure all new contributions are compliant with that process, so we can continue to obtains safety certification for this code base.

wickste avatar Mar 29 '24 00:03 wickste

Hello, I've been trying to use this code in our project with LAN9354 (3-port switch device). When I add two IP instances using nx_ip_create, it calls _nx_driver_initialize(NX_IP_DRIVER *driver_req_ptr) twice. There was no indication it couldn't really create two IP instances due to the limitation of the driver. The second IP instance simply overwrites the first. I don't think this is a bug per se, but its not well advertised by NetX Duo that your ethernet driver must support multiple IPs also, not just the networking stack. I'm now looking into creating two instances of the ethernet driver with two different MAC addresses.
Jerry

jerrylogansquare avatar May 29 '24 15:05 jerrylogansquare

closing the PR as it'll be delivered in a separate repository.

rahmanih avatar Jun 20 '24 13:06 rahmanih