Jump to content

nathan.loretan

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, With my solution to use Zephyr RTOS with uGFX I created my project as it is defined for Zephyr project, One makefile in the project folder and one Makefile in the src folder. ZephyrProject |_ Makefile |_ src |_ Makefile Then, the Makefile in my ZephyrProject folder is the typical Zephyr Makefile where you indicate the CONF_FILE, BOARD, SOURCE_DIR and PROJECT_BASE. And the Makefile in the src folder indicates the object and the uGFX library. The first trick is that uGFX uses .c files, saved in GFXSRC, in the Makefile but Zephyr RTOS needs .o files, saved in obj-y. The second trick is that is this way, zephyr Makefile searches the .o from the directory src. Therefore, you need then to indicate each uGFX file with the path to the uGFX folder. Finally, you need to add the defines and headers from uGFX to the variable KBUILD_CFLAGS and ZEPHYRINCLUDE of Zephyr RTOS I join to the answer the project I used to test the integration of Zephyr RTOS with uGFX. Zephyr_Interface.tar.gz
×
×
  • Create New...