zephyr/arch
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
..
arc kconfig: clean CPU features and define only once 2017-11-27 22:15:30 -05:00
arm ARM: stm32f0: fix syscfg mapping to fix EXTI config 2017-12-07 08:08:41 -06:00
common kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
nios2 boards: nios2: fix nios2 flashing issue 2017-12-12 11:40:29 -05:00
riscv32 kconfig: move IRQ_OFFLOAD to a more generic place 2017-11-27 22:15:30 -05:00
x86 cleanup: remove nanokernel/nano leftovers 2017-12-05 09:44:23 -06:00
xtensa kconfig: move IRQ_OFFLOAD to a more generic place 2017-11-27 22:15:30 -05:00
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
Kconfig kconfig: clean CPU features and define only once 2017-11-27 22:15:30 -05:00