zephyr/arch/nios2
Ramakrishna Pallala 47595b1c10 boards: nios2: fix nios2 flashing issue
'make flash' is failing for altera_max10 board due to the
missing NIOS2_CPU_SOF environment variable. Though it is set
in arch/nios2/soc/nios2f-zephyr/CMakeLists.txt but it is not
taking effect when flashing script is run. The reason could be
following which is mentioned in https://itk.org/Wiki/CMake_FAQ

"environment variables SET in the CMakeLists.txt only
take effect for cmake itself (configure-time), so you cannot use
this method to set an environment variable that a custom command
might need (build-time)."

Now, NIOS2_CPU_SOF is set from boards/nios2/altera_max10/board.cmake
file which is more logical because all the FLASH related environment
variables are being set from board.cmake

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2017-12-12 11:40:29 -05:00
..
core kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
include doc: Fix misspellings in header/doxygen comments 2017-10-17 19:40:29 -04:00
soc boards: nios2: fix nios2 flashing issue 2017-12-12 11:40:29 -05:00
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
Kconfig kconfig: move IRQ_OFFLOAD to a more generic place 2017-11-27 22:15:30 -05:00
defconfig nios2: basic build, non-functional 2016-05-03 23:18:45 +00:00