How to build from source

Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to build from source

not_me_really
Hey,

Can anyone provide brief instructions on how to build the .BIN file from source on github?

I`m experimenting with a power usage bug I`ve noticed and I`d like to try it first on real hardware before submitting changes


Frank.
Reply | Threaded
Open this post in threaded view
|

Re: How to build from source

JHRoadrunner
Hey Frank,

what system do you want to compile on?

And what power bug are you referencing?
I discovered a problem with the "standby" power consumption, but was not able to debug the code after changing it. I described the problem in another thread a couple of years ago, but could not fix it back than.

Jan.
2001 9-5 Aero | 2001 9-3 Aero Convertible | 2004 9-5 Aero (with kenwood)
Reply | Threaded
Open this post in threaded view
|

Re: How to build from source

not_me_really
Hi Jan,

I`m on Windows using the STM32Cube IDE.

From the sounds of it, I think we're looking at the same bug!

I've noticed that having the Bluesaab v6 plugged in will flatten my car battery in about 2 weeks.  Measuring the current (inline) I noticed that the power draw actually seems to increase when the BlueSAAB goes "idle" (10 minutes after the car is turned off)


Frank.
Reply | Threaded
Open this post in threaded view
|

Re: How to build from source

JHRoadrunner
Sorry for the late response, I thougt I might have an old installation I could look into, but unfortuanatly I don't.

Ok, yeah i had similar issues. The module draws 50 to 70 mA in idle.

I can't remember if I ever had the project running in stm32Cube IDE and I don't have it installed anymore. Unless you are dependend on it I would like to avoid installing it ;)


What I just did is installed Ubuntu using WSL then downloaded the the following toolchain from arm:

gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2  
(the latest one you get with apt install gcc-arm-... ist too new and will fail)

Then you just have to unpack it (I had to install bzip2 before) and add it to the path using export PATH=...

Finally you go into the bluesaab-master and just type make and the software should build without any errors.

(If you paste this message into something like ChatGPT it will probably run you through the exact process :))


I'm curious though what your approach of solving the issue looks like. I would love to look into your code if possible.


Jan
2001 9-5 Aero | 2001 9-3 Aero Convertible | 2004 9-5 Aero (with kenwood)