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
arm ARM: stm32f0: fix syscfg mapping to fix EXTI config 2017-12-07 08:08:41 -06:00
common
nios2 boards: nios2: fix nios2 flashing issue 2017-12-12 11:40:29 -05:00
riscv32
x86 cleanup: remove nanokernel/nano leftovers 2017-12-05 09:44:23 -06:00
xtensa
CMakeLists.txt
Kconfig