Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

avr39-ripe
Copy link
Contributor

Add compatibility with ESP SDK 2.1.0 by removing extra extern declaration of SDK stuff and by including proper SDK headers where needed

avr39-ripe and others added 2 commits June 13, 2017 14:24
Add compatibility with ESP SDK 2.1.0 by removing extra extern declaration of SDK stuff and by including proper SDK headers where needed
Copy link
Contributor

@slaff slaff left a 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);
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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.

@slaff
Copy link
Contributor

slaff commented Jun 13, 2017

@avr39-ripe Why not mandatory, it would be very helpful if we can add also SDK 2.1.0 in our CI system.

@slaff slaff mentioned this pull request Jun 13, 2017
10 tasks
@avr39-ripe
Copy link
Contributor Author

@slaff do not know nothing about how to add sdk 2.1.0 to CI :( can you help with it?

@slaff
Copy link
Contributor

slaff commented Oct 25, 2017

Will be merged with rebase PR #1264

@slaff slaff closed this Oct 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants