chibios+enc28j60+lwip_binding
Posted: Wed Dec 11, 2013 2:58 pm
Hi,
i want to use stm32f3 discovery with enc28j60 via spi2.
As pattern i take lwip_bindings from stm32f4 demo. As i see i need to change all mac functions to wrappers over spi. but i do not know how to change events
such as
may be can i change it to external irq handler which rise by enc28 irq pin?
i want to use stm32f3 discovery with enc28j60 via spi2.
As pattern i take lwip_bindings from stm32f4 demo. As i see i need to change all mac functions to wrappers over spi. but i do not know how to change events
such as
Code: Select all
chEvtRegisterMask(macGetReceiveEventSource(ÐD1), &el1, FRAME_RECEIVED_ID);may be can i change it to external irq handler which rise by enc28 irq pin?