Added the NRE specific part.
Fixed printf warning.
Connect idecontroller to the build.