The STM32 ports show up in the eCos Configuration tool under Build>Templates as: ST STM3240 EVAL board, etc.
Useful macros are CYGWRD_HAL_STM32_GPIO_SET(…), CYGHWR_HAL_STM32_GPIO_OUT(…), CYGHWR_HAL_STM32_GPIO_IN(…). You will find these in your ecos directory tree: .../ecos/packages/hal/cortexm/stm32/var/current/include/var_io.h ---------------------------- On Mar 10, 2013, at 3:57 PM, EnneGi <enricogiordano1...@gmail.com> wrote: why STM32 port? I don't understand... -- View this message in context: http://sourceware-org.1504.n7.nabble.com/How-to-create-a-GPIO-driver-tp224910p224925.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss