summaryrefslogtreecommitdiffstats
path: root/nuttx/arch/mips/src/pic32mx/Kconfig
blob: 74a093e3f31065ed18062e5dcfb6a74fc196470d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

if ARCH_CHIP_PIC32MX

choice
	prompt "PIC32MX chip selection"
	default ARCH_CHIP_PIC32MX460F512L

config ARCH_CHIP_PIC32MX110F016B
	bool "PIC32MX110F016B"
	---help---
		Microchip PIC32MX110F016B (MIPS32)

config ARCH_CHIP_PIC32MX110F016C
	bool "PIC32MX110F016C"
	---help---
		Microchip PIC32MX110F016C (MIPS32)

config ARCH_CHIP_PIC32MX110F016D
	bool "PIC32MX110F016D"
	---help---
		Microchip PIC32MX110F016D (MIPS32)

config ARCH_CHIP_PIC32MX120F032B
	bool "PIC32MX120F032B"
	---help---
		Microchip PIC32MX120F032B (MIPS32)

config ARCH_CHIP_PIC32MX120F032C
	bool "PIC32MX120F032C"
	---help---
		Microchip PIC32MX120F032C (MIPS32)

config ARCH_CHIP_PIC32MX120F032D
	bool "PIC32MX120F032D"
	---help---
		Microchip PIC32MX120F032D (MIPS32)

config ARCH_CHIP_PIC32MX130F064B
	bool "PIC32MX130F064B"
	---help---
		Microchip PIC32MX130F064B (MIPS32)

config ARCH_CHIP_PIC32MX130F064C
	bool "PIC32MX130F064C"
	---help---
		Microchip PIC32MX130F064C (MIPS32)

config ARCH_CHIP_PIC32MX130F064D
	bool "PIC32MX130F064D"
	---help---
		Microchip PIC32MX130F064D (MIPS32)

config ARCH_CHIP_PIC32MX150F128B
	bool "PIC32MX150F128B"
	---help---
		Microchip PIC32MX150F128B (MIPS32)

config ARCH_CHIP_PIC32MX150F128C
	bool "PIC32MX150F128C"
	---help---
		Microchip PIC32MX150F128C (MIPS32)

config ARCH_CHIP_PIC32MX150F128D
	bool "PIC32MX150F128D"
	---help---
		Microchip PIC32MX150F128D (MIPS32)

config ARCH_CHIP_PIC32MX210F016B
	bool "PIC32MX210F016B"
	---help---
		Microchip PIC32MX210F016B (MIPS32)

config ARCH_CHIP_PIC32MX210F016C
	bool "PIC32MX210F016C"
	---help---
		Microchip PIC32MX210F016C (MIPS32)

config ARCH_CHIP_PIC32MX210F016D
	bool "PIC32MX210F016D"
	---help---
		Microchip PIC32MX210F016D (MIPS32)

config ARCH_CHIP_PIC32MX220F032B
	bool "PIC32MX220F032B"
	---help---
		Microchip PIC32MX220F032B (MIPS32)

config ARCH_CHIP_PIC32MX220F032C
	bool "PIC32MX220F032C"
	---help---
		Microchip PIC32MX220F032C (MIPS32)

config ARCH_CHIP_PIC32MX220F032D
	bool "PIC32MX220F032D"
	---help---
		Microchip PIC32MX220F032D (MIPS32)

config ARCH_CHIP_PIC32MX230F064B
	bool "PIC32MX230F064B"
	---help---
		Microchip PIC32MX230F064B (MIPS32)

config ARCH_CHIP_PIC32MX230F064C
	bool "PIC32MX230F064C"
	---help---
		Microchip PIC32MX230F064C (MIPS32)

config ARCH_CHIP_PIC32MX230F064D
	bool "PIC32MX230F064D"
	---help---
		Microchip PIC32MX230F064D (MIPS32)

config ARCH_CHIP_PIC32MX250F128B
	bool "PIC32MX250F128B"
	---help---
		Microchip PIC32MX250F128B (MIPS32)

config ARCH_CHIP_PIC32MX250F128C
	bool "PIC32MX250F128C"
	---help---
		Microchip PIC32MX250F128C (MIPS32)

config ARCH_CHIP_PIC32MX250F128D
	bool "PIC32MX250F128D"
	---help---
		Microchip PIC32MX250F128D (MIPS32)

config ARCH_CHIP_PIC32MX320F032H
	bool "PIC32MX320F032H"
	---help---
		Microchip PIC32MX320F032H (MIPS32)

config ARCH_CHIP_PIC32MX320F064H
	bool "PIC32MX320F064H"
	---help---
		Microchip PIC32MX320F064H (MIPS32)

config ARCH_CHIP_PIC32MX320F128H
	bool "PIC32MX320F128H"
	---help---
		Microchip PIC32MX320F128H (MIPS32)

config ARCH_CHIP_PIC32MX320F128L
	bool "PIC32MX320F128L"
	---help---
		Microchip PIC32MX320F128L (MIPS32)

config ARCH_CHIP_PIC32MX340F128H
	bool "PIC32MX340F128H"
	---help---
		Microchip PIC32MX340F128H (MIPS32)

config ARCH_CHIP_PIC32MX340F256H
	bool "PIC32MX340F256H"
	---help---
		Microchip PIC32MX340F256H (MIPS32)

config ARCH_CHIP_PIC32MX340F512H
	bool "PIC32MX340F512H"
	---help---
		Microchip PIC32MX340F512H (MIPS32)

config ARCH_CHIP_PIC32MX340F128L
	bool "PIC32MX340F128L"
	---help---
		Microchip PIC32MX340F128L (MIPS32)

config ARCH_CHIP_PIC32MX360F256L
	bool "PIC32MX360F256L"
	---help---
		Microchip PIC32MX360F256L (MIPS32)

config ARCH_CHIP_PIC32MX360F512L
	bool "PIC32MX360F512L"
	---help---
		Microchip PIC32MX360F512L (MIPS32)

config ARCH_CHIP_PIC32MX420F032H
	bool "PIC32MX420F032H"
	---help---
		Microchip PIC32MX420F032H (MIPS32)

config ARCH_CHIP_PIC32MX440F128H
	bool "PIC32MX440F128H"
	---help---
		Microchip PIC32MX440F128H (MIPS32)

config ARCH_CHIP_PIC32MX440F128L
	bool "PIC32MX440F128L"
	---help---
		Microchip PIC32MX440F128L (MIPS32)

config ARCH_CHIP_PIC32MX440F256H
	bool "PIC32MX440F256H"
	---help---
		Microchip PIC32MX440F256H (MIPS32)

config ARCH_CHIP_PIC32MX440F512H
	bool "PIC32MX440F512H"
	---help---
		Microchip PIC32MX440F512H (MIPS32)

config ARCH_CHIP_PIC32MX460F256L
	bool "PIC32MX460F256L"
	---help---
		Microchip PIC32MX460F256L (MIPS32)

config ARCH_CHIP_PIC32MX460F512L
	bool "PIC32MX460F512L"
	---help---
		Microchip PIC32MX460F512L (MIPS32)

config ARCH_CHIP_PIC32MX534F064H
	bool "PIC32MX534F064H"
	---help---
		Microchip PIC32MX534F064H (MIPS32)

config ARCH_CHIP_PIC32MX534F064L
	bool "PIC32MX534F064L"
	---help---
		Microchip PIC32MX534F064L (MIPS32)

config ARCH_CHIP_PIC32MX564F064H
	bool "PIC32MX564F064H"
	---help---
		Microchip PIC32MX564F064H (MIPS32)

config ARCH_CHIP_PIC32MX564F064L
	bool "PIC32MX564F064L"
	---help---
		Microchip PIC32MX564F064L (MIPS32)

config ARCH_CHIP_PIC32MX564F128H
	bool "PIC32MX564F128H"
	---help---
		Microchip PIC32MX564F128H (MIPS32)

config ARCH_CHIP_PIC32MX564F128L
	bool "PIC32MX564F128L"
	---help---
		Microchip PIC32MX564F128L (MIPS32)

config ARCH_CHIP_PIC32MX575F256H
	bool "PIC32MX575F256H"
	---help---
		Microchip PIC32MX575F256H (MIPS32)

config ARCH_CHIP_PIC32MX575F256L
	bool "PIC32MX575F256L"
	---help---
		Microchip PIC32MX575F256L (MIPS32)

config ARCH_CHIP_PIC32MX575F512H
	bool "PIC32MX575F512H"
	---help---
		Microchip PIC32MX575F512H (MIPS32)

config ARCH_CHIP_PIC32MX575F512L
	bool "PIC32MX575F512L"
	---help---
		Microchip PIC32MX575F512L (MIPS32)

config ARCH_CHIP_PIC32MX664F064H
	bool "PIC32MX664F064H"
	---help---
		Microchip PIC32MX664F064H (MIPS32)

config ARCH_CHIP_PIC32MX664F064L
	bool "PIC32MX664F064L"
	---help---
		Microchip PIC32MX664F064L (MIPS32)

config ARCH_CHIP_PIC32MX664F128H
	bool "PIC32MX664F128H"
	---help---
		Microchip PIC32MX664F128H (MIPS32)

config ARCH_CHIP_PIC32MX664F128L
	bool "PIC32MX664F128L"
	---help---
		Microchip PIC32MX664F128L (MIPS32)

config ARCH_CHIP_PIC32MX675F256H
	bool "PIC32MX675F256H"
	---help---
		Microchip PIC32MX675F256H (MIPS32)

config ARCH_CHIP_PIC32MX675F256L
	bool "PIC32MX675F256L"
	---help---
		Microchip PIC32MX675F256L (MIPS32)

config ARCH_CHIP_PIC32MX675F512H
	bool "PIC32MX675F512H"
	---help---
		Microchip PIC32MX675F512H (MIPS32)

config ARCH_CHIP_PIC32MX675F512L
	bool "PIC32MX675F512L"
	---help---
		Microchip PIC32MX675F512L (MIPS32)

config ARCH_CHIP_PIC32MX695F512H
	bool "PIC32MX695F512H"
	---help---
		Microchip PIC32MX695F512H (MIPS32)

config ARCH_CHIP_PIC32MX695F512L
	bool "PIC32MX695F512L"
	---help---
		Microchip PIC32MX695F512L (MIPS32)

config ARCH_CHIP_PIC32MX764F128H
	bool "PIC32MX764F128H"
	---help---
		Microchip PIC32MX764F128H (MIPS32)

config ARCH_CHIP_PIC32MX764F128L
	bool "PIC32MX764F128L"
	---help---
		Microchip PIC32MX764F128L (MIPS32)

config ARCH_CHIP_PIC32MX775F256H
	bool "PIC32MX775F256H"
	---help---
		Microchip PIC32MX775F256H (MIPS32)

config ARCH_CHIP_PIC32MX775F256L
	bool "PIC32MX775F256L"
	---help---
		Microchip PIC32MX775F256L (MIPS32)

config ARCH_CHIP_PIC32MX775F512H
	bool "PIC32MX775F512H"
	---help---
		Microchip PIC32MX775F512H (MIPS32)

config ARCH_CHIP_PIC32MX775F512L
	bool "PIC32MX775F512L"
	---help---
		Microchip PIC32MX775F512L (MIPS32)

config ARCH_CHIP_PIC32MX795F512H
	bool "PIC32MX795F512H"
	---help---
		Microchip PIC32MX795F512H (MIPS32)

config ARCH_CHIP_PIC32MX795F512L
	bool "PIC32MX795F512L"
	---help---
		Microchip PIC32MX795F512L (MIPS32)

endchoice

config ARCH_CHIP_PIC32MX1
	bool
	default y		if ARCH_CHIP_PIC32MX110F016B || ARCH_CHIP_PIC32MX110F016C || ARCH_CHIP_PIC32MX110F016D || ARCH_CHIP_PIC32MX120F032B || ARCH_CHIP_PIC32MX120F032C ||  ARCH_CHIP_PIC32MX120F032D || ARCH_CHIP_PIC32MX130F064B ||  ARCH_CHIP_PIC32MX130F064C || ARCH_CHIP_PIC32MX130F064D || ARCH_CHIP_PIC32MX150F128B ||  ARCH_CHIP_PIC32MX150F128C || ARCH_CHIP_PIC32MX150F128D

config ARCH_CHIP_PIC32MX2
	bool
	default y		if ARCH_CHIP_PIC32MX210F016B || ARCH_CHIP_PIC32MX210F016C || ARCH_CHIP_PIC32MX210F016D || ARCH_CHIP_PIC32MX220F032B || ARCH_CHIP_PIC32MX220F032C || ARCH_CHIP_PIC32MX220F032D || ARCH_CHIP_PIC32MX230F064B || ARCH_CHIP_PIC32MX230F064C || ARCH_CHIP_PIC32MX230F064D || ARCH_CHIP_PIC32MX250F128B || ARCH_CHIP_PIC32MX250F128C || ARCH_CHIP_PIC32MX250F128D

config ARCH_CHIP_PIC32MX3
	bool
	default y		if ARCH_CHIP_PIC32MX320F032H || ARCH_CHIP_PIC32MX320F064H || ARCH_CHIP_PIC32MX320F128H || ARCH_CHIP_PIC32MX320F128L || ARCH_CHIP_PIC32MX340F128H || ARCH_CHIP_PIC32MX340F256H || ARCH_CHIP_PIC32MX340F512H || ARCH_CHIP_PIC32MX340F128L || ARCH_CHIP_PIC32MX360F256L || ARCH_CHIP_PIC32MX360F512L

config ARCH_CHIP_PIC32MX4
	bool
	default y		if ARCH_CHIP_PIC32MX420F032H || ARCH_CHIP_PIC32MX440F128H || ARCH_CHIP_PIC32MX440F128L || ARCH_CHIP_PIC32MX440F256H || ARCH_CHIP_PIC32MX440F512H || ARCH_CHIP_PIC32MX460F256L || ARCH_CHIP_PIC32MX460F512L

config ARCH_CHIP_PIC32MX5
	bool
	default y		if ARCH_CHIP_PIC32MX534F064H || ARCH_CHIP_PIC32MX534F064L || ARCH_CHIP_PIC32MX564F064H || ARCH_CHIP_PIC32MX564F064L || ARCH_CHIP_PIC32MX564F128H || ARCH_CHIP_PIC32MX564F128L || ARCH_CHIP_PIC32MX575F256H || ARCH_CHIP_PIC32MX575F256L || ARCH_CHIP_PIC32MX575F512H || ARCH_CHIP_PIC32MX575F512L

config ARCH_CHIP_PIC32MX6
	bool
	default y		if ARCH_CHIP_PIC32MX664F064H || ARCH_CHIP_PIC32MX664F064L || ARCH_CHIP_PIC32MX664F128H || ARCH_CHIP_PIC32MX664F128L || ARCH_CHIP_PIC32MX675F256H || ARCH_CHIP_PIC32MX675F256L || ARCH_CHIP_PIC32MX675F512H || ARCH_CHIP_PIC32MX675F512L || ARCH_CHIP_PIC32MX695F512H || ARCH_CHIP_PIC32MX695F512L

config ARCH_CHIP_PIC32MX7
	bool
	default y		if ARCH_CHIP_PIC32MX764F128H || ARCH_CHIP_PIC32MX764F128L || ARCH_CHIP_PIC32MX775F256H || ARCH_CHIP_PIC32MX775F256L || ARCH_CHIP_PIC32MX775F512H || ARCH_CHIP_PIC32MX775F512L || ARCH_CHIP_PIC32MX795F512H || ARCH_CHIP_PIC32MX795F512L

config PIC32MX_MVEC
	bool
	default n

config PIC32MX_T1
	bool
	default y

menu "PIC32MX Peripheral Support"

config PIC32MX_WDT
	bool "Watchdog timer (WDT)"
	default n

config PIC32MX_T2
	bool "Timer 2 (T2)"
	default n

config PIC32MX_T3
	bool "Timer 3 (T3)"
	default n

config PIC32MX_T4
	bool "Timer 4 (T4)"
	default n

config PIC32MX_T5
	bool "Timer 5 (T5)"
	default n

config PIC32MX_IC1
	bool "Input Capture 1 (IC1)"
	default n

config PIC32MX_IC2
	bool "Input Capture 2 (IC2)"
	default n

config PIC32MX_IC3
	bool "Input Capture 3 (IC3)"
	default n

config PIC32MX_IC4
	bool "Input Capture 4 (IC4)"
	default n

config PIC32MX_IC5
	bool "Input Capture 5 (IC5)"
	default n

config PIC32MX_OC1
	bool "Output Compare 1 (OC1)"
	default n

config PIC32MX_OC2
	bool "Output Compare 2 (OC2)"
	default n

config PIC32MX_OC3
	bool "Output Compare 3 (OC3)"
	default n

config PIC32MX_OC4
	bool "Output Compare 4 (OC4)"
	default n

config PIC32MX_OC5
	bool "Output Compare 5 (OC5)"
	default n

config PIC32MX_I2C1
	bool "I2C1"
	default n

config PIC32MX_I2C2
	bool "I2C2"
	default n

config PIC32MX_I2C3
	bool "I2C3"
	default n

config PIC32MX_I2C4
	bool "I2C4"
	default n

config PIC32MX_I2C5
	bool "I2C5"
	default n

config PIC32MX_SPI1
	bool "SPI1"
	default n

config PIC32MX_SPI2
	bool "SPI2"
	default n

config PIC32MX_SPI3
	bool "SPI3"
	default n

config PIC32MX_SPI4
	bool "SPI4"
	default n

config PIC32MX_UART1
	bool "UART1"
	default n
	select ARCH_HAS_UART1

config PIC32MX_UART2
	bool "UART2"
	default n
	select ARCH_HAS_UART1

config PIC32MX_UART3
	bool "UART3"
	default n
	select ARCH_HAS_UART3

config PIC32MX_UART4
	bool "UART4"
	default n
	select ARCH_HAS_UART4

config PIC32MX_UART5
	bool "UART5"
	default n
	select ARCH_HAS_UART5

config PIC32MX_UART6
	bool "UART6"
	default n
	select ARCH_HAS_UART6

config PIC32MX_ADC
	bool "ADC1"
	default n

config PIC32MX_PMP
	bool "Parallel Master Port (PMP)"
	default n

config PIC32MX_CM1
	bool "Comparator 1 (CM1)"
	default n

config PIC32MX_CM2 
	bool "Comparator 2 (CM2)"
	default n

config PIC32MX_RTCC
	bool "Real-Time Clock and Calendar (RTCC)"
	default n

config PIC32MX_DMA
	bool "DMA"
	default n

config PIC32MX_FLASH
	bool "FLASH"
	default n

config PIC32MX_USBDEV
	bool "USB device"
	default n

config PIC32MX_USBHOST
	bool "USB host"
	default n

config PIC32MX_CAN1
	bool "Controller area network 1 (CAN1)"
	default n

config PIC32MX_CAN2
	bool "Controller area network 2 (CAN2)"
	default n

config PIC32MX_ETHERNET
	bool "Ethernet"
	default n
	select NET
	select ARCH_HAS_PHY

config PIC32MX_CTMU
	bool "Charge Time Measurement Unit (CMTU)"
	default n

endmenu

menu "PIC32MX Peripheral Interrupt Priorities"

config PIC32MX_CTPRIO
	int "Core Timer Interrupt (CT)"
	default 16
	---help---
		Core Timer Interrupt.  Range 4-31, Default 16.

config PIC32MX_CS0PRIO
	int "Core Software Interrupt 0 (CS0)"
	default 16
	---help---
		Core Software Interrupt 0.  Range 4-31, Default 16.

config PIC32MX_CS1PRIO
	int "Core Software Interrupt 1 (CS1)"
	default 16
	---help---
		Core Software Interrupt 1.  Range 4-31, Default 16.

config PIC32MX_INT0PRIO
	int "External Interrupt 0 (INT0)"
	default 16
	---help---
		External Interrupt 0.  Range 4-31, Default 16.

config PIC32MX_INT1PRIO
	int "External Interrupt 1 (INT1)"
	default 16
	---help---
		External Interrupt 1.  Range 4-31, Default 16.

config PIC32MX_INT2PRIO
	int "External Interrupt 2 (INT2)"
	default 16
	---help---
		External Interrupt 2.  Range 4-31, Default 16.

config PIC32MX_INT3PRIO
	int "External Interrupt 3 (INT3)"
	default 16
	---help---
		External Interrupt 3.  Range 4-31, Default 16.

config PIC32MX_INT4PRIO
	int "External Interrupt 4 (INT4)"
	default 16
	---help---
		External Interrupt 4.  Range 4-31, Default 16.

config PIC32MX_FSCMPRIO
	int "Fail-Safe Clock Monitor (FSCM)"
	default 16
	depends on PIC32MX_
	---help---
		Fail-Safe Clock Monitor.  Range 4-31, Default 16.

config PIC32MX_T1PRIO
	int "Timer 1 (T1)"
	default 16
	---help---
		Timer 1 (System timer) priority.  Range 4-31, Default 16.

config PIC32MX_T2PRIO
	int "Timer 2 (T2)"
	default 16
	depends on PIC32MX_T2
	---help---
		Timer 2 priority.  Range 4-31, Default 16.

config PIC32MX_T3PRIO
	int "Timer 3 (T3)"
	default 16
	depends on PIC32MX_T3
	---help---
		Timer 3 priority.  Range 4-31, Default 16.

config PIC32MX_T4PRIO
	int "Timer 4 (T4)"
	default 16
	depends on PIC32MX_T4
	---help---
		Timer 4 priority.  Range 4-31, Default 16.

config PIC32MX_T5PRIO
	int "Timer 5 (T5)"
	default 16
	depends on PIC32MX_
	---help---
		Timer 5 priority.  Range 4-31, Default 16.

config PIC32MX_IC1PRIO
	int "Input Capture 1 (IC1)"
	default 16
	depends on PIC32MX_IC1
	---help---
		Input Capture 1.  Range 4-31, Default 16.

config PIC32MX_IC2PRIO
	int "Input Capture 2 (IC2)"
	default 16
	depends on PIC32MX_IC2
	---help---
		Input Capture 2.  Range 4-31, Default 16.

config PIC32MX_IC3PRIO
	int "Input Capture 3 (IC3)"
	default 16
	depends on PIC32MX_IC3
	---help---
		Input Capture 3.  Range 4-31, Default 16.

config PIC32MX_IC4PRIO
	int "Input Capture 4 (IC4)"
	default 16
	depends on PIC32MX_IC4
	---help---
		Input Capture 4.  Range 4-31, Default 16.

config PIC32MX_IC5PRIO
	int "Input Capture 5 (IC5)"
	default 16
	depends on PIC32MX_IC5
	---help---
		Input Capture 5.  Range 4-31, Default 16.

config PIC32MX_OC1PRIO
	int "Output Compare 1 (OC1)"
	default 16
	depends on PIC32MX_OC1
	---help---
		Output Compare 1.  Range 4-31, Default 16.

config PIC32MX_OC2PRIO
	int "Output Compare 2 (OC2)"
	default 16
	depends on PIC32MX_OC2
	---help---
		Output Compare 2.  Range 4-31, Default 16.

config PIC32MX_OC3PRIO
	int "Output Compare 3 (OC3)"
	default 16
	depends on PIC32MX_OC3
	---help---
		Output Compare 3.  Range 4-31, Default 16.

config PIC32MX_OC4PRIO
	int "Output Compare 4 (OC4)"
	default 16
	depends on PIC32MX_OC4
	---help---
		Output Compare 4.  Range 4-31, Default 16.

config PIC32MX_OC5PRIO
	int "Output Compare 5 (OC5)"
	default 16
	depends on PIC32MX_OC5
	---help---
		Output Compare 5.  Range 4-31, Default 16.

config PIC32MX_I2C1PRIO
	int "I2C1"
	default 16
	depends on PIC32MX_I2C1
	---help---
		I2C 1.  Range 4-31, Default 16.

config PIC32MX_I2C2PRIO
	int "I2C2"
	default 16
	depends on PIC32MX_I2C3
	---help---
		I2C 2.  Range 4-31, Default 16.

config PIC32MX_I2C3PRIO
	int "I2C3"
	default 16
	depends on PIC32MX_I2C3
	---help---
		I2C 3.  Range 4-31, Default 16.

config PIC32MX_I2C4PRIO
	int "I2C4"
	default 16
	depends on PIC32MX_I2C4
	---help---
		I2C 4.  Range 4-31, Default 16.

config PIC32MX_I2C5PRIO
	int "I2C5"
	default 16
	depends on PIC32MX_I2C5
	---help---
		I2C 5.  Range 4-31, Default 16.

config PIC32MX_SPI1PRIO
	int "SPI1"
	default 16
	depends on PIC32MX_SPI1
	---help---
		SPI 2

config PIC32MX_SPI2PRIO
	int "SPI2"
	default 16
	depends on PIC32MX_SPI2
	---help---
		SPI 2

config PIC32MX_UART1PRIO
	int "UART1"
	default 16
	depends on PIC32MX_UART1
	---help---
		UART 1.  Range 4-31, Default 16.

config PIC32MX_UART2PRIO
	int "UART2"
	default 16
	depends on PIC32MX_UART2
	---help---
		UART 2.  Range 4-31, Default 16.

config PIC32MX_CNPRIO
	int "CN"
	default 16
	depends on PIC32MX_CN
	---help---
		Input Change Interrupt.  Range 4-31, Default 16.

config PIC32MX_ADCPRIO
	int "ADC1"
	default 16
	depends on PIC32MX_ADC1
	---help---
		ADC1 Convert Done.  Range 4-31, Default 16.

config PIC32MX_PMPPRIO
	int "Parallel Master Port (PMP)"
	default 16
	depends on PIC32MX_PMP
	---help---
		Parallel Master Port.  Range 4-31, Default 16.

config PIC32MX_CM1PRIO
	int "Comparator 1 (CM1)"
	default 16
	depends on PIC32MX_CM1
	---help---
		Comparator 1.  Range 4-31, Default 16.

config PIC32MX_CM2PRIO
	int "Comparator 2 (CM2)"
	default 16
	depends on PIC32MX_CM2
	---help---
		Comparator 2.  Range 4-31, Default 16.

config PIC32MX_RTCCPRIO
	int "Real-Time Clock and Calendar (RTCC)"
	default 16
	depends on PIC32MX_RTCC
	---help---
		Real-Time Clock and Calendar.  Range 4-31, Default 16.

config PIC32MX_DMA0PRIO
	int "DMA0"
	default 16
	depends on PIC32MX_DMA
	---help---
		DMA Channel 0.  Range 4-31, Default 16.

config PIC32MX_DMA1PRIO
	int "DMA1"
	default 16
	depends on PIC32MX_DMA
	---help---
		DMA Channel 1.  Range 4-31, Default 16.

config PIC32MX_DMA2PRIO
	int "DMA2"
	default 16
	depends on PIC32MX_DMA
	---help---
		DMA Channel 2.  Range 4-31, Default 16.

config PIC32MX_DMA3PRIO
	int "DMA3"
	default 16
	depends on PIC32MX_DMA
	---help---
		DMA Channel 3.  Range 4-31, Default 16.

config PIC32MX_DMA4PRIO
	int "DMA4"
	default 16
	depends on PIC32MX_DMA
	---help---
		DMA Channel 4.  Range 4-31, Default 16.

config PIC32MX_DMA5PRIO
	int "DMA5"
	default 16
	depends on PIC32MX_DMA
	---help---
		DMA Channel 5.  Range 4-31, Default 16.

config PIC32MX_DMA6PRIO
	int "DMA6"
	default 16
	depends on PIC32MX_DMA
	---help---
		DMA Channel 6.  Range 4-31, Default 16.

config PIC32MX_DMA7PRIO
	int "DMA7"
	default 16
	depends on PIC32MX_DMA
	---help---
		DMA Channel 7.  Range 4-31, Default 16.

config PIC32MX_FCEPRIO
	int "FCE"
	default 16
	depends on PIC32MX_FLASH
	---help---
		Flash Control Event.  Range 4-31, Default 16.

config PIC32MX_USBPRIO
	int "USB"
	default 16
	depends on PIC32MX_USBDEV || PIC32MX_USBHOST
	---help---
		USB.  Range 4-31, Default 16.

endmenu

config SERIAL_TERMIOS
	bool "Serial driver TERMIOS supported"
	depends on PIC32MX_UART1 || PIC32MX_UART2 || PIC32MX_UART3 || PIC32MX_UART4 || PIC32MX_UART5 || PIC32MX_UART6
	default n
	---help---
		Serial driver supports termios.h interfaces (tcsetattr, tcflush, etc.).
		If this is not defined, then the terminal settings (baud, parity, etc).
		are not configurable at runtime; serial streams cannot be flushed, etc..

menu "PIC32MX PHY/Ethernet device driver settings"
	depends on PIC32MX_ETHERNET

config PHY_AUTONEG
	bool "Auto-negotion"
	default y
	depends on PIC32MX_ETHERNET
	---help---
		Enable auto-negotion

config PHY_SPEED100
	bool "100Mbps spped"
	default n
	depends on PIC32MX_ETHERNET && !PHY_AUTONEG
	---help---
		Select 100Mbit vs. 10Mbit speed.

config PHY_FDUPLEX
	bool "Full duplex"
	default n
	depends on PIC32MX_ETHERNET && !PHY_AUTONEG
	---help---
		Select full (vs. half) duplex

config NET_NTXDESC
	int "Number Tx descriptors"
	default 2
	depends on PIC32MX_ETHERNET
	---help---
		Configured number of Tx descriptors. Default: 2

config NET_NRXDESC
	int "Number Rx descriptors"
	default 4
	depends on PIC32MX_ETHERNET
	---help---
		Configured number of Rx descriptors. Default: 4

config NET_PRIORITY
	int ""
	default 28
	depends on PIC32MX_ETHERNET
	---help---
		Ethernet interrupt priority.  The is default is the higest priority.

config NET_WOL
	bool "Wake-up on LAN"
	default n
	depends on PIC32MX_ETHERNET
	---help---
		Enable Wake-up on LAN (not fully implemented).

config NET_DUMPPACKET
	bool "Dump packets"
	default n
	depends on PIC32MX_ETHERNET && DEBUG
	---help---
		Dump all received and transmitted packets. Also needs DEBUG.

config NET_REGDEBUG
	bool "Register level debug"
	default n
	depends on PIC32MX_ETHERNET && DEBUG
	---help---
		Enabled low level register debug.  Also needs DEBUG.

config NET_HASH
	bool "Hash"
	default n
	depends on PIC32MX_ETHERNET
	---help---
		Enable receipt of near-perfect match frames.

config NET_MULTICAST
	bool "Multicast"
	default y if NET_IGMP
	depends on PIC32MX_ETHERNET
	---help---
		Enable receipt of multicast (and unicast) frames. Automatically set if
		NET_IGMP is selected.

endmenu

menu "Device Configuration 0 (DEVCFG0)"

config PIC32MX_DEBUGGER
	int "Debugger"
	default 3
	---help---
		Background Debugger Enable. Default 3 (disabled). The value 2 enables.

config PIC32MX_ICESEL
	int "ICE channel"
	default 1
	---help---
		In-Circuit Emulator/Debugger Communication Channel Select. Default 1 (PG2)

config PIC32MX_PROGFLASHWP
	hex "Program FLASH write protect"
	default 0xff
	---help---
		Program FLASH write protect.  Default 0xff (disabled)

config PIC32MX_BOOTFLASHWP
	int "Boot FLASH write protect"
	default 1
	---help---
		Default 1 (disabled)

config PIC32MX_CODEWP
	int "Code write protect"
	default 1
	---help---
		Default 1 (disabled)

endmenu

menu "Device Configuration 3 (DEVCFG3)"

config PIC32MX_USBIDO
	int "USB ID"
	default 1 if PIC32MX_USB
	default 0 if !PIC32MX_USB
	---help---
		USB USBID Selection.  Default 1 if USB enabled (USBID pin is controlled by the USB
		module), but 0 (GPIO) otherwise.

config PIC32MX_VBUSIO
	int "USB VBUSON"
	default 1 if PIC32MX_USB
	default 0 if !PIC32MX_USB
	---help---
		USB VBUSON Selection (Default 1 if USB enabled (VBUSON pin is controlled by the USB
		module, but 0 (GPIO) otherwise.

config PIC32MX_WDENABLE
	bool "Watchdog enable"
	default 0
	---help---
		Enabled watchdog on power up.  Default 0 (watchdog can be enabled later by software).

config PIC32MX_FETHIO
	int "Ethernet I/O pins"
	default 1
	---help---
		Ethernet I/O Pin Selection bit:

			1 = Default Ethernet I/O Pins
			0 = Alternate Ethernet I/O Pins

config PIC32MX_FMIIEN
	int "Ethernet MII"
	default 1
	---help---
		Ethernet MII Enable bit

			1 = MII enabled
			0 = RMII enabled

endmenu

endif