-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buggy firmware when compiling with GCC-ARM version 12 #70
Comments
I think this related to gcc speed optimisation, TinySA code critical to execute timings and can depend from how compiler optimise code |
Erik uses gcc version 7.2.1 (see below), I have gcc version 8.3.1. Is version 9 the latest "good" version for tinySA? I see that 12.x works well for NanoVNA.
|
Difficult to answer, as I test code generation for NanoVNA, gcc last v9 provide more compact code. After code size bigger but not chage size, up to v12 Also as I see v7 (code build by Eric) more bigger then my builded in v9. And need test how gcc v9 code work on Tiny (several wait delays hardcoded and depend from how fast code) |
Compiling the source code with debian stable
gcc version 12.2.1 20221205 (15:12.2.rel1-1)
gives a buggy firmware - latest tinySA version as well as older versions:This is what I see with the input terminated with 50 Ohm and with the 30 MHz calibration signal:
During compile it gives a lot of warnings:
(I see comparable warnings when compiling the NanoVNA firmware.)
After downgrade to the debian oldstable version
gcc version 8.3.1 20190703 (release) [gcc-8-branch revision 273027] (15:8-2019-q3-1+b1)
it compiles fine with only one warning (I must again remove the comments innanovna.h
to compile the tinySA3 version):This is what I see with the input terminated with 50 Ohm and with the 30 MHz calibration signal:
The text was updated successfully, but these errors were encountered: