Module.getPath() returns the absolute path to csp/arch without resolving the csp symlink. Resolution happens after concatenation, meaning that going two levels up from csp/arch will take us within the Conan package directory, and not within our fake Harmony framework root containing the symlinks.
CSP scripts use direct string concatenation to generate the actual paths for each peripheral module. An example (
csp/arch/config/module.py
):Module.getPath()
returns the absolute path tocsp/arch
without resolving the csp symlink. Resolution happens after concatenation, meaning that going two levels up fromcsp/arch
will take us within the Conan package directory, and not within our fake Harmony framework root containing the symlinks.