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

minor software framework cleanups and optimizations #940

Merged
merged 11 commits into from
Jul 5, 2024
Merged

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Jul 5, 2024

  • use crt0's trap handler for exceptions during destructor execution
  • GPIO: rename interface registers
    • INPUT_LO -> INPUT[0]
    • INPUT_HI -> INPUT[1]
    • OUTPUT_LO -> OUTPUT[0]
    • OUTPUT_HI -> OUTPUT[1]
    • backwards compatibility aliases are added to neorv32_legacy.h
  • provide global data types (unions) for subword accesses
  • rename atomic LR/SC wrappers:
    • neorv32_cpu_load_reservate_word() -> neorv32_cpu_amolr()
    • neorv32_cpu_store_conditional_word() -> neorv32_cpu_amosc()
    • backwards compatibility aliases are added to neorv32_legacy.h

@stnolting stnolting added SW software-related optimization Make things faster, smaller and more efficient cleanup clean-up the codebase labels Jul 5, 2024
@stnolting stnolting self-assigned this Jul 5, 2024
@stnolting stnolting marked this pull request as ready for review July 5, 2024 12:15
@stnolting stnolting merged commit cb058a8 into main Jul 5, 2024
10 checks passed
@stnolting stnolting deleted the sw_cleanups branch July 5, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup clean-up the codebase optimization Make things faster, smaller and more efficient SW software-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant