Re: bug in http server


Yannis Damigos
 

Hi Erwin

On Mon, Jul 31, 2017 at 11:57 PM, Erwin Rol <mailinglists@erwinrol.com> wrote:
Hey Anas, Erwan,

I fixed the compile bug, but on the olimex board the ethernet is no not
functional.

I got two boards (same STM32F407 CPU), one is working, one (the olimex)
isn't. Both were working before the changes to the pinmux stuff.

The olimex does receive ethernet but can't send, the other board can
send and receive. The only obvious difference is the GPIO pins that are
used. The working board uses pins from GPIOB where the non working
olimex uses pins (the 3 TX pins) from GPIOG.

Is there anything special I have to do to enable GPIOG ? GPIOC and GPIOB
are used by the for example the UARTS, but GPIOG is only used by the ETH
controller, so did I forgot some initialization stuff or something like
that?
Did you try to enable CONFIG_GPIO_STM32_PORTG? I took a look into
samples/net/http_server/outdir/olimex_stm32_e407/.config and GPIOG is
not enabled.

Yannis

- Erwin


PS: Anas do you want me to push the compile fix, because even if the
driver isn't working the fix I have is correct (just used the wrong
defines).


On Mon, 2017-07-31 at 13:32 +0000, Nashif, Anas wrote:
Hi,

Please take a look at this bug:
https://jira.zephyrproject.org/browse/ZEP-2452



This happened with olimex_stm32_e407 board.





Anas


_______________________________________________
Zephyr-devel mailing list
Zephyr-devel@lists.zephyrproject.org
https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel

Join devel@lists.zephyrproject.org to automatically receive all group messages.