Skip to content

Commit

Permalink
PWR_SSTART_Pin and PWR_DIRECT_Pin pull down r1b5
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Sep 6, 2019
1 parent 4376a93 commit a29263b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/third_party/stm32_r1b5/Src/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void MX_GPIO_Init(void)
/*Configure GPIO pins : PGPin PGPin */
GPIO_InitStruct.Pin = PWR_DIRECT_Pin|PWR_SSTART_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Pull = GPIO_PULLDOWN;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOG, &GPIO_InitStruct);

Expand Down
4 changes: 2 additions & 2 deletions src/third_party/stm32_r1b5/h25005.ioc
Original file line number Diff line number Diff line change
Expand Up @@ -568,12 +568,12 @@ PG14.Signal=GPIO_Output
PG15.Signal=FMC_SDNCAS
PG2.GPIOParameters=GPIO_PuPd,GPIO_Label
PG2.GPIO_Label=PWR_DIRECT
PG2.GPIO_PuPd=GPIO_NOPULL
PG2.GPIO_PuPd=GPIO_PULLDOWN
PG2.Locked=true
PG2.Signal=GPIO_Output
PG3.GPIOParameters=GPIO_PuPd,GPIO_Label
PG3.GPIO_Label=PWR_SSTART
PG3.GPIO_PuPd=GPIO_NOPULL
PG3.GPIO_PuPd=GPIO_PULLDOWN
PG3.Locked=true
PG3.Signal=GPIO_Output
PG4.Signal=FMC_A14_BA0
Expand Down

0 comments on commit a29263b

Please sign in to comment.