[Resolved] Issue with Building MicroEJ Firmware from Scratch

Hello,

I’m currently working through the steps outlined in the Create a MicroEJ Firmware From Scratch tutorial, and I’ve encountered an issue while attempting to build the firmware. Specifically, I’m facing the following error message during the step described in Configure BSP Connection in MicroEJ Application:

=============== [ Initialization Stage ] ===============

FAIL
Please specify the BSP project location (application option 'deploy.bsp.root.dir'), or disable option 'deploy.bsp.microejapp'.

I have ensured that the property deploy.bsp.root.dir is correctly defined on my end. I’ve double-checked this to be certain.

Could someone please assist me in resolving this issue?

Thank you.

Hello,

Have you tried to set deploy.bsp.root.dir using the following command ?

pwd | sed -e 's|/mnt/c/|C:\\\\|' -e 's|/|\\\\|g' from FreeRTOS/FreeRTOS/Demo/CORTEX_LM3S811_GCC

Could you share the content of your HelloWorld/build/emb.properties file please ?

Best regards

As I have mentioned before, the property deploy.bsp.root.dir is set as described in the tutoriel.

here is the content of build/emb.properties

core.memory.immortal.size=0
core.memory.javaheap.size=1024
core.memory.threads.pool.size=4
core.memory.threads.size=1
core.memory.thread.max.size=4
deploy.bsp.microejapp=true
deploy.bsp.microejlib=true
deploy.bsp.microejinc=true
deploy.bsp.root.dir=C:\\Users\\<user>\\veePort-Tuto\\FreeRTOS\\FreeRTOS\\Demo\\CORTEX_LM3S811_GCC

Hello,

You need to add build/emb.properties to your configuration option files.

  • Open Run Run Configurations...
  • Select your configuration
  • On the Execution tab, add build/emb.properties in the Options Files section
  • Click on Run

Best regards

1 Like

That’s all I needed. Appreciate it!

1 Like