Update pyftdi/spi/serialflash.py #2

Merged
merged 1 commit into from Oct 29, 2013

Conversation

Projects
None yet
2 participants
Contributor

DavidWC commented Feb 8, 2013

Fix a typo in the M25PxFlashDevice class so that the _size is calculated correctly.

Update pyftdi/spi/serialflash.py
Fix a typo in the M25PxFlashDevice class so that the _size is calculated correctly.

eblot pushed a commit that referenced this pull request Oct 29, 2013

Emmanuel Blot
Merge pull request #2 from DavidWC/patch-1
Update pyftdi/spi/serialflash.py

@eblot eblot merged commit 57dfbfa into eblot:master Oct 29, 2013

Owner

eblot commented Oct 29, 2013

Thanks for the fix. Sorry for the delay...

Contributor

DavidWC commented Oct 29, 2013

On 29/10/13 15:38, Emmanuel Blot wrote:

Thanks for the fix. Sorry for the delay...

No problem - thanks for the software!

I've got another project coming up in the next few weeks that will use
the same software. But in this case I will be using patterns on four
GPIO lines to select 15 different chip selects (using a 4->16 mux on the
target board, with 1111 being "no chip selected"). This is a fairly
specialised use, unlike the typo in #2, but if you like I can send it as
a patch when it is working.

I assume you will be happy with patches supporting different flash chips?

Best regards,

David

Owner

eblot commented Nov 3, 2013

Yes sure, please do! Thanks.

Owner

eblot commented Nov 3, 2013

BTW, do not forget to pull first, as I have tweak some of the internal APIs

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