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
jyijyi
November 12, 2020, 2:10am
2
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?
jyijyi
November 12, 2020, 8:47am
4
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?
jyijyi
November 12, 2020, 8:52am
6
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.
jyijyi
November 12, 2020, 8:59am
8
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
jyijyi
November 12, 2020, 9:06am
10
you still see “OCTAVE=1” in the log?
Yes, still OCTAVE=1 in log
jyijyi
November 12, 2020, 9:12am
12
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
jyijyi
November 12, 2020, 9:14am
13
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?
jyijyi
November 12, 2020, 9:33am
16
yes, you need to download the yocto source code to add driver in order to use Bluetooth WL18xx driver for mangOH
jyijyi
November 13, 2020, 2:01am
17
you can also take a look on this discussion thread:
I would be interested in hearing from anyone who has got a Bluetooth or BLE application working with the WL18xx as found on the Talon card. I have found that connect under bluetoothctl doesn’t work, and info works from the non-mangOH side but not the mangOH side. Particularly what firmware version are you using. Mine is SWI9X06Y_02.35.02.00 5208b3 jenkins 2020/06/10 00:30:12.
On the other side of the coin I have been able to get a nRF UART BLE peripheral application working on the mangOH Yellow…
Thanks. Is it Aldo for mango yellow?
Is it also for mango yellow ?
jyijyi
November 13, 2020, 3:11am
20
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.