Skip to main content
Explorer
April 5, 2024
Solved

Is there a Zephyr driver for X-NUCLEO-GNSS2A1?

  • April 5, 2024
  • 2 replies
  • 1561 views

Hello All

 

I am using zephyr RTOS on NUCLEO-F767ZI board. 

I am considering using the NUCLEO-F767ZI board to use GNSS data.

Is there a Zephyr driver for X-NUCLEO-GNSS2A1?

 

Regards

TaeHo

    This topic has been closed for replies.
    Best answer by Sarra.S

    Hello again @lastgame,

    For any shield you want to use that's not already availble under boards>shields, you'll need to manually add the shield configuration files available under /boards/shields:

    which are: 

    •  shield.overlay : provides a shield description in devicetree format that is merged with the board’s devicetree before compilation.
    • Kconfig.shield : defines shield Kconfig symbols that will be used for default shield configuration.
    • Kconfig.defconfig: defines the default shield configuration 

    For the connectors and the compatibility between the nucleo board and the module/shield, it should work without adding anything, just make sure that the board.dts includes a description of the connector you're going to use (Arduino connectors for hence: zephyr/boards/st/nucleo_f767zi/arduino_r3_connector.dtsi at main · zephyrproject-rtos/zephyr · GitHubthat's it for the Zephyr configuration part, for the U-blox module, I'm afraid I am not familiar nor used it in the past. 

    Hope that helps!

     

     

     

     

    2 replies

    ST Employee
    April 8, 2024

    Hello @lastgame 

    As you may know, available shield drivers are listed in Zephyr> board> Shields 

    for the X-NUCLEO-GNSS2A1 there are no developed drivers yet.

     

    lastgameAuthor
    Explorer
    April 8, 2024

    Hello Sarra

    Thanks for the reply.

    My initial requirements are...
    The U-BLOX module(for getting GPS data) needs to be connected to the NUCLEO-F767ZI.

    Q. What shield boards do I need for connecting U-blox module? (USB connection with power)

    Q. To use that shield board, I don't need a driver for zephyr, right? It's needed for a simple connection.

    Regards
    TaeHo

    Sarra.SAnswer
    ST Employee
    April 8, 2024

    Hello again @lastgame,

    For any shield you want to use that's not already availble under boards>shields, you'll need to manually add the shield configuration files available under /boards/shields:

    which are: 

    •  shield.overlay : provides a shield description in devicetree format that is merged with the board’s devicetree before compilation.
    • Kconfig.shield : defines shield Kconfig symbols that will be used for default shield configuration.
    • Kconfig.defconfig: defines the default shield configuration 

    For the connectors and the compatibility between the nucleo board and the module/shield, it should work without adding anything, just make sure that the board.dts includes a description of the connector you're going to use (Arduino connectors for hence: zephyr/boards/st/nucleo_f767zi/arduino_r3_connector.dtsi at main · zephyrproject-rtos/zephyr · GitHubthat's it for the Zephyr configuration part, for the U-blox module, I'm afraid I am not familiar nor used it in the past. 

    Hope that helps!