kendryte-standalone-sdk
kendryte-standalone-sdk copied to clipboard
kpu: check alignment of input addresses
Please assert the align of the KPU parameter address before run KPU, otherwise program may crash.
https://github.com/kendryte/kendryte-standalone-sdk/blob/c30cb63bf014cb6f571ebefdf76337da40f90df7/lib/drivers/kpu.c#L69