Page 1 of 1

Compile for 144 pin CPU

Posted: Wed Feb 06, 2019 9:47 pm
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?

Re: Compile for 144 pin CPU

Posted: Wed Feb 06, 2019 9:49 pm
by AndreyB
Something is not right here. Same firmware runs in 100 and 176 pins boards as long as same base chip.

Re: Compile for 144 pin CPU

Posted: Wed Feb 06, 2019 10:00 pm
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?

Re: Compile for 144 pin CPU

Posted: Wed Feb 06, 2019 11:35 pm
by AndreyB
Ohhhhh, now I see what you mean.

https://github.com/rusefi/rusefi/issues/688 created

Re: Compile for 144 pin CPU

Posted: Fri Feb 08, 2019 6:59 am
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

Re: Compile for 144 pin CPU

Posted: Fri Feb 08, 2019 7:21 am
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.

Re: Compile for 144 pin CPU

Posted: Fri Feb 08, 2019 7:45 am
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.

Re: Compile for 144 pin CPU

Posted: Fri Feb 08, 2019 8:23 am
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.