Spreadsheet prototype

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Spreadsheet prototype

Postby Giovanni » Mon Oct 08, 2018 8:07 pm

Hi,

This is something I am working on in spare time (minutes between other things...)

It is a spreadsheet calculating clock points for the STM32L4+ (L4 works too). I am not sure this is something I will continue, a lot of time is spent in details and it should be replicated for each sub-family.

L4+.ods.7z
(21.63 KiB) Downloaded 176 times


Giovanni

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

Re: Spreadsheet prototype

Postby faisal » Tue Oct 09, 2018 1:22 am

For the STM32 family, what's the value in using this, as opposed to CubeMX?

Do you use the output of this spreadsheet to generate other files?

steved
Posts: 823
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Re: Spreadsheet prototype

Postby steved » Tue Oct 09, 2018 9:07 am

faisal wrote:For the STM32 family, what's the value in using this, as opposed to CubeMX?

Maybe the value is in not using CubeMX?

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Spreadsheet prototype

Postby Giovanni » Tue Oct 09, 2018 9:14 am

steved wrote:
faisal wrote:For the STM32 family, what's the value in using this, as opposed to CubeMX?

Maybe the value is in not using CubeMX?


LOL, I was thinking something along those lines.

Anyway, in theory it could be made to generate files and configurations for peripherals much like CubeMX. Some drivers are hard to use, see ADC configurations.

Giovanni

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

Re: Spreadsheet prototype

Postby faisal » Tue Oct 09, 2018 5:58 pm

steved wrote:
faisal wrote:For the STM32 family, what's the value in using this, as opposed to CubeMX?

Maybe the value is in not using CubeMX?


:) . That would be great, to be able to divorce oneself from (sometimes) buggy vendor tools. But I'm weary of the ongoing maintenance and support cost of such things. As processors are getting more and more complex, there is a lot of work that needs to be done up front to support the complex peripheral configuration and validation rules. It may be more productive and less work to consume the CubeMX database files directly ...

Giovanni, I remember in an old thread you mentioned you would look into whether consuming the DB files from CubeMX would be permissible for commercial projects. Any news?

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Spreadsheet prototype

Postby Giovanni » Tue Oct 09, 2018 7:26 pm

faisal wrote:Giovanni, I remember in an old thread you mentioned you would look into whether consuming the DB files from CubeMX would be permissible for commercial projects. Any news?


Not yet but probably now I know who to ask.

Giovanni

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Spreadsheet prototype

Postby Giovanni » Tue Oct 09, 2018 7:41 pm

I updated it and added to the repository under /tools/calc, we will see if it will lead to something useful, not high priority anyway.

The real problem is that we would not have bandwidth to do that seriously for all platforms.

Giovanni


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 31 guests