ch32v307 rt-thread 以太网

你好,麻烦了,我也想要一份个人信息保护,已隐藏


您好,已发至你的邮箱,请注意查收


麻烦给我一份,谢谢:个人信息保护,已隐藏


关于这个工程里面的drv_gpio.c里的static const struct pin_index pins[] ={}这个定义,我觉得有问题,工程里的编号按管脚号去定义了,应该按ABCD和0123的顺序来定义。

#if (CH32V30X_PIN_NUMBERS == 100)

    __CH32_PIN(0, A, 0),

    __CH32_PIN(1, A, 1),

    __CH32_PIN(2, A, 2),

    __CH32_PIN(3, A, 3),

    __CH32_PIN(4, A, 4),

    __CH32_PIN(5, A, 5),

    __CH32_PIN(6, A, 6),

    __CH32_PIN(7, A, 7),

    __CH32_PIN(8, A, 8),

    __CH32_PIN(9, A, 9),

    __CH32_PIN(10, A, 10),

    __CH32_PIN(11, A, 11),

    __CH32_PIN(12, A, 12),

    __CH32_PIN(13, A, 13),

    __CH32_PIN(14, A, 14),

    __CH32_PIN(15, A, 15),

    __CH32_PIN(16, B, 0),

    __CH32_PIN(17, B, 1),

    __CH32_PIN(18, B, 2),

    __CH32_PIN(19, B, 3),

    __CH32_PIN(20, B, 4),

    __CH32_PIN(21, B, 5),

    __CH32_PIN(22, B, 6),

    __CH32_PIN(23, B, 7),

    __CH32_PIN(24, B, 8),

    __CH32_PIN(25, B, 9),

    __CH32_PIN(26, B, 10),

    __CH32_PIN(27, B, 11),

    __CH32_PIN(28, B, 12),

    __CH32_PIN(29, B, 13),

    __CH32_PIN(30, B, 14),

    __CH32_PIN(31, B, 15),

    __CH32_PIN(32, C, 0),

    __CH32_PIN(33, C, 1),

    __CH32_PIN(34, C, 2),

    __CH32_PIN(35, C, 3),

    __CH32_PIN(36, C, 4),

    __CH32_PIN(37, C, 5),

    __CH32_PIN(38, C, 6),

    __CH32_PIN(39, C, 7),

    __CH32_PIN(40, C, 8),

    __CH32_PIN(41, C, 9),

    __CH32_PIN(42, C, 10),

    __CH32_PIN(43, C, 11),

    __CH32_PIN(44, C, 12),

    __CH32_PIN(45, C, 13),

    __CH32_PIN(46, C, 14),

    __CH32_PIN(47, C, 15),

    __CH32_PIN(48, D, 0),

    __CH32_PIN(49, D, 1),

    __CH32_PIN(50, D, 2),

    __CH32_PIN(51, D, 3),

    __CH32_PIN(52, D, 4),

    __CH32_PIN(53, D, 5),

    __CH32_PIN(54, D, 6),

    __CH32_PIN(55, D, 7),

    __CH32_PIN(56, D, 8),

    __CH32_PIN(57, D, 9),

    __CH32_PIN(58, D, 10),

    __CH32_PIN(59, D, 11),

    __CH32_PIN(60, D, 12),

    __CH32_PIN(61, D, 13),

    __CH32_PIN(62, D, 14),

    __CH32_PIN(63, D, 15),

    __CH32_PIN(64, E, 0),

    __CH32_PIN(65, E, 1),

    __CH32_PIN(66, E, 2),

    __CH32_PIN(67, E, 3),

    __CH32_PIN(68, E, 4),

    __CH32_PIN(69, E, 5),

    __CH32_PIN(70, E, 6),

    __CH32_PIN(71, E, 7),

    __CH32_PIN(72, E, 8),

    __CH32_PIN(73, E, 9),

    __CH32_PIN(74, E, 10),

    __CH32_PIN(75, E, 11),

    __CH32_PIN(76, E, 12),

    __CH32_PIN(77, E, 13),

    __CH32_PIN(78, E, 14),

    __CH32_PIN(79, E, 15),

#endif



只有登录才能回复,可以选择微信账号登录