File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
features/netsocket/emac-drivers/TARGET_STM Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,13 +82,13 @@ ETH_DMADescTypeDef DMATxDscrTab[ETH_TX_DESC_CNT]; /* Ethernet Tx DMA Descriptor
8282#pragma location=0x30040400
8383uint8_t Rx_Buff[ETH_RX_DESC_CNT][ETH_MAX_PACKET_SIZE]; /* Ethernet Receive Buffers */
8484
85- #elif defined ( __CC_ARM ) /* MDK ARM Compiler */
85+ #elif defined ( __CC_ARM ) /* ARMC5 */
8686
8787__attribute__ ((section(" .RxDecripSection" ))) ETH_DMADescTypeDef DMARxDscrTab[ETH_RX_DESC_CNT]; /* Ethernet Rx DMA Descriptors */
8888__attribute__ ((section(" .TxDecripSection" ))) ETH_DMADescTypeDef DMATxDscrTab[ETH_TX_DESC_CNT]; /* Ethernet Tx DMA Descriptors */
89- __attribute__ ((section(" .RxArraySection" ))) uint8_t Rx_Buff[ETH_RX_DESC_CNT][ETH_RX_BUFFER_SIZE ]; /* Ethernet Receive Buffer */
89+ __attribute__ ((section(" .RxArraySection" ))) uint8_t Rx_Buff[ETH_RX_DESC_CNT][ETH_MAX_PACKET_SIZE ]; /* Ethernet Receive Buffer */
9090
91- #elif defined ( __GNUC__ ) /* GNU Compiler */
91+ #elif defined ( __GNUC__ ) /* GCC & ARMC6 */
9292
9393ETH_DMADescTypeDef DMARxDscrTab[ETH_RX_DESC_CNT] __attribute__((section(" .RxDecripSection" ))); /* Ethernet Rx DMA Descriptors */
9494ETH_DMADescTypeDef DMATxDscrTab[ETH_TX_DESC_CNT] __attribute__((section(" .TxDecripSection" ))); /* Ethernet Tx DMA Descriptors */
You can’t perform that action at this time.
0 commit comments