-
-
Notifications
You must be signed in to change notification settings - Fork 936
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
Prevent issues with corrupted firmware using outdated configurator #3793
Conversation
This comment has been minimized.
This comment has been minimized.
The message seems confusing. Where it says "please upgrade the configurator to version nnnn", shouldn't that version be a configurator version? And the user indicated firmware version should be a 'user friendly' text like Perhaps this should just be a warning, not a block on progressing further? |
I suggest this only act in non expert mode, since experts likely know what to do with different versions. |
This comment has been minimized.
This comment has been minimized.
dfdbc4d
to
d6b7f43
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I disagree as everyone ticks expert mode even if they don't know what it does. |
Maybe we change the message to be a bit more aggressive? No please etc.. warning in capitalised red. Red things they seem to notice a bit better. Personally I’m in favour of blocking unsupported versions. When we go to 5.0 I think also we end the backwards compatibly. All the configurator team quip about how much easier it would be if we did this |
But remember to have a chance not stuck in deadend, ie firmware / configurator version combination where not able to make backup and/or not able to upgrade firmware. |
yes, you have a point |
880bfc4
to
a382afa
Compare
This comment has been minimized.
This comment has been minimized.
0cd6826
to
2f2999f
Compare
2f2999f
to
b39fc63
Compare
|
Do you want to test this code? Here you have an automated build: |
min & max MSP gating maybe. (emuflight/EmuConfigurator#383) but this PR works too. will test soonish. |
it is based upon MSP (not version). $ git diff
diff --git a/src/main/build/version.h b/src/main/build/version.h
index d1ff1cc54..bd42d3e81 100644
--- a/src/main/build/version.h
+++ b/src/main/build/version.h
@@ -25,7 +25,7 @@
#define FC_FIRMWARE_NAME "Betaflight"
#define FC_FIRMWARE_IDENTIFIER "BTFL"
#define FC_VERSION_MAJOR 4 // increment when a major release is made (big new feature, etc)
-#define FC_VERSION_MINOR 5 // increment when a minor release is made (small new feature, change etc)
+#define FC_VERSION_MINOR 6 // increment when a minor release is made (small new feature, change etc)
#define FC_VERSION_PATCH_LEVEL 0 // increment when a bug is fixed
#define FC_VERSION_STRING STR(FC_VERSION_MAJOR) "." STR(FC_VERSION_MINOR) "." STR(FC_VERSION_PATCH_LEVEL)
diff --git a/src/main/msp/msp_protocol.h b/src/main/msp/msp_protocol.h
index c776ce3db..36a629641 100644
--- a/src/main/msp/msp_protocol.h
+++ b/src/main/msp/msp_protocol.h
@@ -62,7 +62,7 @@
#define MSP_PROTOCOL_VERSION 0
#define API_VERSION_MAJOR 1 // increment when major changes are made
-#define API_VERSION_MINOR 46 // increment after a release, to set the version for all changes to go into the following release (if no changes to MSP are made between the releases, this can be reverted before the release)
+#define API_VERSION_MINOR 47 // increment after a release, to set the version for all changes to go into the following release (if no changes to MSP are made between the releases, this can be reverted before the release)
#define API_VERSION_LENGTH 2
## master...origin/master
|
also note that it required acc calib on first flash (not a second or third) |
@haslinghuis I can approve, if I'm allowed |
if you deem It solid then go for it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems stable, and I tried some combinations of 'bad' versions.
…etaflight#3793) * Deny use of newer firmware not supported by configurator * Update dialog * Abort on dialog * Update message
BEFORE:

NOW:
