Creating a ProjectΒΆ

It is recommended to create a new project by copying any sample projects from examples/ directory. You can also make a new Project by just copying the MakeFile only.

Recommended Method :

  • Copy any example project and rename, say your_custom_project.

  • Remove all .c and .h files in your_custom_project.

  • Change the EXECUTABLE_NAME variable in the MakeFile to EXECUTABLE_NAME= your_custom_project.

  • Create your own .c file say, your_custom_project.c and implement your logic.

  • Include necessary API header files to use supported hardwares like SPI,I2C etc.

  • Use make command to build your project.

Note

Please refer Example Projects for understanding API usage.