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
82
82
#pragma location=0x30040400
83
83
uint8_t Rx_Buff[ETH_RX_DESC_CNT][ETH_MAX_PACKET_SIZE]; /* Ethernet Receive Buffers */
84
84
85
- #elif defined ( __CC_ARM ) /* MDK ARM Compiler */
85
+ #elif defined ( __CC_ARM ) /* ARMC5 */
86
86
87
87
__attribute__ ((section(" .RxDecripSection" ))) ETH_DMADescTypeDef DMARxDscrTab[ETH_RX_DESC_CNT]; /* Ethernet Rx DMA Descriptors */
88
88
__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 */
90
90
91
- #elif defined ( __GNUC__ ) /* GNU Compiler */
91
+ #elif defined ( __GNUC__ ) /* GCC & ARMC6 */
92
92
93
93
ETH_DMADescTypeDef DMARxDscrTab[ETH_RX_DESC_CNT] __attribute__((section(" .RxDecripSection" ))); /* Ethernet Rx DMA Descriptors */
94
94
ETH_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