I compiled the mangoh system files but I got this result.
mangoh@mangoh-vm:~/mangOH$ make red_wp76xx |grep undefined
Target compilers: /opt/swi/y22-ext-wp76xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc /opt/swi/y22-ext-wp76xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++
Target sysroot: /opt/swi/y22-ext-SWI9X07Y_02.16.02.00/sysroots/armv7a-neon-poky-linux-gnueabi
C compiler: GNU
** Warning: Ignoring empty app specification
** Warning: Ignoring empty app specification
** Warning: Ignoring empty app specification
WARNING: “bmp280_dev_pm_ops” [/home/mangoh/mangOH/build/red_wp76xx/modules/bmp280-i2c/bmp280-i2c.ko] undefined!
WARNING: “bmp280_regmap_config” [/home/mangoh/mangOH/build/red_wp76xx/modules/bmp280-i2c/bmp280-i2c.ko] undefined!
WARNING: “bmp180_regmap_config” [/home/mangoh/mangOH/build/red_wp76xx/modules/bmp280-i2c/bmp280-i2c.ko] undefined!
WARNING: “bmp280_common_probe” [/home/mangoh/mangOH/build/red_wp76xx/modules/bmp280-i2c/bmp280-i2c.ko] undefined!
WARNING: “bmp280_common_remove” [/home/mangoh/mangOH/build/red_wp76xx/modules/bmp280-i2c/bmp280-i2c.ko] undefined!
WARNING: “bmi160_core_probe” [/home/mangoh/mangOH/build/red_wp76xx/modules/bmi160-i2c/bmi160-i2c.ko] undefined!
WARNING: “bmi160_core_remove” [/home/mangoh/mangOH/build/red_wp76xx/modules/bmi160-i2c/bmi160-i2c.ko] undefined!
WARNING: “bmi160_regmap_config” [/home/mangoh/mangOH/build/red_wp76xx/modules/bmi160-i2c/bmi160-i2c.ko] undefined!
WARNING: “cp2130_update_ch_config” [/home/mangoh/mangOH/build/red_wp76xx/modules/mt7697q/mt7697q.ko] undefined!
WARNING: “mt7697q_read” [/home/mangoh/mangOH/build/red_wp76xx/modules/mt7697wifi_core/mt7697wifi_core.ko] undefined!
WARNING: “mt7697_uart_read” [/home/mangoh/mangOH/build/red_wp76xx/modules/mt7697wifi_core/mt7697wifi_core.ko] undefined!
WARNING: “mt7697q_shutdown” [/home/mangoh/mangOH/build/red_wp76xx/modules/mt7697wifi_core/mt7697wifi_core.ko] undefined!
WARNING: “mt7697_uart_close” [/home/mangoh/mangOH/build/red_wp76xx/modules/mt7697wifi_core/mt7697wifi_core.ko] undefined!
WARNING: “mt7697_uart_write” [/home/mangoh/mangOH/build/red_wp76xx/modules/mt7697wifi_core/mt7697wifi_core.ko] undefined!
WARNING: “mt7697q_unblock_writer” [/home/mangoh/mangOH/build/red_wp76xx/modules/mt7697wifi_core/mt7697wifi_core.ko] undefined!
WARNING: “mt7697_uart_open” [/home/mangoh/mangOH/build/red_wp76xx/modules/mt7697wifi_core/mt7697wifi_core.ko] undefined!
WARNING: “mt7697q_write” [/home/mangoh/mangOH/build/red_wp76xx/modules/mt7697wifi_core/mt7697wifi_core.ko] undefined!
WARNING: “mt7697q_init” [/home/mangoh/mangOH/build/red_wp76xx/modules/mt7697wifi_core/mt7697wifi_core.ko] undefined!
How to define them? Because I tried to add this in mangoh.sdef but it didn4t work. (corresponding to mdef for the concerned one of course).
taken form legato example
moduleSearch:
{
// My example modules are found in this directory.
$LEGATO_ROOT/drivers/example
}
// In the kernel modules section, you no longer need to give a full path to your mdef files. The
// mktools will search through all of your paths given in the moduleSearch section.
kernelModules:
{
// Include my sample module in the build.
example.mdef
}