Changeset b24e8142 in rtems
- Timestamp:
- 07/16/21 12:32:03 (12 months ago)
- Branches:
- master
- Children:
- 5cc1695
- Parents:
- 1577a48
- git-author:
- Robin Mueller <robin.mueller.m@…> (07/16/21 12:32:03)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (07/20/21 05:37:42)
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
bsps/arm/stm32h7/start/stm32h7-hal-eth.c
r1577a48 rb24e8142 32 32 #include <stm32h7/hal.h> 33 33 34 #include <bspopts.h> 35 34 36 static const stm32h7_gpio_config gpiog = { 35 37 .regs = GPIOG, 36 38 .config = { 37 .Pin = GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_13,39 .Pin = STM32H7_ETH_GPIOG_PINS, 38 40 .Mode = GPIO_MODE_AF_PP, 39 41 .Pull = GPIO_NOPULL, … … 65 67 }; 66 68 69 #ifdef STM32H7_ETH_GPIOB_PINS 70 71 static const stm32h7_gpio_config gpiob = { 72 .regs = GPIOB, 73 .config = { 74 .Pin = STM32H7_ETH_GPIOB_PINS, 75 .Mode = GPIO_MODE_AF_PP, 76 .Pull = GPIO_NOPULL, 77 .Speed = GPIO_SPEED_FREQ_LOW, 78 .Alternate = GPIO_AF11_ETH 79 } 80 }; 81 82 #endif 83 67 84 void 68 85 HAL_ETH_MspInit(ETH_HandleTypeDef *heth) … … 74 91 stm32h7_gpio_init(&gpioc); 75 92 stm32h7_gpio_init(&gpioa); 93 #ifdef STM32H7_ETH_GPIOB_PINS 94 stm32h7_gpio_init(&gpiob); 95 #endif 76 96 } -
spec/build/bsps/arm/stm32h7/grp.yml
r1577a48 rb24e8142 85 85 uid: optvariant 86 86 - role: build-dependency 87 uid: optethgpiogregs 88 - role: build-dependency 89 uid: optethgpiobregs 90 - role: build-dependency 87 91 uid: ../../optconsolebaud 88 92 - role: build-dependency
Note: See TracChangeset
for help on using the changeset viewer.