-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
Add compatibility with Espressif SDK 2.1.0 published in git repository #1153
Conversation
Add compatibility with ESP SDK 2.1.0 by removing extra extern declaration of SDK stuff and by including proper SDK headers where needed
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.
Please, remove the changes that are not directly related to SDK 2.1.0
@@ -157,7 +157,8 @@ void Adafruit_ILI9341::begin(void) { | |||
transmitCmdData(0xE1, data, 15); //Set Gamma | |||
|
|||
transmitCmd(0x11); //Exit Sleep | |||
os_delay_us(120000); |
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.
@avr39-ripe Can you remove that change from the PR. As far as I can see it has nothing to do with SDK 2.1.0.
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.
it is mandatory change. without this this library do not compile any more. Old os_delay_us declaration was uint32_t and new, from esp sdk 2.1.0 is uint16_t, so I made such "strange" change here.
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.
More code should be reviewed then to check if delays do not excede 65,535 limit.
@avr39-ripe Why not mandatory, it would be very helpful if we can add also SDK 2.1.0 in our CI system. |
@slaff do not know nothing about how to add sdk 2.1.0 to CI :( can you help with it? |
Will be merged with rebase PR #1264 |
Add compatibility with ESP SDK 2.1.0 by removing extra extern declaration of SDK stuff and by including proper SDK headers where needed