is there a natural solution to the following:
I want to add source code to the project, which is located “away” from the project folder
I just don’t want to copy them to SRC folder every time
something like:
INI add_modules =
$FRAMEWORK_FIR/foo/all_files/
folder/boo/one_file.c
folder/Makefile.py //// execute script for building
I basically did it the hard way (and it works great) … looking for the easy way
is there an “magic” PIO-API function that loads a python file that contains
Import(“env”)
…
( as external script “format” )
I want from a platform_builder_xxx.py file to load one
?ScriptLoad(“path/script/name.py”)
Why do you need PLATFORM_MANIFEST? Please use env.PioPlatform(). This is an instance of Platform class where you can get a platform folder via env.PioPlatform().get_dir().
Ivan, Thanks env.PioPlatform().get_dir()
this is exactly what i need
i was getting platform folder from PLATFORM_MANIFEST
but the variable disappeared from Windows 7