Where does `e_init(char *hdf)` look for its `platform.hdf` file? According to the Epiphany SDK Reference, if the `hdf` parameter is `NULL`, then the file location is read from the `EPIPHANY_HDF` environment variable. If the variable is not set, then the function tries to locate the `platform.hdf` file "located in the current BSP directory".
My tiny example (`epiphany_examples/cpu/remote_call/main.c`) works fine if I give `e_init` a fully qualified path (i.e. `e_init("/opt/adapteva/esdk/bsps/current/platform.hdf")`), but dies suddenly if I give it a `NULL` (i.e. `e_init(NULL)`). This is strange because `EPIPHANY_HDF` is set properly. Note also that I get no error message besides `e_init`'s initial 'No Hardware Definition File (HDF) is specified. Trying "platform.hdf".'.
What is wrong?