Embedded TCP/IP stack  4.7.0
fnet_cpu_config.h
1 /**************************************************************************
2 *
3 * Copyright 2008-2018 by Andrey Butok. FNET Community.
4 *
5 ***************************************************************************
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License"); you may
8 * not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 ***************************************************************************
20 *
21 * Default platform-specific configuration.
22 *
23 ***************************************************************************/
24 
25 /************************************************************************
26  * !!!DO NOT MODIFY THIS FILE!!!
27  ************************************************************************/
28 
29 #ifndef _FNET_CPU_CONFIG_H_
30 
31 #define _FNET_CPU_CONFIG_H_
32 
35 /**************************************************************************/
65 #define FNET_CFG_CPU_processor_type /* Ignore it. Just only for Doxygen documentation */
66 
67 /*-----------*/
68 #ifndef FNET_CFG_CPU_MCF52235
69  #define FNET_CFG_CPU_MCF52235 (0)
70 #endif
71 #ifndef FNET_CFG_CPU_MCF52259
72  #define FNET_CFG_CPU_MCF52259 (0)
73 #endif
74 /* MCF5235 NOT SUPPORTED/TESTED */
75 #ifndef FNET_CFG_CPU_MCF5235
76  #define FNET_CFG_CPU_MCF5235 (0)
77 #endif
78 #ifndef FNET_CFG_CPU_MCF5282
79  #define FNET_CFG_CPU_MCF5282 (0)
80 #endif
81 #ifndef FNET_CFG_CPU_MCF51CN128
82  #define FNET_CFG_CPU_MCF51CN128 (0)
83 #endif
84 #ifndef FNET_CFG_CPU_MCF54418
85  #define FNET_CFG_CPU_MCF54418 (0)
86 #endif
87 #ifndef FNET_CFG_CPU_MK60N512
88  #define FNET_CFG_CPU_MK60N512 (0)
89 #endif
90 #ifndef FNET_CFG_CPU_MK60DN512
91  #define FNET_CFG_CPU_MK60DN512 (0)
92 #endif
93 #ifndef FNET_CFG_CPU_MK64FN1
94  #define FNET_CFG_CPU_MK64FN1 (0)
95 #endif
96 #ifndef FNET_CFG_CPU_MK66FN2
97  #define FNET_CFG_CPU_MK66FN2 (0)
98 #endif
99 #ifndef FNET_CFG_CPU_MK70FN1
100  #define FNET_CFG_CPU_MK70FN1 (0)
101 #endif
102 #ifndef FNET_CFG_CPU_MK60FN1
103  #define FNET_CFG_CPU_MK60FN1 (0)
104 #endif
105 #ifndef FNET_CFG_CPU_MPC5668G
106  #define FNET_CFG_CPU_MPC5668G (0)
107 #endif
108 #ifndef FNET_CFG_CPU_MPC5566
109  #define FNET_CFG_CPU_MPC5566 (0)
110 #endif
111 #ifndef FNET_CFG_CPU_MPC564xBC
112  #define FNET_CFG_CPU_MPC564xBC (0)
113 #endif
114 #ifndef FNET_CFG_CPU_MPC5744P
115  #define FNET_CFG_CPU_MPC5744P (0)
116 #endif
117 #ifndef FNET_CFG_CPU_S32R274
118  #define FNET_CFG_CPU_S32R274 (0)
119 #endif
120 #ifndef FNET_CFG_CPU_LPC54628
121  #define FNET_CFG_CPU_LPC54628 (0)
122 #endif
123 #ifndef FNET_CFG_CPU_MIMXRT1052
124  #define FNET_CFG_CPU_MIMXRT1052 (0)
125 #endif
126 #ifndef FNET_CFG_CPU_MIMXRT1062
127  #define FNET_CFG_CPU_MIMXRT1062 (0)
128 #endif
129 
130 /*********** MFC ********************/
131 #if FNET_CFG_CPU_MCF52235 /* Kirin2 */
132  #ifdef FNET_CPU_STR
133  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
134  #endif
135 
136  #include "port/cpu/mcf/fnet_mcf52235_config.h"
137  #define FNET_CPU_STR "MCF52235"
138 #endif
139 
140 #if FNET_CFG_CPU_MCF52259 /* Kirin3 */
141  #ifdef FNET_CPU_STR
142  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
143  #endif
144 
145  #include "port/cpu/mcf/fnet_mcf52259_config.h"
146  #define FNET_CPU_STR "MCF52259"
147 #endif
148 
149 #if FNET_CFG_CPU_MCF5235 /* CPUV2 */
150  #ifdef FNET_CPU_STR
151  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
152  #endif
153 
154  #include "port/cpu/mcf/fnet_mcf5235_config.h"
155  #define FNET_CPU_STR "MCF5235"
156 #endif
157 
158 #if FNET_CFG_CPU_MCF5282 /* Reindeer */
159  #ifdef FNET_CPU_STR
160  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
161  #endif
162 
163  #include "port/cpu/mcf/fnet_mcf5282_config.h"
164  #define FNET_CPU_STR "MCF5282"
165 #endif
166 
167 #if FNET_CFG_CPU_MCF51CN128 /* Lasko */
168  #ifdef FNET_CPU_STR
169  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
170  #endif
171 
172  #include "port/cpu/mcf/fnet_mcf51cn128_config.h"
173  #define FNET_CPU_STR "MCF51CN128"
174 #endif
175 
176 #if FNET_CFG_CPU_MCF54418 /* Modelo */
177  #ifdef FNET_CPU_STR
178  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
179  #endif
180 
181  #include "port/cpu/mcf/fnet_mcf54418_config.h"
182  #define FNET_CPU_STR "MCF54418"
183 #endif
184 
185 /*********** MK ********************/
186 
187 #if FNET_CFG_CPU_MK60N512 /* Kinetis */
188  #ifdef FNET_CPU_STR
189  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
190  #endif
191 
192  #include "port/cpu/mk/fnet_mk60n512_config.h"
193  #define FNET_CPU_STR "MK60N512"
194 #endif
195 
196 #if FNET_CFG_CPU_MK60DN512 /* Kinetis */
197  #ifdef FNET_CPU_STR
198  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
199  #endif
200 
201  #include "port/cpu/mk/fnet_mk60dn512_config.h"
202  #define FNET_CPU_STR "MK60DN512"
203 #endif
204 
205 #if FNET_CFG_CPU_MK64FN1 /* Kinetis */
206  #ifdef FNET_CPU_STR
207  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
208  #endif
209 
210  #include "port/cpu/mk/fnet_mk64fn1_config.h"
211  #define FNET_CPU_STR "MK64FN1"
212 #endif
213 
214 #if FNET_CFG_CPU_MK66FN2 /* Kinetis */
215  #ifdef FNET_CPU_STR
216  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
217  #endif
218 
219  #include "port/cpu/mk/fnet_mk66fn2_config.h"
220  #define FNET_CPU_STR "MK66FN2"
221 #endif
222 
223 #if FNET_CFG_CPU_MK70FN1 /* Kinetis */
224  #ifdef FNET_CPU_STR
225  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
226  #endif
227 
228  #include "port/cpu/mk/fnet_mk70fn1_config.h"
229  #define FNET_CPU_STR "MK70FN1"
230 #endif
231 
232 #if FNET_CFG_CPU_MK60FN1 /* Kinetis*/
233  #ifdef FNET_CPU_STR
234  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
235  #endif
236 
237  #include "port/cpu/mk/fnet_mk60fn1_config.h"
238  #define FNET_CPU_STR "MK60FN1"
239 #endif
240 
241 /*********** MPC ********************/
242 
243 #if FNET_CFG_CPU_MPC5668G /* Fado */
244  #ifdef FNET_CPU_STR
245  #error More than one CPU selected FNET_CFG_CPU_XXXX
246  #endif
247 
248  #include "port/cpu/mpc/fnet_mpc5668g_config.h"
249  #define FNET_CPU_STR "MPC5668G"
250 #endif
251 
252 #if FNET_CFG_CPU_MPC5566 /* Viper */
253  #ifdef FNET_CPU_STR
254  #error More than one CPU selected FNET_CFG_CPU_XXXX
255  #endif
256 
257  #include "port/cpu/mpc/fnet_mpc5566_config.h"
258  #define FNET_CPU_STR "MPC5566"
259 #endif
260 
261 /* TBD NOT SUPPORTED/TESTED YET */
262 
263 #if FNET_CFG_CPU_MPC564xBC /* Bolero3M */
264  #ifdef FNET_CPU_STR
265  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
266  #endif
267 
268  #include "port/cpu/mpc/fnet_mpc564xbc_config.h"
269  #define FNET_CPU_STR "MPC56xBC"
270 #endif
271 
272 #if FNET_CFG_CPU_MPC5744P /* Panther */
273  #ifdef FNET_CPU_STR
274  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
275  #endif
276 
277  #include "port/cpu/mpc/fnet_mpc5744p_config.h"
278  #define FNET_CPU_STR "MPC5744P"
279 #endif
280 
281 /*********** S32R274 ********************/
282 
283 #if FNET_CFG_CPU_S32R274 /* Racerunner Ultra */
284  #ifdef FNET_CPU_STR
285  #error More than one CPU selected FNET_CPU_XXXX
286  #endif
287 
288  #include "port/cpu/mpc/fnet_s32r274_config.h"
289  #define FNET_CPU_STR "S32R274"
290 #endif
291 
292 /*********** NXP's LPC ********************/
293 #if FNET_CFG_CPU_LPC54628 /* Aruba */
294  #ifdef FNET_CPU_STR
295  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
296  #endif
297 
298  #include "port/cpu/lpc/fnet_lpc54628_config.h"
299  #define FNET_CPU_STR "LPC54628"
300 #endif
301 
302 /*********** iMX RT ********************/
303 #if FNET_CFG_CPU_MIMXRT1052
304  #ifdef FNET_CPU_STR
305  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
306  #endif
307 
308  #include "port/cpu/mimxrt/fnet_mimxrt1052_config.h"
309  #define FNET_CPU_STR "MIMXRT1052"
310 #endif
311 
312 #if FNET_CFG_CPU_MIMXRT1062
313  #ifdef FNET_CPU_STR
314  #error "More than one CPU selected FNET_CFG_CPU_XXXX"
315  #endif
316 
317  #include "port/cpu/mimxrt/fnet_mimxrt1062_config.h"
318  #define FNET_CPU_STR "MIMXRT1062"
319 #endif
320 
321 
322 /*-----------*/
323 #ifndef FNET_CPU_STR
324  #error "Select/Define proper CPU FNET_CFG_CPU_XXXX !"
325 #endif
326 
327 /*-----------*/
328 #ifndef FNET_MCF
329  #define FNET_MCF (0)
330 #endif
331 
332 #ifndef FNET_MK
333  #define FNET_MK (0)
334 #endif
335 
336 #ifndef FNET_MPC
337  #define FNET_MPC (0)
338 #endif
339 
340 #ifndef FNET_LPC
341  #define FNET_LPC (0)
342 #endif
343 
344 #ifndef FNET_MIMXRT
345  #define FNET_MIMXRT (0)
346 #endif
347 
348 /*-----------*/
349 #if FNET_MCF
350  #include "port/cpu/mcf/fnet_mcf_config.h"
351 #endif
352 
353 #if FNET_MK
354  #include "port/cpu/mk/fnet_mk_config.h"
355 #endif
356 
357 #if FNET_MPC
358  #include "port/cpu/mpc/fnet_mpc_config.h"
359 #endif
360 
361 #if FNET_LPC
362  #include "port/cpu/lpc/fnet_lpc_config.h"
363 #endif
364 
365 #if FNET_MIMXRT
366  #include "port/cpu/mimxrt/fnet_mimxrt_config.h"
367 #endif
368 
369 /**************************************************************************/
376 #ifndef FNET_CFG_CPU_LITTLE_ENDIAN
377  #define FNET_CFG_CPU_LITTLE_ENDIAN (0)
378 #endif
379 
380 /*****************************************************************************
381  * @def FNET_CFG_CPU_INDEX
382  * @brief Processor index (0 or 1).It defines which core should be used,
383  * in multiprocessor systems.@n
384  * Default value is @b 0. @n
385  * Used only by multi-core MPC platform and ignored for MCF and MK:
386  * - MPC5668g has 0 (z6 core up to 128MHz) or 1 (z0 core up to 60MHz).
387  * - MPC564xBC has 0 (z4 core up to 120MHz) or 1 (z0 core up to 60MHz).
388 ******************************************************************************/
389 #ifndef FNET_CFG_CPU_INDEX
390  #define FNET_CFG_CPU_INDEX (0)
391 #endif
392 
393 /**************************************************************************/
401 #ifndef FNET_CFG_CPU_CLOCK_HZ
402  #error "Please define FNET_CFG_CPU_CLOCK_HZ"
403  #define FNET_CFG_CPU_CLOCK_HZ (xx) /* Just only for Doxygen documentation */
404 #endif
405 
406 #define FNET_CPU_CLOCK_KHZ (FNET_CFG_CPU_CLOCK_HZ/1000U)
407 #define FNET_CPU_CLOCK_MHZ (FNET_CFG_CPU_CLOCK_HZ/1000000U)
408 
409 /**************************************************************************/
414 #ifndef FNET_CFG_CPU_SERIAL_PORT_DEFAULT
415  #define FNET_CFG_CPU_SERIAL_PORT_DEFAULT (0U)
416 #endif
417 
418 /**************************************************************************/
425 #ifndef FNET_CFG_CPU_SERIAL_IO_INIT
426  #define FNET_CFG_CPU_SERIAL_IO_INIT (1)
427 #endif
428 
429 /**************************************************************************/
435 #ifndef FNET_CFG_CPU_VECTOR_TABLE
436  #define FNET_CFG_CPU_VECTOR_TABLE __VECTOR_RAM
437 #endif
438 
439 /**************************************************************************/
446 #ifndef FNET_CFG_CPU_VECTOR_TABLE_IS_IN_RAM
447  #define FNET_CFG_CPU_VECTOR_TABLE_IS_IN_RAM (1)
448 #endif
449 
450 /**************************************************************************/
459 #ifndef FNET_CFG_CPU_TIMER_NUMBER_MAX
460  #define FNET_CFG_CPU_TIMER_NUMBER_MAX (3u)
461 #endif
462 
463 /**************************************************************************/
468 #ifndef FNET_CFG_CPU_VECTOR_PRIORITY_MAX
469  #define FNET_CFG_CPU_VECTOR_PRIORITY_MAX (7u)
470 #endif
471 
472 /**************************************************************************/
478 #ifndef FNET_CFG_CPU_TIMER_NUMBER
479  #error "FNET_CFG_CPU_TIMER_NUMBER is not defined."
480 #endif
481 
482 /**************************************************************************/
487 #ifndef FNET_CFG_CPU_TIMER_VECTOR_NUMBER
488  #error "FNET_CFG_CPU_TIMER_VECTOR_NUMBER is not defined."
489 #endif
490 
491 /**************************************************************************/
499 #ifndef FNET_CFG_CPU_TIMER_VECTOR_PRIORITY
500  #define FNET_CFG_CPU_TIMER_VECTOR_PRIORITY (3u)
501 #endif
502 
503 /**************************************************************************/
510 #ifndef FNET_CFG_CPU_CACHE
511  #define FNET_CFG_CPU_CACHE (0)
512 #endif
513 
514 /**************************************************************************/
520 #ifndef FNET_CFG_CPU_NONCACHEABLE_SECTION
521  #define FNET_CFG_CPU_NONCACHEABLE_SECTION "NonCacheable"
522 #endif
523 
524 /**************************************************************************/
533 #ifndef FNET_CFG_CPU_FLASH
534  #define FNET_CFG_CPU_FLASH (0)
535 #endif
536 
537 /**************************************************************************/
542 #ifndef FNET_CFG_CPU_FLASH_ADDRESS
543  #define FNET_CFG_CPU_FLASH_ADDRESS (0x0U)
544 #endif
545 
546 /**************************************************************************/
552 #ifndef FNET_CFG_CPU_FLASH_SIZE
553  #define FNET_CFG_CPU_FLASH_SIZE (0U)
554 #endif
555 
556 /**************************************************************************/
565 #ifndef FNET_CFG_CPU_FLASH_PAGE_SIZE
566  #define FNET_CFG_CPU_FLASH_PAGE_SIZE (0U)
567 #endif
568 
569 /**************************************************************************/
575 #ifndef FNET_CFG_CPU_FLASH_PROGRAM_SIZE
576  #define FNET_CFG_CPU_FLASH_PROGRAM_SIZE (0U)
577 #endif
578 
579 /**************************************************************************/
585 #ifndef FNET_CFG_CPU_FLASH_VERIFY
586  #define FNET_CFG_CPU_FLASH_VERIFY (0)
587 #endif
588 
594 /**************************************************************************/
601 #ifndef FNET_CFG_CPU_ETH0
602  #define FNET_CFG_CPU_ETH0 (1)
603 #endif
604 
605 /**************************************************************************/
613 #ifndef FNET_CFG_CPU_ETH1
614  #define FNET_CFG_CPU_ETH1 (0)
615 #endif
616 
617 /**************************************************************************/
622 #ifndef FNET_CFG_CPU_ETH0_NAME
623  #define FNET_CFG_CPU_ETH0_NAME "eth0"
624 #endif
625 
626 /**************************************************************************/
631 #ifndef FNET_CFG_CPU_ETH1_NAME
632  #define FNET_CFG_CPU_ETH1_NAME "eth1"
633 #endif
634 
635 /**************************************************************************/
640 #ifndef FNET_CFG_CPU_WIFI_NAME
641  #define FNET_CFG_CPU_WIFI_NAME "wifi"
642 #endif
643 
644 /**************************************************************************/
652 #ifndef FNET_CFG_CPU_ETH0_PHY_ADDR
653  #define FNET_CFG_CPU_ETH0_PHY_ADDR (0U)
654 #endif
655 
656 /**************************************************************************/
664 #ifndef FNET_CFG_CPU_ETH1_PHY_ADDR
665  #define FNET_CFG_CPU_ETH1_PHY_ADDR (1U)
666 #endif
667 
668 /**************************************************************************/
677 #ifndef FNET_CFG_CPU_ETH_PHY_ADDR_DISCOVER
678  #define FNET_CFG_CPU_ETH_PHY_ADDR_DISCOVER (0)
679 #endif
680 
681 /**************************************************************************/
687 #ifndef FNET_CFG_CPU_ETH0_MTU
688  #if FNET_CFG_CPU_ETH0
689  #define FNET_CFG_CPU_ETH0_MTU (FNET_ETH_MTU)
690  #else
691  #define FNET_CFG_CPU_ETH0_MTU (0u)
692  #endif
693 #endif
694 
695 /**************************************************************************/
701 #ifndef FNET_CFG_CPU_ETH1_MTU
702  #if FNET_CFG_CPU_ETH1
703  #define FNET_CFG_CPU_ETH1_MTU (FNET_ETH_MTU)
704  #else
705  #define FNET_CFG_CPU_ETH1_MTU (0u)
706  #endif
707 #endif
708 
709 /**************************************************************************/
714 #if defined(__DOXYGEN__)
715  #define FNET_CFG_CPU_ETH0_VECTOR_NUMBER (0)
716 #endif
717 #if FNET_CFG_CPU_ETH0
718  #ifndef FNET_CFG_CPU_ETH0_VECTOR_NUMBER
719  #error "FNET_CFG_CPU_ETH0_VECTOR_NUMBER is not defined."
720  #endif
721 #endif
722 
723 /**************************************************************************/
728 #if defined(__DOXYGEN__)
729  #define FNET_CFG_CPU_ETH1_VECTOR_NUMBER (0)
730 #endif
731 #if FNET_CFG_CPU_ETH1
732  #ifndef FNET_CFG_CPU_ETH1_VECTOR_NUMBER
733  #error "FNET_CFG_CPU_ETH1_VECTOR_NUMBER is not defined."
734  #endif
735 #endif
736 
737 /**************************************************************************/
745 #ifndef FNET_CFG_CPU_ETH_VECTOR_PRIORITY
746  #if FNET_MCF || FNET_MPC /* Timer should have a higher priority to provide correct tick value */
747  #define FNET_CFG_CPU_ETH_VECTOR_PRIORITY (FNET_CFG_CPU_TIMER_VECTOR_PRIORITY-1u)
748  #else /* ARM */
749  #define FNET_CFG_CPU_ETH_VECTOR_PRIORITY (FNET_CFG_CPU_TIMER_VECTOR_PRIORITY+1u)
750  #endif
751 #endif
752 
753 /**************************************************************************/
762 #ifndef FNET_CFG_CPU_ETH_TX_BUFS_MAX
763  #define FNET_CFG_CPU_ETH_TX_BUFS_MAX (2u)
764 #endif
765 
766 /**************************************************************************/
774 #ifndef FNET_CFG_CPU_ETH_RX_BUFS_MAX
775  #define FNET_CFG_CPU_ETH_RX_BUFS_MAX (2u)
776 #endif
777 
778 /**************************************************************************/
792 #ifndef FNET_CFG_CPU_ETH_ATONEGOTIATION_TIMEOUT
793  #define FNET_CFG_CPU_ETH_ATONEGOTIATION_TIMEOUT (2000U) /*ms*/
794 #endif
795 
796 /**************************************************************************/
805 #ifndef FNET_CFG_CPU_ETH_PROMISCUOUS
806  #define FNET_CFG_CPU_ETH_PROMISCUOUS (0)
807 #endif
808 
809 /**************************************************************************/
817 #ifndef FNET_CFG_CPU_ETH_FULL_DUPLEX
818  #define FNET_CFG_CPU_ETH_FULL_DUPLEX (1)
819 #endif
820 
821 /**************************************************************************/
828 #ifndef FNET_CFG_CPU_ETH_RMII
829  #define FNET_CFG_CPU_ETH_RMII (0)
830 #endif
831 
832 /**************************************************************************/
840 #ifndef FNET_CFG_CPU_ETH_RMII_10T
841  #define FNET_CFG_CPU_ETH_RMII_10T (0)
842 #endif
843 
844 /**************************************************************************/
852 #ifndef FNET_CFG_CPU_ETH_MIB
853  #define FNET_CFG_CPU_ETH_MIB (1)
854 #endif
855 
856 /**************************************************************************/
865 #ifndef FNET_CFG_CPU_ETH_HW_TX_PROTOCOL_CHECKSUM
866  #define FNET_CFG_CPU_ETH_HW_TX_PROTOCOL_CHECKSUM (0)
867 #endif
868 
869 /**************************************************************************/
878 #ifndef FNET_CFG_CPU_ETH_HW_TX_IP_CHECKSUM
879  #define FNET_CFG_CPU_ETH_HW_TX_IP_CHECKSUM (0)
880 #endif
881 
882 /**************************************************************************/
892 #ifndef FNET_CFG_CPU_ETH_HW_RX_PROTOCOL_CHECKSUM
893  #define FNET_CFG_CPU_ETH_HW_RX_PROTOCOL_CHECKSUM (0)
894 #endif
895 
896 /**************************************************************************/
905 #ifndef FNET_CFG_CPU_ETH_HW_RX_IP_CHECKSUM
906  #define FNET_CFG_CPU_ETH_HW_RX_IP_CHECKSUM (0)
907 #endif
908 
909 /**************************************************************************/
919 #ifndef FNET_CFG_CPU_ETH_HW_RX_MAC_ERR
920  #define FNET_CFG_CPU_ETH_HW_RX_MAC_ERR (0)
921 #endif
922 
923 /**************************************************************************/
930 #ifndef FNET_CFG_CPU_ETH_IO_INIT
931  #define FNET_CFG_CPU_ETH_IO_INIT (1)
932 #endif
933 
934 /**************************************************************************/
941 #ifndef FNET_CFG_CPU_WIFI
942  #define FNET_CFG_CPU_WIFI (0)
943 #endif
944 
945 /**************************************************************************/
953 #ifndef FNET_CFG_CPU_WIFI_FW_UPDATE
954  #define FNET_CFG_CPU_WIFI_FW_UPDATE (0)
955 #endif
956 
957 /**************************************************************************/
964 #ifndef FNET_CFG_CPU_WIFI_IO_INIT
965  #define FNET_CFG_CPU_WIFI_IO_INIT (1)
966 #endif
967 
970 #ifdef FNET_CFG_CPU_ETH0_MAC_ADDR
971  #error "FNET_CFG_CPU_ETH0_MAC_ADDR parameter is obsolete. It is user application parameter now."
972 #endif
973 #ifdef FNET_CFG_CPU_ETH1_MAC_ADDR
974  #error "FNET_CFG_CPU_ETH1_MAC_ADDR parameter is obsolete. It is user application parameter now."
975 #endif
976 #ifdef FNET_CFG_ETH_IP4_GW
977  #error "FNET_CFG_ETH_IP4_GW parameter is obsolete. It is user application parameter now."
978 #endif
979 #ifdef FNET_CFG_ETH_IP4_DNS
980  #error "FNET_CFG_ETH_IP4_DNS parameter is obsolete. It is user application parameter now."
981 #endif
982 #ifdef FNET_CFG_ETH_MAC_ADDR
983  #error "FNET_CFG_ETH_MAC_ADDR parameter is obsolete. It is user application parameter now."
984 #endif
985 
986 #endif /* _FNET_CPU_CONFIG_H_ */

© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net