凌云物联网实验室ISKBoard(IoT Starter Kits Board)开发板项目源码
guowenxue
2023-04-04 204613ab0b84b39c707900d276b5ff35ce67d96e
Production/ISKBoard_QCTester/Core/Src/main.c
@@ -136,7 +136,7 @@
  MX_CAN1_Init();
  /* USER CODE BEGIN 2 */
  printf("Welcome to ISKBoard v1.0\r\n");
  printf("Welcome to ISKBoard v1.0, compiled on %s %s\r\n", __DATE__, __TIME__);
  OLED_Init();
  ws2812b_init();
@@ -507,11 +507,19 @@
       }
       printf("ESP32 firmware version:\r\n%s\r\n", version);
       if( !strstr(version, "1.7.1.0") )
       {
          printf("ERROR: ESP32 firmware not matched, please upgrade it first!\r\n");
          rv = -2;
          goto cleanup;
       }
       init = 1;
   }
   rv = send_atcmd_check_ok(comport, "AT", 500);
cleanup:
   printf("WiFi module AT test       [%s]\r\n", rv?"FAIL":"OKAY");
   snprintf(oledstr, sizeof(oledstr), "WiFi: %s", rv?"FAIL":"OK");
   oled_show(oledstr);