I removed everything else to use plain makefile.
-
'make' will generate the edison binary (provided you have the mcu sdk installed and MCUSDK_PATH MCUSDK_OS environment variable set)
-
'make test' will generate test binary for testing on a development machine.
testing/fakemcu.c contains a basic simulation for the mcu api, and especially pwm api.
Goto https://edison-fw.github.io/edison-wiki/ for the SDK documentation.