Skip to content

Fix GPIO direct access#70

Open
zardam wants to merge 1 commit intoSmingHub:masterfrom
zardam:gpio_fix
Open

Fix GPIO direct access#70
zardam wants to merge 1 commit intoSmingHub:masterfrom
zardam:gpio_fix

Conversation

@zardam
Copy link
Contributor

@zardam zardam commented Feb 24, 2016

PA and PB should be mapped to the same register, and the GPIO registers are 32 bits wide (see documentation here : http://bbs.espressif.com/viewtopic.php?f=7&t=28)

@alonewolfx2
Copy link
Member

is it tested on module? are we need some other refactoring on other libraries?

@zardam
Copy link
Contributor Author

zardam commented Feb 25, 2016

It is tested on a port of ST7735 library from Sming (non RTOS). The problem also affects Sming, see issues SmingHub/Sming#437, SmingHub/Sming#397. I also tested SmingHub/Sming#398 without success (PB does not exists, as the GPIO control portion of the register is 16 bits wide).

@hreintke
Copy link
Collaborator

@zardam @alonewolfx2
Can you give an update on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants