Hi,
Just implemented the blinky program enabling the GPIO 10 pin instead of perf board LED and the temperature sensor functionalty (ADC) individually.
Getting an error when i'm combining the individual (blinky.c,modsraw-temperature.c)files into one modsraw_temperature.c file and generating the nuttx file after enabling the make menuconfig configuration required for both.
I'm working on ubuntu linux environment for firmware development, kconfig-mconf configuration editor to Change nuttx configuration , Hardware used is the moto mods reference mod output pulse observed in gpio pin 10 and ADC input given to PC3 pin, nuttx.tftf file flashed using mdk-utility apk on moto z.
https://developer.motorola.com/documentation/hello-world
Open source firmware code for this example is located at https://github.com/MotorolaMobilityLLC/nuttx - specifically:
- Build Target: https://github.com/MotorolaMobilityLLC/nuttx/tree/master/nuttx/configs/hdk/muc/blinky
- Source Directory: https://github.com/MotorolaMobilityLLC/nuttx/tree/master/nuttx/configs/hdk/muc/src
https://developer.motorola.com/documentation/sensor
Open source firmware code for this example is located at https://github.com/MotorolaMobilityLLC/nuttx - specifically:
- Build Target: https://github.com/MotorolaMobilityLLC/nuttx/tree/master/nuttx/configs/hdk/muc/temperature
- Source Directory: https://github.com/MotorolaMobilityLLC/nuttx/tree/master/nuttx/configs/hdk/muc/src
I have attach the file the edited c file where i tried to implement both the functionalities.
Any suggestions on how to make these files work simultaneously to generate a pulse and enable ADC at the same time ?