Procházet zdrojové kódy

Skip net and freertos examples

Scott Shawcroft před 4 roky
rodič
revize
4fe0a30ec7

+ 0 - 0
examples/device/cdc_msc_freertos/.skip.MCU_BCM2835


+ 0 - 0
examples/device/cdc_msc_freertos/.skip.MCU_BCM2837


+ 0 - 0
examples/device/hid_composite_freertos/.skip.MCU_BCM2835


+ 0 - 0
examples/device/hid_composite_freertos/.skip.MCU_BCM2837


+ 1 - 0
examples/device/net_lwip_webserver/.skip.MCU_BCM2835

@@ -0,0 +1 @@
+tinyusb/lib/lwip/src/include/lwip/arch.h:202:13: error: conflicting types for 'ssize_t'

+ 1 - 0
examples/device/net_lwip_webserver/.skip.MCU_BCM2837

@@ -0,0 +1 @@
+tinyusb/lib/lwip/src/include/lwip/arch.h:202:13: error: conflicting types for 'ssize_t'

+ 4 - 1
hw/bsp/board_mcu.h

@@ -32,7 +32,7 @@
 
 //--------------------------------------------------------------------+
 // Low Level MCU header include. TinyUSB stack and example should be
-// platform independent and mostly doens't need to include this file.
+// platform independent and mostly doesn't need to include this file.
 // However there are still certain situation where this file is needed:
 // - FreeRTOSConfig.h to set up correct clock and NVIC interrupts for ARM Cortex
 // - SWO logging for Cortex M with ITM_SendChar() / ITM_ReceiveChar()
@@ -146,6 +146,9 @@
 #elif CFG_TUSB_MCU == OPT_MCU_TM4C123
   #include "TM4C123.h"
 
+#elif TU_CHECK_MCU(OPT_MCU_BCM2711, OPT_MCU_BCM2835, OPT_MCU_BCM2837)
+  // no header needed
+
 #else
   #error "Missing MCU header"
 #endif

+ 1 - 1
tools/build_family.py

@@ -38,7 +38,7 @@ all_examples.sort()
 # If family are not specified in arguments, build all
 all_families = []
 for entry in os.scandir("hw/bsp"):
-    if entry.is_dir() and os.path.isdir(entry.path + "/boards") and entry.name != "esp32s2" and entry.name != "esp32s3":
+    if entry.is_dir() and os.path.isdir(entry.path + "/boards") and entry.name not in ("esp32s2", "esp32s3"):
         all_families.append(entry.name)
             
 filter_with_input(all_families)