Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Add flash id component to IotFlashInfo struct #2016

Merged
merged 1 commit into from
May 17, 2020
Merged

Conversation

cmcgcc
Copy link
Contributor

@cmcgcc cmcgcc commented May 15, 2020

Description

Add flash id component to IotFlashInfo struct

Checklist:

  • I have tested my changes. No regression in existing tests.
  • My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@cmcgcc
Copy link
Contributor Author

cmcgcc commented May 15, 2020

Please help for code review. @vjjunnut @cobusve @brianfr @dongh @qiutongs @lundinc2

@@ -94,6 +94,7 @@ typedef struct IotFlashInfo
* and if sub-sectors of 4k can be write protected then this may be set to 4K*/
uint8_t ucAsyncSupported; /*!< Provides a flag to indicate if background erase/program
* is supported. User must check this before they can setup a callback and wait.*/
uint32_t ulFlashID; /*!< flash chip id */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Do you mind changing this to "Flash chip ID."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rest flash components like ulFlashSize in the structure are commented without capital F. It is not shown in this diff.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, sounds good to me

@qiutongs qiutongs merged commit 5f6c746 into aws:master May 17, 2020
alfred2g pushed a commit to alfred2g/amazon-freertos that referenced this pull request May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants