Replies: 6 comments 4 replies
-
Hi, sorry, this is not supported. I haven't heard from anyone doing this, let alone having success with it. You should stick with the setup for development as documented in the Wiki using Eclipse Embedded CDT. You can also compile using make on the command line if you more of the command line person. 73 |
Beta Was this translation helpful? Give feedback.
-
The linker is outputting "mchf-uhsdr.elf section I'm also getting undefined symbol errors yet within the editor it has no problem opening the declaration, which is unusual:- I'd like to use STMCubeIDE if possible for the debugging facilities. Is it possible to get it working? |
Beta Was this translation helpful? Give feedback.
-
Hi, swapping ram is not a solution. It may make the system compile but it will not work. However, it is a known challenge that ram1 is a very tight fit. Nevertheless, it fits with the right compiler (and settings). "Graphical" debugging is also possible with the Eclipse CDT setup. I am sorry that I was not aware the SW4STM32 and CubeIDE are somehow the same thing. But it also explains why I cannot help you with this environment. Maybe someone else can chime in here... otherwise you have to figure it out by yourself. I advise strongly against playing with the linker scripts, though. Your easiest option: Turning off some features, especially FreeDV will significantly reduce the memory requirements so this should allow you to build a system AND then work from there. You can set the define IS_SMALL_BUILD to achieve this either in your IDE as parameter to the build or just uncomment this line in the source |
Beta Was this translation helpful? Give feedback.
-
This is widely dependent on the way the compiler builds binaries together. For "production" I stick on gcc-arm-none-eabi-8-2019-q3-update which is quite outdated but which produces a much, much smaller binary. For compare look at the binaries which are published here: https://df8oe.github.io/UHSDR/ All gcc which have been released later produce binaries which are 40 percent bigger. We never investigated why. |
Beta Was this translation helpful? Give feedback.
-
I think it's worth finding out why the memory has jumped up so much, could be affecting performance, and maybe the code can be reduced to under 256 kb for the 32f401 chip. I've been looking at the code and the spi dma LCD support seems set for 32f7 and 32h7 MCUs only, and chip hardware i/o memory mapping of the lcd i cannot find anywhere. Any ideas? Is anyone actively working on improving the code? Such a great project it deserves support. 73 Rob On 31 Oct 2022 07:45, DF8OE ***@***.***> wrote:
This is widely dependent on the way the compiler builds binaries together. For "production" I stick on gcc-arm-none-eabi-8-2019-q3-update which is quite outdated but which produces a much, much smaller binary. For compare look at the binaries which are published here: https://df8oe.github.io/UHSDR/ All gcc which have been released later produce binaries which are 40 percent bigger. We never investigated why.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip, appreciated. 73On 2 Nov 2022 16:44, db4ple ***@***.***> wrote:
All of the libraries mentioned are related to FreeDV / Codec2 AFAIR. Disable FreeDV (search for #define USE_FREEDV) in board_config.h) and check the difference.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Has anyone used the STM Cube IDE to compile this?
I´ve loaded it okay into Cube, just getting a make file error so will check my Make installation next
make: ../Makefile:263: pipe: No such file or directory
Beta Was this translation helpful? Give feedback.
All reactions