diff --git a/.ci/Library.csolution.yml b/.ci/Library.csolution.yml index 8ad50258..3387f7a5 100644 --- a/.ci/Library.csolution.yml +++ b/.ci/Library.csolution.yml @@ -35,12 +35,39 @@ solution: - NET_DEBUG_ENABLE : 1 - USBD_DEBUG_EVR : 1 - USBH_DEBUG_EVR : 1 + - type: Debug_net_stdio + debug: on + optimize: debug + define: + - NET_DEBUG_ENABLE : 1 + - NET_DEBUG_CHANNEL : 2 + - type: Debug_net_ip4 + debug: on + optimize: debug + define: + - NET_CORE_VARIANT : 0 + - NET_DEBUG_ENABLE : 1 + - type: Debug_net_ip4_stdio + debug: on + optimize: debug + define: + - NET_CORE_VARIANT : 0 + - NET_DEBUG_ENABLE : 1 + - NET_DEBUG_CHANNEL : 2 - type: Release debug: off optimize: balanced + - type: Release_net_ip4 + debug: off + optimize: balanced + define: + - NET_CORE_VARIANT : 0 projects: - project: FileSystem/FileSystem.cproject.yml + not-for-context: \.*_net_.* - project: Network/Network.cproject.yml - project: USB/Device/USB_Device.cproject.yml + not-for-context: \.*_net_.* - project: USB/Host/USB_Host.cproject.yml + not-for-context: \.*_net_.* diff --git a/.ci/Network/Network.cproject.yml b/.ci/Network/Network.cproject.yml index 8f086c99..34c249e3 100644 --- a/.ci/Network/Network.cproject.yml +++ b/.ci/Network/Network.cproject.yml @@ -10,7 +10,7 @@ project: components: - component: ARM::CMSIS:CORE - component: ARM::CMSIS-View:Event Recorder&DAP - for-context: .Debug + for-context: \.*(?=Debug)(?!.*stdio).* - component: ARM::CMSIS Driver:Ethernet:Custom - component: ARM::CMSIS Driver:WiFi:Custom - component: ARM::CMSIS Driver:USART:Custom diff --git a/.ci/Network/RTE/Network/Net_Config.h b/.ci/Network/RTE/Network/Net_Config.h index bb3b5d93..12ccda0d 100644 --- a/.ci/Network/RTE/Network/Net_Config.h +++ b/.ci/Network/RTE/Network/Net_Config.h @@ -14,7 +14,9 @@ // Variant <0=>IPv4 only // <1=>IPv4/IPv6 dual stack // Configure variant of the network library +#ifndef NET_CORE_VARIANT #define NET_CORE_VARIANT 1 +#endif // Local Host Name // This is the name under which embedded host can be diff --git a/.ci/Network/RTE/Network/Net_Debug.h b/.ci/Network/RTE/Network/Net_Debug.h index 0033b4ef..f2a56078 100644 --- a/.ci/Network/RTE/Network/Net_Debug.h +++ b/.ci/Network/RTE/Network/Net_Debug.h @@ -20,7 +20,9 @@ // <1=>STDIO // <2=>STDIO + Timestamp // Select output channel for delivery of diagnostic messages +#ifndef NET_DEBUG_CHANNEL #define NET_DEBUG_CHANNEL 0 +#endif // System // Enable generation of system diagnostic messages