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
risc-v/esp32c3: Support ESP32-C3 efuse #3881
Conversation
@lhespress Please, use the PR description template. |
Thanks, I have modified it. |
cf9807c
to
9fd7206
Compare
@lhespress The CI is complaining that the efuse defconfig is not refreshed. |
abf263b
to
7909355
Compare
goto errout; | ||
} | ||
|
||
errout: | ||
return ret; |
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.
goto errout; | |
} | |
errout: | |
return ret; | |
} | |
return ret; |
No need for this goto
.
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.
Thanks, I have modified it.
* Input Parameters: | ||
* lower - A pointer the publicly visible representation of | ||
* the "lower-half" driver state structure | ||
* cmd - The ioctol command value |
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.
* cmd - The ioctol command value | |
* cmd - The ioctl command value |
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.
Thanks, I have modified it.
} esp_efuse_block_t; | ||
|
||
/**************************************************************************** | ||
* Name: efuse_func_proc_t; |
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.
* Name: efuse_func_proc_t; | |
* Name: efuse_func_proc_t |
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.
Thanks, I have modified it.
****************************************************************************/ | ||
|
||
/**************************************************************************** | ||
* Name: esp32c3_efuse_read_field; |
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.
* Name: esp32c3_efuse_read_field; | |
* Name: esp32c3_efuse_read_field |
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.
Thanks, I have modified it.
size_t dst_size_bits); | ||
|
||
/**************************************************************************** | ||
* Name: esp32c3_efuse_write_field; |
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.
* Name: esp32c3_efuse_write_field; | |
* Name: esp32c3_efuse_write_field |
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.
Thanks, I have modified it.
const void *src, size_t src_size_bits); | ||
|
||
/**************************************************************************** | ||
* Name: esp32c3_efuse_burn_efuses; |
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.
* Name: esp32c3_efuse_burn_efuses; | |
* Name: esp32c3_efuse_burn_efuses |
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.
Thanks, I have modified it.
void esp32c3_efuse_burn_efuses(void); | ||
|
||
/**************************************************************************** | ||
* Name: esp32c3_efuse_initialize; |
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.
* Name: esp32c3_efuse_initialize; | |
* Name: esp32c3_efuse_initialize |
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.
Thanks, I have modified it.
7909355
to
a140647
Compare
Summary
risc-v/esp32c3: Support ESP32-C3 efuse Driver
Impact
Testing
The efuse driver was successfully tested in esp32c3-devkitc using the efuse example.
config
./tools/configure esp32c3-devkit:efuse
test result