Hello
When i try to compiled source code inverter and charge get error
codeblocks 16 and 17 version
libopeninv/src/stm32_can.cpp|425|error: invalid operands of types 'void' and 'int' to binary 'operator>'|
and
src/inc_encoder.cpp|571|error: 'timer_get_ic_value' was not declared in this scope; did you mean 'timer_set_oc_value'?|
Some one can help me?
Not compiled code
Re: Not compiled code
When i try to make test , get this result .
test.h|20|warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]|
test.h|20|warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]|
Re: Not compiled code
Just test some example project for codeblocks stm32. And all completely fine, no errors.
- johu
- Site Admin
- Posts: 6757
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 383 times
- Been thanked: 1578 times
- Contact:
Re: Not compiled code
Did you follow the instructions in readme.md ? Seems like you're not using the modified libopencm3
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: Not compiled code
Yes, libopencm3 not correct.
Thank you.
Also when compiling your libopencm3
i see repeated error.
../common/timer_common_all.c: In function 'timer_get_ic_value':
../common/timer_common_all.c
1: warning: control reaches end of non-void function [-Wreturn-type]
You have same problem ?
Thank you.
Also when compiling your libopencm3
i see repeated error.
../common/timer_common_all.c: In function 'timer_get_ic_value':
../common/timer_common_all.c
You have same problem ?