Skip to content

Commit

Permalink
Attempt to run Wifi test on NH agent
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuchita Khare committed Jan 15, 2024
1 parent 346f84b commit efdf414
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 26 deletions.
32 changes: 16 additions & 16 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ pipeline {
VENV_DIRNAME = ".venv"
BUILD_DIRNAME = "dist"
RTOS_TEST_RIG_TARGET = "XCORE-AI-EXPLORER"
LOCAL_WIFI_SSID = credentials('bristol-office-development-wifi-ssid')
LOCAL_WIFI_PASS = credentials('bristol-office-development-wifi-password')
LOCAL_WIFI_SSID = credentials('hampton-office-network-ssid')
LOCAL_WIFI_PASS = credentials('hampton-office-network-wifi-password')
}
stages {
stage('Build and Docs') {
Expand Down Expand Up @@ -106,20 +106,20 @@ pipeline {
sh "rm -f ~/.xtag/status.lock ~/.xtag/acquired"
}
}
//stage('Run RTOS Drivers WiFi test') {
// steps {
// withTools(params.TOOLS_VERSION) {
// withVenv {
// script {
// withXTAG(["$RTOS_TEST_RIG_TARGET"]) { adapterIDs ->
// sh "test/rtos_drivers/wifi/check_wifi.sh " + adapterIDs[0]
// }
// sh "pytest test/rtos_drivers/wifi"
// }
// }
// }
// }
//}
stage('Run RTOS Drivers WiFi test') {
steps {
withTools(params.TOOLS_VERSION) {
withVenv {
script {
withXTAG(["$RTOS_TEST_RIG_TARGET"]) { adapterIDs ->
sh "test/rtos_drivers/wifi/check_wifi.sh " + adapterIDs[0]
}
sh "pytest test/rtos_drivers/wifi"
}
}
}
}
}
stage('Run RTOS Drivers HIL test') {
steps {
withTools(params.TOOLS_VERSION) {
Expand Down
2 changes: 1 addition & 1 deletion modules/sw_services/usb/thirdparty/tinyusb_src
17 changes: 8 additions & 9 deletions test/rtos_drivers/wifi/src/FreeRTOSIPConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@
/* User defined network parameters */
#define IPconfig_IP_ADDR_OCTET_0 10
#define IPconfig_IP_ADDR_OCTET_1 0
#define IPconfig_IP_ADDR_OCTET_2 201
#define IPconfig_IP_ADDR_OCTET_3 3
#define IPconfig_IP_ADDR_OCTET_2 0
#define IPconfig_IP_ADDR_OCTET_3 1

#define IPconfig_NET_MASK_OCTET_0 255
#define IPconfig_NET_MASK_OCTET_1 255
#define IPconfig_NET_MASK_OCTET_2 255
#define IPconfig_NET_MASK_OCTET_3 0
#define IPconfig_NET_MASK_OCTET_1 0
#define IPconfig_NET_MASK_OCTET_2 0
#define IPconfig_NET_MASK_OCTET_3 0

#define IPconfig_GATEWAY_OCTET_0 10
#define IPconfig_GATEWAY_OCTET_1 0
#define IPconfig_GATEWAY_OCTET_2 201
#define IPconfig_GATEWAY_OCTET_3 1
#define IPconfig_GATEWAY_OCTET_1 0
#define IPconfig_GATEWAY_OCTET_2 0
#define IPconfig_GATEWAY_OCTET_3 1

#define IPconfig_DNS_SERVER_OCTET_0 8
#define IPconfig_DNS_SERVER_OCTET_1 8
Expand All @@ -74,7 +74,6 @@
#define IPconfig_MAC_ADDR_OCTET_5 0x00



/* Prototype for the function used to print out. In this case it prints to the
console before the network is connected then a UDP port after the network has
connected. */
Expand Down

0 comments on commit efdf414

Please sign in to comment.