Make yellow error

I am facing one issue when I try to do ‘make yellow’ following the procedure. I get following message:

Not building LEGATO due to $LEGATO == 0

NOTE: When using leaf, these TOOLCHAIN_X variables don’t need to be passed to mksys.

TOOLCHAIN_DIR=/home/marc/myWorkspace/leaf-data/MANGOH-YELLOW-WP77XX/mangOH-yellow-wp77xx-toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
TOOLCHAIN_PREFIX=arm-poky-linux-gnueabi-
OCTAVE=1
mksys -t wp77xx --cflags=-O2 --object-dir=build/yellow_wp77xx --output-dir=build/update_files yellow.sdef
** ERROR:
/home/marc/myWorkspace/mangOH/sinc/octave_minimal.sinc:5:4: error: Can’t find definition file (diagnostic.adef) or binary app (diagnostic.wp77xx.app) for app specification ‘/home/marc/myWorkspace/leaf-data/MANGOH-YELLOW-WP77XX/Octave-mangOH-yellow-wp77xx/diagnostic.wp77xx.app’.
Note: Looked in the following places:
‘.’

make: *** [Makefile:125: yellow_wp77xx] Error 1

Please advice what I need to do.

I have already try to comment the line in the file but I get another error in the same file Octave_minimal.sinc

Do you have the octave source?
What did you set for “OCTAVE_ROOT”?

I saw in the makefile, it says:

# If OCTAVE_ROOT is defined, include Octave in mangOH Yellow builds by default.
# ...but we don't care about this if we are cleaning.
ifneq ($(MAKECMDGOALS),clean)
  ifdef OCTAVE_ROOT
    yellow_%: OCTAVE ?= 1
  else
    $(warning ==== OCTAVE_ROOT not defined ====)
    yellow_%: OCTAVE ?= 0
  endif
endif

Hi,

I do not know what do you mean about the octave source and where to find it? (I have not installed it on my own).

In the makefile, it says as you are writing. Is it good?

in your log, it says “OCTAVE=1”
From the make file, it means OCTAVE_ROOT is defined.
I wonder if you can clear this OCTAVE_ROOT so that you can start compilation.

Ok so I delete this part of the code you think?

maybe you can try hardcode the OCTAVE to be 0.
Probably it will not build
/home/marc/myWorkspace/mangOH/sinc/octave_minimal.sinc:

Ok so we don’t need octave at all for mangOH?
if you can say how and where to hardcode OCTAVE, it would be nice please.

you can try adding one more line below to hardcode this flag:

# If OCTAVE_ROOT is defined, include Octave in mangOH Yellow builds by default.
# ...but we don't care about this if we are cleaning.
ifneq ($(MAKECMDGOALS),clean)
  ifdef OCTAVE_ROOT
    yellow_%: OCTAVE ?= 1
  else
    $(warning ==== OCTAVE_ROOT not defined ====)
    yellow_%: OCTAVE ?= 0
  endif
endif


yellow_%: OCTAVE ?= 0

I tried and it still the same error message

you still see “OCTAVE=1” in the log?

Yes, still OCTAVE=1 in log

i don’t see such issue with “make yellow_wp76xx”
you need to debug where it sets the OCTAVE flag to be 1 in the MAKEFILE

how about “make yellow_wp77xx OCTAVE=0”

It works, I set =0 instead of =1 in this part of code:

ifneq ($(MAKECMDGOALS),clean)
  ifdef OCTAVE_ROOT
    yellow_%: OCTAVE ?= 0
  else

Thanks

Please another question: to use bluetooth do I need to install in addition the driver?

yes, you need to download the yocto source code to add driver in order to use Bluetooth WL18xx driver for mangOH

you can also take a look on this discussion thread:

Thanks. Is it Aldo for mango yellow?

Is it also for mango yellow ?

never tried on mangoh yellow, but the document in the link says that it uses UART1 to communicate. So I believe it can be used.