Linux Kernel headers for STM32MP157(openstlinux-weston)
I am trying to get started on Linux kernel development on STM32MP157F-DK2 board. Thus far I have been able to,
1. Flash the started package and get Linux booting successfully
2. Download the developer package, add extra logs and update the linux kernel on the board
I am trying to get started on kernel drivers and was not able to find linux headers in the sdk include path. I am getting linux/init.h as not found.
I tried to update the include path by adding the headers from the linux source code from the developer package but am facing a lot of include errors. I tried looking for a way to download the linux headers for the openst linux image online but wasn't able to find any so far.
I have the following queries,
1. Can someone provide a way to download the linux headers for cross compilation?
2. If possible can someone share a simple wiki/example of a custom kernel module/driver on the openstlinux.
Thanks in advance.
