zephyrproject-rtos / eclipse-plugin

Zephyr Eclipse Plugin
Eclipse Public License 2.0
16 stars 18 forks source link

Zephyr application preferences are not updated corectly after change. #20

Closed franzney closed 4 years ago

franzney commented 4 years ago

Hi,

when changing the Toolchain path [(Project)Properties->Zephyr Application->Toolchain] not all settings in the Zephyr .prefs file are updated correctly!

CMAKE_CXX_COMPILER, CMAKE_C_COMPILER, CMAKE_GDB stay unchanged!

Proposal: Create environment variable! Not use absolute path!

Note: Also missing configuration field for CMAKE_MAKE_PROGRAM path!

Regards, Fränz

franzney commented 4 years ago

Looks if after a rebuild those settings are updated!

Note: Only 'Apply' saves the setting! 'Apply and Close' seems to have no effect!

Anyway I would recommend to only save the 'GNUARMEMB_TOOLCHAIN_PATH', all other variables can be derived from 'GNUARMEMB_TOOLCHAIN_PATH'.