Compile for 144 pin CPU

It's all about the code!
Post Reply
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Compile for 144 pin CPU

Post by 960 »

I am trying to compile for 144 pin cpu.

I have edited rusefi_enums.h, but get error in auto_generated_enums.cpp.

What more needs to be changed?
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Compile for 144 pin CPU

Post by AndreyB »

Something is not right here. Same firmware runs in 100 and 176 pins boards as long as same base chip.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: Compile for 144 pin CPU

Post by 960 »

russian wrote:
Wed Feb 06, 2019 9:49 pm
Something is not right here. Same firmware runs in 100 and 176 pins boards as long as same base chip.
In board configuration I have used GPIOF AND GPIOG.
Then i get errors.

When i click open declaration it opens rusefi_enums.h.

So I edited to get gpiof and g.

Should it work without editing anything at all?
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Compile for 144 pin CPU

Post by AndreyB »

Ohhhhh, now I see what you mean.

https://github.com/rusefi/rusefi/issues/688 created
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: Compile for 144 pin CPU

Post by 960 »

russian wrote:
Wed Feb 06, 2019 11:35 pm
Ohhhhh, now I see what you mean.

https://github.com/rusefi/rusefi/issues/688 created
Did you find solution?

I get errors in this line:

const char *getBrain_pin_e(brain_pin_e value){
switch(value)

not handled in switch for all GPIOF and GPIOG
User avatar
AndreyB
Site Admin
Posts: 14324
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Compile for 144 pin CPU

Post by AndreyB »

960 wrote:
Fri Feb 08, 2019 6:59 am
Did you find solution?
I need a solution which would work for everyone and that one has some complication, I hope to have the fix maybe within the next week or two. Definitely on my TODO list.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: Compile for 144 pin CPU

Post by 960 »

russian wrote:
Fri Feb 08, 2019 7:21 am
960 wrote:
Fri Feb 08, 2019 6:59 am
Did you find solution?
I need a solution which would work for everyone and that one has some complication, I hope to have the fix maybe within the next week or two. Definitely on my TODO list.
Ok, Thanks.

I thought maybe I was doing it wrong.
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: Compile for 144 pin CPU

Post by 960 »

russian wrote:
Fri Feb 08, 2019 7:21 am
960 wrote:
Fri Feb 08, 2019 6:59 am
Did you find solution?
I need a solution which would work for everyone and that one has some complication, I hope to have the fix maybe within the next week or two. Definitely on my TODO list.
Would it be possible to split the Firmware into one for each CPU?

That way it would be easier to get a full overview.
Post Reply