You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "acassis (via GitHub)" <gi...@apache.org> on 2023/07/03 19:56:48 UTC

[GitHub] [nuttx] acassis commented on issue #9679: stm32 GPIO driver

acassis commented on issue #9679:
URL: https://github.com/apache/nuttx/issues/9679#issuecomment-1619071411

   Hi @tobiasjaster
   
   I don't see the boards/arm/stm32l4/nucleo-l496zg/src/stm32_gpio.c file to support user GPIO on this board, so it needs to be added first.
   
   About your question why not use CMSIS or STM-HAL, there is an old thread here about it: https://nuttx.yahoogroups.narkive.com/QxSBuUvM/cmsis
   
   In theory it is possible to use some vendor HAL (new Espressif RISC-V chips are done this way), but I think for historic reasons Mr. Greg always developed the MCU support from scratch.
   
   You could think this work is very painful (and in fact it is), but that bring a level of similarities among all ARCHes supported by NuttX. Also it forces you to learn more about the MCU low level, so you will really know almost everything about it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org