VCC-GND STM32F407VET6 dev board

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
User avatar
mcauser
Posts: 169
Joined: Mon Jun 15, 2015 8:03 am

Re: VCC-GND STM32F407VET6 dev board

Postby mcauser » Thu Mar 09, 2017 1:00 am

Board definition moved here:
https://github.com/mcauser/VCC_GND_F407

Using @dhylands approach, with separate git repos per board, and clone them into stmhal/boards when needed
https://github.com/dhylands/wiki/wiki/M ... oard-files

Javid
Posts: 1
Joined: Mon Apr 03, 2017 5:25 am

Re: VCC-GND STM32F407VET6 dev board

Postby Javid » Mon Apr 03, 2017 5:33 am

Hi. Need some advice. I bought one of this boards and confused with led light.
I used code from vcc-gnd.taobao.com for led it works. But what if i want to use cubemx?
Used Cubemx and then used simple code but it doesnt work.

HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_9);
HAL_Delay(500);

Does this board work with Hal drivers? May be you can add example with hal driver?

User avatar
dhylands
Posts: 2374
Joined: Mon Jan 06, 2014 6:08 pm
Location: Shuswap, BC, Canada
Contact:

Re: VCC-GND STM32F407VET6 dev board

Postby dhylands » Mon Apr 03, 2017 8:23 pm

The board works with the HAL, since micropython uses the HAL.

Did you also configure the pin as an output? and enable the clock for Port B?

Do you have a complete code example?

I have a small repository here: https://github.com/dhylands/stm32-test and if you check that out and do:

Code: Select all

make BOARD=VCC-GND-F407
then that builds a small app that flashes the BLUE Led on the board (and uses the HAL)


Return to “Other Boards”

Who is online

Users browsing this forum: No registered users and 1 guest