You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to compile with stm32cubeide v1.19.0 newest and it compile but when i move comm_data_t* comm_ptr; to comm.c file
and change to extern comm_data_t* comm_ptr; in comm.h file.
After bluepill board is not recognized in EMBO pc software.
When i flash the bluepill with prepared firmware all work fine.
What the issue with code or with compiler ???
Is it code on embo main branch the same with precompiled version Firmware 0.2.4 ???
where exactly must add -fcommon
I have add to : Properties → C/C++ Build → Settings → Tool Settings tab → MCU GCC Compiler → Miscellaneous
but it not help . Compiling wihout error but EMBO softvare show warning popup with msg. serial port opening fail.
PC has recognized st virtual com port.
just a guess... read somewhere that ram usage is "on upper limit" - perhaps rtos or other does require a few bytes more ... will test with my stm32f303.
STM32CubeIDE v1.11.2 works, but needs -fcommon, too. "Debug" build configuration. Tested connection & oscilloscope with the embo gui (windows). Not exactly the same hex file size as in .zip .
Activity
msalat commentedon Sep 22, 2025
see #25 (comment) . You need to set
-fcommonfor the gcc compiler.mail87523 commentedon Sep 22, 2025
where exactly must add -fcommon
I have add to : Properties → C/C++ Build → Settings → Tool Settings tab → MCU GCC Compiler → Miscellaneous
but it not help . Compiling wihout error but EMBO softvare show warning popup with msg. serial port opening fail.
PC has recognized st virtual com port.
[-]Self compiled version not vork[/-][+]EMBO code version not work[/+]msalat commentedon Sep 22, 2025
just a guess... read somewhere that ram usage is "on upper limit" - perhaps rtos or other does require a few bytes more ... will test with my stm32f303.
msalat commentedon Sep 22, 2025
have the same problem.
Wrong guess... modified src/firmware/src/cfg/cfg_303re.h from
#define EM_DAQ_MAX_MEM 44000to#define EM_DAQ_MAX_MEM 40000- but that did not help.Release build config does not work. Has less include paths than Debug. Tried with Debug build config, but with "debug level: none" - does not help.
PS: there is also a "debug level" @ MCU GCC Assembler
msalat commentedon Sep 22, 2025
EMBO_F303RE.hex from EMBO_firmware-0.2.4.zip has 70 kB ; self compiled has 173 kB (!).Should have cleaned my glasses:
mail87523 commentedon Sep 23, 2025
Where we can to download exact the same source code and project files of released EMBO_firmware-0.2.4.zip.
This firmware work with no problem.
mail87523 commentedon Sep 23, 2025
I have compared my builded .bin file and EMBO_F103C8.bin from released EMBO_firmware-0.2.4.zip and is significantly different firmwares
msalat commentedon Sep 23, 2025
Let's try V1.11.2 for STM32F303RE ...
msalat commentedon Sep 23, 2025
STM32CubeIDE v1.11.2 works, but needs
-fcommon, too. "Debug" build configuration. Tested connection & oscilloscope with the embo gui (windows). Not exactly the same hex file size as in .zip .msalat commentedon Sep 24, 2025
STMCubeIDE v1.15.1 does not work. Let's debug...
msalat commentedon Sep 24, 2025
Tried again with v1.19.0.
Captured while trying to connect:
It seems trying to parse SCPI commands.