Provide sample applications for device manipulation
gnitnaw opened this issue · comments
Like control of gpio or I2C device. I would like do some test.
For now, it doesn't exist device driver of GPIO or I2C.
F9 microkernel is supported the following platforms for now.
- STM32F4DISCOVERY
- STM32F429
- STM32P103
If your interesting platforms are not above, you need to reference the following implementations to know how to add a new platform in F9 microkernel.
Reference: Support Platforms
For example, I assume you need to use GPIO in STM32F429. First, you need the device driver of STM32F429. You can reference the following implementation and article.
Second, you need to refactor it which will be a user apps in F9 microkernel. Also, you need to reference the following implementations to know how to write a user app in F9 microkernel. BTW, I strongly suggest you to see the pingpong app for the first time.
Reference: User APPs
Thanks. Hopefully I can also contribute this project.