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

Add riscv-rt to workspace #151

Merged
merged 314 commits into from
Nov 27, 2023
Merged

Add riscv-rt to workspace #151

merged 314 commits into from
Nov 27, 2023
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Mar 5, 2019

  1. Regenerate binaries

    Disasm committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    465690e View commit details
    Browse the repository at this point in the history
  2. Update 'riscv' dependency

    Disasm committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    b7dac85 View commit details
    Browse the repository at this point in the history
  3. Merge #28

    28: Add support for 64-bit targets r=dvc94ch a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    099033f View commit details
    Browse the repository at this point in the history
  4. Copy cortex-m-rt-macros

    Disasm committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    06e1528 View commit details
    Browse the repository at this point in the history
  5. [macros] Fix Cargo.toml

    Disasm committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    85efa3b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1ad79f8 View commit details
    Browse the repository at this point in the history
  7. Use proc-macro entry

    Disasm committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    f981ee6 View commit details
    Browse the repository at this point in the history
  8. Add 'pre_init' attribute

    Disasm committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    f11f052 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    253aa88 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    64fb6ad View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2019

  1. Merge #27

    27: Add 'entry' and 'pre_init' attributes r=dvc94ch a=Disasm
    
    Implementation is based on [`cortex-m-rt-macros`](https://github.com/rust-embedded/cortex-m-rt/tree/master/macros) code.
    
    This implementation has been changed to make `static mut` unsafe inside entry point and different handlers.
    
    Related: rust-embedded/riscv-rt#20
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    816b3ce View commit details
    Browse the repository at this point in the history
  2. Fix documentation

    Disasm committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    d2eff45 View commit details
    Browse the repository at this point in the history
  3. Add MSRV policy

    Disasm committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    f572fde View commit details
    Browse the repository at this point in the history
  4. Bump version

    Disasm committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    e85c1fb View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2019

  1. Merge #30

    30: Fix docs, add MSRV policy, bump version r=dvc94ch a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm committed Mar 11, 2019
    Configuration menu
    Copy the full SHA
    fdc92f3 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2019

  1. Configuration menu
    Copy the full SHA
    8163823 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2019

  1. Update 'riscv' dependency

    Disasm committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    1c716aa View commit details
    Browse the repository at this point in the history
  2. Initialize FPU when available

    Disasm committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    373d773 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2019

  1. Configuration menu
    Copy the full SHA
    a4ac2f3 View commit details
    Browse the repository at this point in the history
  2. Fix _stext redefinition

    Disasm committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    43b527c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fdd627d View commit details
    Browse the repository at this point in the history
  4. Put provides in one place

    Disasm committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    ec35554 View commit details
    Browse the repository at this point in the history
  5. Add more asserts

    Disasm committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    9d64f83 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b04261e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c4d4b7a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b50b9ed View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2019

  1. Revert "Initialize FPU when available"

    This reverts commit 373d773.
    Disasm committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    c201a96 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2019

  1. Initialize GPR and MSR state

    Disasm committed Apr 28, 2019
    Configuration menu
    Copy the full SHA
    73e56eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f9677f View commit details
    Browse the repository at this point in the history
  3. Set trap handler in assembly

    Disasm committed Apr 28, 2019
    Configuration menu
    Copy the full SHA
    03f4eef View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. Configuration menu
    Copy the full SHA
    84042d7 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. Introduce _mp_hook

    Disasm committed May 22, 2019
    Configuration menu
    Copy the full SHA
    5c1bbc6 View commit details
    Browse the repository at this point in the history
  2. Regenerate binaries

    Disasm committed May 22, 2019
    Configuration menu
    Copy the full SHA
    5d8f8c3 View commit details
    Browse the repository at this point in the history
  3. Update documentation

    Disasm committed May 22, 2019
    Configuration menu
    Copy the full SHA
    6d14411 View commit details
    Browse the repository at this point in the history
  4. Add examples

    Disasm committed May 22, 2019
    Configuration menu
    Copy the full SHA
    0049fd0 View commit details
    Browse the repository at this point in the history
  5. Check examples in CI

    Disasm committed May 22, 2019
    Configuration menu
    Copy the full SHA
    cf8c9f2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    984a63d View commit details
    Browse the repository at this point in the history
  7. [macros] Bump version (0.1.6)

    Disasm committed May 22, 2019
    Configuration menu
    Copy the full SHA
    f433e3d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9685940 View commit details
    Browse the repository at this point in the history
  9. Bump version (0.6.0)

    Disasm committed May 22, 2019
    Configuration menu
    Copy the full SHA
    15fe992 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2019

  1. Rename RISCV to RISC-V

    Disasm committed May 25, 2019
    Configuration menu
    Copy the full SHA
    73f1a1e View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. Fix build

    Disasm committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    e336375 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. Merge #32

    32: Rename RISCV to RISC-V r=laanwj a=Disasm
    
    The same as here: #25
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    4bdbe78 View commit details
    Browse the repository at this point in the history
  2. Merge #31

    31: New linker script and multi-core support r=laanwj a=Disasm
    
    * Linker script was reworked. Now it uses region aliases to relocate sections. This approach makes it possible to build firmware for both FLASH+RAM and RAM-only targets. Memory definitions now supposed to be present in their corresponding crates (e.g. RAM definition in PAC crate, FLASH definition in board support crate).
    * Multi-core support was introduced. Cores are parked with `_mp_hook` function and then awakened in platform-dependent way.
    * Documentation was updated to reflect new features.
    * New crate version: 0.6.0
    
    Depends on: #28
    Closes: rust-embedded/riscv-rt#26
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    b66f595 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2019

  1. Add .sbss section to linker script

    Rust nightly has started generating this section for RISC-V executables,
    place it at the start of the bss area.
    laanwj committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    eb00f87 View commit details
    Browse the repository at this point in the history
  2. Merge #35

    35: Add .sbss section to linker script r=Disasm a=laanwj
    
    Rust nightly has started generating this section for RISC-V executables, place it at the start of the bss area.
    
    ```
      = note: rust-lld: error: no memory region specified for section '.sbss'
    ```
    
    I think this is correct, looking at other uses of the section, though I could find no definitive documentation for this.
    
    Co-authored-by: Wladimir J. van der Laan <[email protected]>
    bors[bot] and laanwj committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    80759f2 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2019

  1. Use ALIGN attributes properly

    Disasm committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    98f7b1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8407973 View commit details
    Browse the repository at this point in the history
  3. Fix .data alignment issue

    Disasm committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    03a3639 View commit details
    Browse the repository at this point in the history
  4. Fix section flags

    Disasm committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    8f3ff84 View commit details
    Browse the repository at this point in the history
  5. Fix _stext override issue

    Disasm committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    44c86e2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1839103 View commit details
    Browse the repository at this point in the history
  7. Regenerate binaries

    Disasm committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    6fe10d1 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2019

  1. Merge #36

    36: Fix linker script r=laanwj a=Disasm
    
    This PR fixes
    * section alignment issues
    * section flags (now both `.heap` and `.stack` are `NOBITS`)
    * wrong offsets with overridden `_stext`
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    c284f35 View commit details
    Browse the repository at this point in the history
  2. Merge #37

    37: Fix _start_trap save/restore sequences r=laanwj a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    0427294 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2019

  1. link.x: Add .sdata2 sections

    Clang doesn't seem to generate these, but GCC does. I'm trying to
    link secp256k1, which is a C library, to my Rust code so the linker
    script needs to include these sections too.
    laanwj committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    370700c View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2019

  1. Configuration menu
    Copy the full SHA
    e962e8c View commit details
    Browse the repository at this point in the history
  2. Merge #38

    38: link.x: Add .sdata2 sections r=Disasm a=laanwj
    
    Clang doesn't seem to generate these, but GCC (8.3.0 at least) does. I'm trying to link secp256k1, which is a C library, to my Rust code so the linker script needs to include these sections too.
    
    Co-authored-by: Wladimir J. van der Laan <[email protected]>
    bors[bot] and laanwj committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    c757933 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2019

  1. Simple typo fix

    iankronquist authored Oct 3, 2019
    Configuration menu
    Copy the full SHA
    cd995c6 View commit details
    Browse the repository at this point in the history
  2. Merge #40

    40: Simple typo fix r=almindor a=iankronquist
    
    Just poking around and noticed this. Hope it's not too much trouble.
    
    Co-authored-by: Ian Kronquist <[email protected]>
    bors[bot] and iankronquist authored Oct 3, 2019
    Configuration menu
    Copy the full SHA
    888a763 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2019

  1. Make linker script compatible with GNU linker.

    Assigning to the dot inside the section declaration is section
    relative, not absolute.
    pftbest committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    4e9aa15 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2019

  1. Merge #41

    41: Make linker script compatible with GNU linker. r=Disasm a=pftbest
    
    Assigning to the dot inside the section declaration is section
    relative, not absolute.
    
    Co-authored-by: Vadzim Dambrouski <[email protected]>
    bors[bot] and pftbest authored Nov 22, 2019
    Configuration menu
    Copy the full SHA
    5a31ab7 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2020

  1. Place abort in the .text section

    Don't clutter the .init section needlessly.
    istankovic authored Feb 17, 2020
    Configuration menu
    Copy the full SHA
    09b1f01 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2020

  1. Update binaries

    istankovic committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    0f39348 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2020

  1. Merge #43

    43: Place abort in the .text section r=Disasm a=istankovic
    
    Don't clutter the .init section needlessly.
    
    Co-authored-by: Ivan Stankovic <[email protected]>
    Co-authored-by: Ivan Stankovic <[email protected]>
    3 people authored Feb 19, 2020
    Configuration menu
    Copy the full SHA
    cd419ae View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2020

  1. Configuration menu
    Copy the full SHA
    23605f5 View commit details
    Browse the repository at this point in the history
  2. Update binaries

    Disasm committed Feb 27, 2020
    Configuration menu
    Copy the full SHA
    7e4c1b9 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2020

  1. Merge #46

    46: Assure address of PC at startup. r=Disasm a=elfmimi
    
    PR created upon @Disasm 's request. 
    
    Closes: #44
    
    Need update of library files after merging.
    
    Co-authored-by: Ein Terakawa <[email protected]>
    Co-authored-by: Vadim Kaushan <[email protected]>
    3 people authored Feb 28, 2020
    Configuration menu
    Copy the full SHA
    c33a988 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2020

  1. Configuration menu
    Copy the full SHA
    f956817 View commit details
    Browse the repository at this point in the history
  2. Regenerate binaries

    Disasm committed Feb 29, 2020
    Configuration menu
    Copy the full SHA
    063c009 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f233381 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    45c729e View commit details
    Browse the repository at this point in the history
  5. Merge #42

    42: Implement interrupt and exception handling, bump version r=almindor a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Feb 29, 2020
    Configuration menu
    Copy the full SHA
    4b68b0f View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2020

  1. Configuration menu
    Copy the full SHA
    579f68d View commit details
    Browse the repository at this point in the history
  2. Remove asm.h

    Disasm committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    88f0e91 View commit details
    Browse the repository at this point in the history
  3. Add support for riscv32i

    Disasm committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    b729dbf View commit details
    Browse the repository at this point in the history
  4. Generate debug info

    Disasm committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    abd84cc View commit details
    Browse the repository at this point in the history
  5. Regenerate binaries

    Disasm committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    d771a9e View commit details
    Browse the repository at this point in the history
  6. Add assemble.ps1

    Disasm committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    ef6d9e7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bdaeb8e View commit details
    Browse the repository at this point in the history
  8. Update dependencies

    Disasm committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    9c172da View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d748c84 View commit details
    Browse the repository at this point in the history
  10. [CI] Remove obsolete hack

    Disasm committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    c00efce View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    05073ff View commit details
    Browse the repository at this point in the history
  12. Set MSRV to 1.38

    Disasm committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    ab9cccc View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2020

  1. Merge #45

    45: Add support for the riscv32i target r=almindor a=Disasm
    
    Ported from [fomu-rt](https://github.com/im-tomu/fomu-rt)
    
    Closes: rust-embedded/riscv-rt#34
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Mar 10, 2020
    Configuration menu
    Copy the full SHA
    a2f509e View commit details
    Browse the repository at this point in the history
  2. Add CHANGELOG.md

    Disasm committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    5343baf View commit details
    Browse the repository at this point in the history
  3. Release v0.7.0

    Disasm committed Mar 10, 2020
    Configuration menu
    Copy the full SHA
    4fc49a4 View commit details
    Browse the repository at this point in the history
  4. Merge #48

    48: Release v0.7.0 r=almindor a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Mar 10, 2020
    Configuration menu
    Copy the full SHA
    fc79de9 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. Document MSRV on README

    eldruin committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    9cfcd27 View commit details
    Browse the repository at this point in the history
  2. Update CI scripts

    Disasm committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    642ef29 View commit details
    Browse the repository at this point in the history
  3. Allow nightly build to fail

    Disasm committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    9c492da View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4ea6ec4 View commit details
    Browse the repository at this point in the history
  5. Merge #50

    50: Document MSRV on README r=Disasm a=eldruin
    
    See: rust-embedded/wg#445
    
    Co-authored-by: Diego Barrios Romero <[email protected]>
    bors[bot] and eldruin authored Apr 21, 2020
    Configuration menu
    Copy the full SHA
    7ef035a View commit details
    Browse the repository at this point in the history
  6. Enable gcc caching

    Disasm committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    e8918a7 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2020

  1. Only checking for necessary extensions when linking, made debug infor…

    …mation location-independent
    ilya-epifanov committed May 15, 2020
    Configuration menu
    Copy the full SHA
    b67cb52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    12fb268 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. Merge #51

    51: CI fixes and improvements r=almindor a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored May 16, 2020
    Configuration menu
    Copy the full SHA
    f0afce4 View commit details
    Browse the repository at this point in the history
  2. Merge #52

    52: Only checking for necessary extensions when linking, made debug information location-independent r=almindor a=ilya-epifanov
    
    Regarding the debug information:
    ```diff
    1c1
    < In archive src/oss/riscv-rt-orig/bin/riscv32i-unknown-none-elf.a:
    ---
    > In archive src/oss/riscv-rt/bin/riscv32i-unknown-none-elf.a:
    335,336c335,336
    <     <18>   DW_AT_comp_dir    : (indirect string, offset: 0x6): /home/disasm/dev/rust/embedded/workspace/riscv-rt
    <     <1c>   DW_AT_producer    : (indirect string, offset: 0x38): GNU AS 2.32
    ---
    >     <18>   DW_AT_comp_dir    : (indirect string, offset: 0x6): /riscv-rt
    >     <1c>   DW_AT_producer    : (indirect string, offset: 0x10): GNU AS 2.34
    367,371c367,368
    <   0x00000000 61736d2e 53002f68 6f6d652f 64697361 asm.S./home/disa
    <   0x00000010 736d2f64 65762f72 7573742f 656d6265 sm/dev/rust/embe
    <   0x00000020 64646564 2f776f72 6b737061 63652f72 dded/workspace/r
    <   0x00000030 69736376 2d727400 474e5520 41532032 iscv-rt.GNU AS 2
    <   0x00000040 2e333200                            .32.
    ---
    >   0x00000000 61736d2e 53002f72 69736376 2d727400 asm.S./riscv-rt.
    >   0x00000010 474e5520 41532032 2e333400          GNU AS 2.34.
    386c383
    <   Version:               1
    ---
    >   Version:               3
    ```
    
    Versions are still different, but at least the build paths are independent from the build environment.
    
    Co-authored-by: Ilya Epifanov <[email protected]>
    bors[bot] and ilya-epifanov authored May 16, 2020
    Configuration menu
    Copy the full SHA
    0739b22 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c255c0c View commit details
    Browse the repository at this point in the history

Commits on May 17, 2020

  1. Merge #53

    53: fix rust fmt to not mangle externs r=Disasm a=almindor
    
    Cargo fmt mangled all the `extern "Rust"` cases, this fixes it and cleans up the code.
    
    Co-authored-by: Ales Katona <[email protected]>
    bors[bot] and almindor authored May 17, 2020
    Configuration menu
    Copy the full SHA
    80343ad View commit details
    Browse the repository at this point in the history
  2. Check code style on CI

    Disasm committed May 17, 2020
    Configuration menu
    Copy the full SHA
    ef768fb View commit details
    Browse the repository at this point in the history
  3. Merge #54

    54: Check code style on CI r=almindor a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored May 17, 2020
    Configuration menu
    Copy the full SHA
    ba85a0e View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2020

  1. Exception handler may return

    laanwj committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    48cc1ec View commit details
    Browse the repository at this point in the history
  2. Merge #56

    56: Exception handler may return r=Disasm a=laanwj
    
    We need exceptions to be able to return. For example, after fixing the issue that caused them in the first place (e.g. paging), or after emulating missing instructions and possibly updating `mepc`.
    
    Co-authored-by: Wladimir J. van der Laan <[email protected]>
    bors[bot] and laanwj authored Jun 1, 2020
    Configuration menu
    Copy the full SHA
    158d964 View commit details
    Browse the repository at this point in the history
  3. Surround use of absolute offset with "norelax"

    This prevents an unsupported `R_RISCV_ALIGN` relocation from being
    generated by disabling link-time relaxing for the appropriate part.
    
    Fixes #55.
    laanwj committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    7638761 View commit details
    Browse the repository at this point in the history
  4. Regenerate binaries

    laanwj committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    ced1ad4 View commit details
    Browse the repository at this point in the history
  5. Merge #57

    57: Surround use of absolute address with "norelax" r=Disasm a=laanwj
    
    This prevents an unsupported `R_RISCV_ALIGN` relocation from being generated by disabling link-time relaxing for the appropriate part.
    
    Fixes #55.
    
    Co-authored-by: Wladimir J. van der Laan <[email protected]>
    bors[bot] and laanwj authored Jun 1, 2020
    Configuration menu
    Copy the full SHA
    8ec323b View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2020

  1. Configuration menu
    Copy the full SHA
    ff86cd0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f09f454 View commit details
    Browse the repository at this point in the history
  3. Update asm.S

    Co-authored-by: Vadim Kaushan <[email protected]>
    khrs and Disasm authored Jun 2, 2020
    Configuration menu
    Copy the full SHA
    d1e0564 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    67f67f0 View commit details
    Browse the repository at this point in the history
  5. Add doc to PROVIDE.

    khrs committed Jun 2, 2020
    Configuration menu
    Copy the full SHA
    9275ca9 View commit details
    Browse the repository at this point in the history
  6. Document .weak usage.

    khrs committed Jun 2, 2020
    Configuration menu
    Copy the full SHA
    3047813 View commit details
    Browse the repository at this point in the history
  7. Regenerate BLOBs

    khrs committed Jun 2, 2020
    Configuration menu
    Copy the full SHA
    73ba258 View commit details
    Browse the repository at this point in the history
  8. Update CHANGELOG.md

    khrs committed Jun 2, 2020
    Configuration menu
    Copy the full SHA
    4f09eda View commit details
    Browse the repository at this point in the history
  9. Merge #58

    58: Add hook to initialize custom interrupt controllers. r=Disasm a=khrs
    
    
    
    Co-authored-by: Karol Harasim <[email protected]>
    bors[bot] and khrs authored Jun 2, 2020
    Configuration menu
    Copy the full SHA
    6f4a9d4 View commit details
    Browse the repository at this point in the history
  10. Release v0.7.1

    khrs committed Jun 2, 2020
    Configuration menu
    Copy the full SHA
    ed6c4ae View commit details
    Browse the repository at this point in the history
  11. Update CHANGELOG.md

    Co-authored-by: Vadim Kaushan <[email protected]>
    khrs and Disasm authored Jun 2, 2020
    Configuration menu
    Copy the full SHA
    f1ef3b4 View commit details
    Browse the repository at this point in the history
  12. Fix format.

    Co-authored-by: Vadim Kaushan <[email protected]>
    khrs and Disasm authored Jun 2, 2020
    Configuration menu
    Copy the full SHA
    13744d9 View commit details
    Browse the repository at this point in the history
  13. Merge #59

    59: Release v0.7.1 r=Disasm a=khrs
    
    
    
    Co-authored-by: Karol Harasim <[email protected]>
    bors[bot] and khrs authored Jun 2, 2020
    Configuration menu
    Copy the full SHA
    9f1892e View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2020

  1. Configuration menu
    Copy the full SHA
    2880a75 View commit details
    Browse the repository at this point in the history
  2. Add change log entry

    Disasm committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    48d45c3 View commit details
    Browse the repository at this point in the history
  3. Merge #62

    62: Preserve .eh_frame and .eh_frame_hdr r=almindor a=Disasm
    
    Preserving the `.eh_frame` section improves gdb stack traces on nightly.
    Preserving the `.eh_frame_hdr` section fixes the linker problem `rust-lld: error: no memory region specified for section '.eh_frame_hdr'` introduced in rust-lang/rust#73564
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Jul 15, 2020
    Configuration menu
    Copy the full SHA
    db65c40 View commit details
    Browse the repository at this point in the history
  4. Update link.x

    Similar to #38, riscv compilers may also generate 'small ro data' `.srodata` sections.
    
    This doesn't appear to be well documented, but see [this blog post](https://www.sifive.com/blog/all-aboard-part-3-linker-relaxation-in-riscv-toolchain) for small amount of context.
    richardeoin committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    a9a3fa4 View commit details
    Browse the repository at this point in the history
  5. Merge #61

    61: Update link.x r=almindor a=richardeoin
    
    Similar to #38, riscv compilers may also generate 'small ro data' `.srodata` sections. 
    
    This doesn't appear to be well documented, but see [this blog post](https://www.sifive.com/blog/all-aboard-part-3-linker-relaxation-in-riscv-toolchain) for small amount of context.
    
    Co-authored-by: Richard Meadows <[email protected]>
    bors[bot] and richardeoin authored Jul 15, 2020
    Configuration menu
    Copy the full SHA
    4a89d18 View commit details
    Browse the repository at this point in the history
  6. Release v0.7.2

    Disasm committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    712433d View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2020

  1. Merge #63

    63: Release v0.7.2 r=almindor a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Jul 16, 2020
    Configuration menu
    Copy the full SHA
    1d28064 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2020

  1. Configuration menu
    Copy the full SHA
    47416ae View commit details
    Browse the repository at this point in the history
  2. Merge #65

    65: Update `riscv` crate to version 0.6 r=Disasm a=luojia65
    
    This pull request solves a probable version conflict between latest `riscv` and `riscv-rt`.
    
    The MSRV is also updated to 1.42.0, since the 0.6.0 version of `riscv` crate requires 1.42.0: [link](https://github.com/rust-embedded/riscv/blob/6392fa9520b042bd559b00b9c7131b6de4189f89/CHANGELOG.md#changed).
    
    This pull request also includes a small typo fix in changelog file.
    
    
    
    Co-authored-by: luojia65 <[email protected]>
    bors[bot] and luojia65 authored Jul 18, 2020
    Configuration menu
    Copy the full SHA
    1a1729f View commit details
    Browse the repository at this point in the history
  3. Release v0.8.0

    Disasm committed Jul 18, 2020
    Configuration menu
    Copy the full SHA
    4e372a8 View commit details
    Browse the repository at this point in the history
  4. Merge #66

    66: Release v0.8.0 r=almindor a=Disasm
    
    This release updates the `riscv` dependency, so that the `bare-metal = ">=0.2.0,<0.2.5"` condition is no longer used.
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Jul 18, 2020
    Configuration menu
    Copy the full SHA
    5bfbb27 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2020

  1. Configuration menu
    Copy the full SHA
    ed55f39 View commit details
    Browse the repository at this point in the history
  2. Merge #67

    67: Update dependencies of riscv-rt-macros r=almindor a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Aug 2, 2020
    Configuration menu
    Copy the full SHA
    49c1484 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2021

  1. Fix link to RISC-V team in wg repo

    Fixes link to properly direct to heading in wg repo README.md.
    
    Signed-off-by: hasheddan <[email protected]>
    hasheddan committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    ad9bed1 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2021

  1. [NFC] Fix typo 'suppoted' -> 'supported'

    Interested in using this crate and saw this typo when browsing the docs.
    jmerdich authored Jun 26, 2021
    Configuration menu
    Copy the full SHA
    2042f3b View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Configuration menu
    Copy the full SHA
    2f131cd View commit details
    Browse the repository at this point in the history
  2. Merge #76

    76: switch to Github Actions for CI r=Disasm a=almindor
    
    
    
    Co-authored-by: Ales Katona <[email protected]>
    bors[bot] and almindor authored Jul 19, 2021
    Configuration menu
    Copy the full SHA
    b5fcd72 View commit details
    Browse the repository at this point in the history
  3. Merge #73

    73: Fix link to RISC-V team in wg repo r=Disasm a=hasheddan
    
    Fixes link to properly direct to heading in wg repo README.md.
    
    Signed-off-by: hasheddan <[email protected]>
    
    Co-authored-by: hasheddan <[email protected]>
    bors[bot] and hasheddan authored Jul 19, 2021
    Configuration menu
    Copy the full SHA
    27c91a0 View commit details
    Browse the repository at this point in the history
  4. Merge #74

    74: [NFC] Fix typo 'suppoted' -> 'supported' r=Disasm a=jmerdich
    
    Interested in using this crate and saw this typo when browsing the docs.
    
    Co-authored-by: Jake Merdich <[email protected]>
    bors[bot] and jmerdich authored Jul 19, 2021
    Configuration menu
    Copy the full SHA
    acba973 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

  1. use --target for CI checks

    almindor committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    9a19021 View commit details
    Browse the repository at this point in the history
  2. Merge #77

    77: use --target for CI checks r=Disasm a=almindor
    
    
    
    Co-authored-by: Ales Katona <[email protected]>
    bors[bot] and almindor authored Jul 20, 2021
    Configuration menu
    Copy the full SHA
    142f91d View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2021

  1. update to riscv 0.7

    smsxgli committed Sep 19, 2021
    Configuration menu
    Copy the full SHA
    27b0ed5 View commit details
    Browse the repository at this point in the history
  2. Merge #79

    79: update to riscv 0.7 r=almindor a=smsxgli
    
    hi everyone, I am a new guy with both github, rust and riscv, and this is my first PR, so if I miss something or do something wrong, please let me know (and forgive my poor english, since I am not a native speaker).
    crate `riscv` v0.7 solved link error about [`different hardware float abi`](#85), but riscv-rt still depend on `riscv` v0.6.
    
    Co-authored-by: smsxgli <[email protected]>
    bors[bot] and smsxgli authored Sep 19, 2021
    Configuration menu
    Copy the full SHA
    629737e View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2021

  1. Trap handler override improvments

    * Add ability to override trap handling mechanism
      * Previously, `_start_trap` was marked as weak, which when compiled
        into a static archive, that information is ignored.
      * Now by default we `PROVIDE` the default trap handler, if another one
        has not been specified from another crate.
    * Mark the fields of `Vector` public, for use outside of `riscv-rt`
    MabezDev committed Nov 8, 2021
    Configuration menu
    Copy the full SHA
    daeaf18 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2021

  1. Merge #81

    81: Trap handler override improvments r=almindor a=MabezDev
    
    * Add ability to override trap handling mechanism
      * Previously, `_start_trap` was marked as weak, which when compiled
        into a static archive, that information is ignored.
      * Now by default we `PROVIDE` the default trap handler, if another one
        has not been specified from another crate.
    * Mark the fields of `Vector` public, for use outside of `riscv-rt`
    
    Co-authored-by: Scott Mabin <[email protected]>
    bors[bot] and MabezDev authored Nov 10, 2021
    Configuration menu
    Copy the full SHA
    5137b0a View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Update CHANGELOG.md

    parkero authored Jan 25, 2022
    Configuration menu
    Copy the full SHA
    f1f3b63 View commit details
    Browse the repository at this point in the history
  2. Merge #86

    86: Update CHANGELOG.md r=almindor a=parkero
    
    Adds currently unreleased changes for #85 
    
    Co-authored-by: parkero <[email protected]>
    bors[bot] and parkero authored Jan 25, 2022
    Configuration menu
    Copy the full SHA
    66f5d1f View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. release v0.8.1

    almindor committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    6aadc50 View commit details
    Browse the repository at this point in the history
  2. Merge #87

    87: release v0.8.1 r=Disasm a=almindor
    
    Release v0.8.1 to fix #85 
    
    Co-authored-by: Ales Katona <[email protected]>
    bors[bot] and almindor authored Jan 26, 2022
    Configuration menu
    Copy the full SHA
    5118a29 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2022

  1. Update riscv to 0.8 and remove inline-asm feature

    This also updates MSRV to 1.59.
    taiki-e committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    3c68180 View commit details
    Browse the repository at this point in the history
  2. Merge #88

    88: Update riscv to 0.8 and remove inline-asm feature r=almindor a=taiki-e
    
    This also updates MSRV to 1.59.
    
    Co-authored-by: Taiki Endo <[email protected]>
    bors[bot] and taiki-e authored Apr 23, 2022
    Configuration menu
    Copy the full SHA
    76dc8db View commit details
    Browse the repository at this point in the history
  3. Fix links in changelog

    Disasm committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    ab70e9f View commit details
    Browse the repository at this point in the history
  4. Update copyright years

    Disasm committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    5fcb5ef View commit details
    Browse the repository at this point in the history
  5. Merge #89

    89: Fix links in changelog r=dkhayes117 a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Apr 23, 2022
    Configuration menu
    Copy the full SHA
    98eba1d View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. Merge #90

    90: Update copyright years r=almindor a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    8bae02e View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2022

  1. Configuration menu
    Copy the full SHA
    5c8b061 View commit details
    Browse the repository at this point in the history
  2. Merge #91

    91: Don't use a random hash ident, instead use the crate prefixed symbol r=almindor a=MabezDev
    
    This is what cortex-m land is doing. This was initially discovered to be an issue when implementing unwinding in riscv probe-rs, the dwarf info shows the hashed symbol name which is a bit weird, this makes it more clear what the symbol actually is.
    
    Co-authored-by: Scott Mabin <[email protected]>
    bors[bot] and MabezDev authored Jun 10, 2022
    Configuration menu
    Copy the full SHA
    3f7e297 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Configuration menu
    Copy the full SHA
    63a9486 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89c97b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3c50674 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    17e0aa2 View commit details
    Browse the repository at this point in the history
  5. Merge #93

    93: Rerun the build script if the bin/{}.a archive has changed r=Disasm a=SimonSapin
    
    This PR also includes some drive-by cleanup commits, but the last one is what’s significant. This bit me when trying to make changes to `asm.S` and rebuilding with `./assemble.sh`.
    
    (By the way, I get ``Assembler messages: Fatal error: invalid -march= option: `rv32i'`` when running that script on Arch Linux despite installing a GNU toolchain for RISC-V. Instead I’m now using an Ubuntu 20.04 container to run it, since that’s what CI does for `./check-blobs.sh`.)
    
    Co-authored-by: Simon Sapin <[email protected]>
    bors[bot] and SimonSapin authored Jun 23, 2022
    Configuration menu
    Copy the full SHA
    6bd66a2 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2022

  1. Pass a0..a2 to main()

    Disasm committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    57219ef View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Merge #95

    95: Pass a0..a2 to main() r=almindor a=Disasm
    
    This PR delivers arguments stored in a0..a2 to `main`.
    
    Fixes rust-embedded/riscv-rt#92
    
    Tested with:
    * build the `empty` example for `riscv64imac-unknown-none-elf` with a memory file which puts everything to `0x80000000`
    * run `qemu-system-riscv64 -nographic -machine virt -bios target/riscv64imac-unknown-none-elf/release/examples/empty -s -S`
    * connect to qemu with gdb (`target remote :1234`)
    * set breakpoint to main (`b main`)
    * resume execution (`continue`)
    * inspect registers (`info registers`)
    ```
    a0             0x0	0
    a1             0x87000000	2264924160
    a2             0x1028	4136
    ```
    * check header (`x/xw 0x87000000`)
    ```
    0x87000000:	0xedfe0dd0
    ```
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Jun 29, 2022
    Configuration menu
    Copy the full SHA
    4b98bd4 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. Add missing changelog entries

    Disasm committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    61aaa6c View commit details
    Browse the repository at this point in the history
  2. Merge #96

    96: Add missing changelog entries r=almindor a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Jun 30, 2022
    Configuration menu
    Copy the full SHA
    259d1ca View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. Release v0.9.0

    Disasm committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    55b830d View commit details
    Browse the repository at this point in the history
  2. Merge #97

    97: Release v0.9.0 r=dkhayes117 a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    cf962d8 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2022

  1. Configuration menu
    Copy the full SHA
    01097fd View commit details
    Browse the repository at this point in the history
  2. Merge #98

    98: Convert default_setup_interrupts into a Rust function r=dkhayes117 a=Disasm
    
    First step towards a fully inline-asm `riscv-rt`.
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Jul 3, 2022
    Configuration menu
    Copy the full SHA
    29e1590 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Simplify build.rs example

    Disasm committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    dd23217 View commit details
    Browse the repository at this point in the history
  2. Merge #100

    100: Simplify build.rs example r=dkhayes117 a=Disasm
    
    
    
    Co-authored-by: Vadim Kaushan <[email protected]>
    bors[bot] and Disasm authored Jul 11, 2022
    Configuration menu
    Copy the full SHA
    9e7d5a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. Configuration menu
    Copy the full SHA
    b89b4e4 View commit details
    Browse the repository at this point in the history
  2. Add CHANGELOG entry

    jannic committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    c5f355d View commit details
    Browse the repository at this point in the history
  3. Merge #103

    103: Remove superfluous parentheses from link.x r=almindor a=jannic
    
    Fixes #102
    
    Co-authored-by: Jan Niehusmann <[email protected]>
    bors[bot] and jannic authored Sep 8, 2022
    Configuration menu
    Copy the full SHA
    93bc768 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2022

  1. Configuration menu
    Copy the full SHA
    061c0aa View commit details
    Browse the repository at this point in the history
  2. SBI: upload static libs

    pgraubner committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    7d5d587 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2022

  1. Configuration menu
    Copy the full SHA
    67b2fcd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e4c04f View commit details
    Browse the repository at this point in the history
  3. SMODE: upload static libs

    pgraubner committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    20837cf View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. Configuration menu
    Copy the full SHA
    68e99b3 View commit details
    Browse the repository at this point in the history
  2. Merge #104

    104: SBI mode r=almindor a=pgraubner
    
    Introducing Supervisor Binary Interface (SBI) compatibility as a build-time feature. Main goal is to allow riscv-rt based implementations to be bootstrapped by a SBI-firmware (like in `qemu-system-riscv64`).
    
    * Introduce compiler switches for assembly in order to switch between machine mode / supervisor mode
    * Introduce cargo feature for conditional compilation
    * Patch lib.rs for supervisor-mode compatibility
    
    The only interface this PR is braking is `mp_hook`, which needs a mhartid replacement for smode. The hart id is passed by the caller.
    Tested with `qemu-system-riscv64`.
    
    See also documentation/features/sbi for further implementation details.
    
    Co-authored-by: Pablo Graubner <[email protected]>
    bors[bot] and pgraubner authored Sep 19, 2022
    Configuration menu
    Copy the full SHA
    e53deef View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2022

  1. release v0.10.0

    almindor committed Nov 5, 2022
    Configuration menu
    Copy the full SHA
    edf0387 View commit details
    Browse the repository at this point in the history
  2. Merge #105

    105: release v0.10.0 r=Disasm a=almindor
    
    Release latest master as `v0.10.0` to fix #102 properly
    
    Co-authored-by: Ales Katona <[email protected]>
    bors[bot] and almindor authored Nov 5, 2022
    Configuration menu
    Copy the full SHA
    6644fa5 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2022

  1. update to riscv 0.10

    tfx2001 committed Dec 26, 2022
    Configuration menu
    Copy the full SHA
    d66bf9f View commit details
    Browse the repository at this point in the history
  2. Merge #108

    108: update to riscv 0.10 r=dkhayes117 a=tfx2001
    
    In `svd2rust` 0.24.2, require `critial-section` feature of `riscv` 0.10.0 to use the `Peripheral::take()`. So update `riscv` to 0.10 avoid link error.
    
    ```text
      = note: rust-lld: error: undefined symbol: _critical_section_1_0_release
              >>> referenced by lib.rs:197 (C:\***\.cargo\registry\src\github.com-1ecc6299db9ec823\critical-section-1.1.1\src/lib.rs:197)
              >>>               C:\***\target\riscv32imac-unknown-none-elf\debug\deps\blink-38e172683ad1eb45.21kbt3gcucoa48u6.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::h47fa1a207a83c94b)
    
              rust-lld: error: undefined symbol: _critical_section_1_0_acquire
              >>> referenced by lib.rs:180 (C:\***\.cargo\registry\src\github.com-1ecc6299db9ec823\critical-section-1.1.1\src/lib.rs:180)
              >>>               C:\***\target\riscv32imac-unknown-none-elf\debug\deps\blink-38e172683ad1eb45.54bke7unpav17a81.rcgu.o:(critical_section::with::h3ba86eebd468f130)
    ```
    
    Co-authored-by: tfx2001 <[email protected]>
    bors[bot] and tfx2001 authored Dec 26, 2022
    Configuration menu
    Copy the full SHA
    3859409 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Configuration menu
    Copy the full SHA
    bb86d34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcc69ab View commit details
    Browse the repository at this point in the history
  3. Merge #109

    109: release v0.11.0 with riscv CS fix r=dkhayes117 a=almindor
    
    Updates riscv to 0.10.1 with the critical section fix
    
    Co-authored-by: Ales Katona <[email protected]>
    bors[bot] and almindor authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    e48c03e View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2023

  1. fix: avoid rust-analyzer snake case warning

    It seems that rust-analyzer needs to operate over the expanded text of the proc macro (in order to e.g. support completion in the function body, see #11014 for way more details), so it "sees" the non-snake-case name emitted by riscv-rt's `entry` here.
    
    Without this change, rust-analyzer will show a "weak warning" on invocations of `#[entry]` with the text:
    
    ```
    Function `__risc_v_rt__main` should have snake_case name, e.g. `__risc_v_rt_main`
    ```
    sethp authored Jan 21, 2023
    Configuration menu
    Copy the full SHA
    527ed05 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2023

  1. Merge #110

    110: fix: avoid rust-analyzer snake case warning r=almindor a=sethp
    
    It seems that rust-analyzer needs to operate over the expanded text of the proc macro (in order to e.g. support completion in the function body, see #11014 for way more details), so it "sees" the non-snake-case name emitted by riscv-rt's `entry` here.
    
    Without this change, rust-analyzer will show a "weak warning" on invocations of `#[entry]` with the text:
    
    ```
    Function `__risc_v_rt__main` should have snake_case name, e.g. `__risc_v_rt_main`
    ```
    
    Co-authored-by: sethp <[email protected]>
    bors[bot] and sethp authored Jan 22, 2023
    Configuration menu
    Copy the full SHA
    1091528 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. moving to ghmq

    romancardenas committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    a479977 View commit details
    Browse the repository at this point in the history
  2. ready to merge

    romancardenas committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    86d70ab View commit details
    Browse the repository at this point in the history
  3. Merge pull request #115 from rust-embedded/ghmq

    Move towards GHMQ
    almindor authored Jul 4, 2023
    Configuration menu
    Copy the full SHA
    5437af7 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. Configuration menu
    Copy the full SHA
    0abe2ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19c30c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    70ec45e View commit details
    Browse the repository at this point in the history
  4. modify build CI task

    romancardenas committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    11049a4 View commit details
    Browse the repository at this point in the history
  5. testing oor branch

    onsdagens committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    a949316 View commit details
    Browse the repository at this point in the history
  6. fix oor branch via linking

    onsdagens committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    f823dd9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    47082d0 View commit details
    Browse the repository at this point in the history
  8. fix oor branch via linking

    onsdagens committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    3358321 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    213bc80 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #116 from onsdagens/global_asm

    Temporary fix for OOR branch
    romancardenas authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    8a54bb1 View commit details
    Browse the repository at this point in the history
  11. does this even matter

    onsdagens committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    f182901 View commit details
    Browse the repository at this point in the history
  12. fix oor branch via linking

    onsdagens committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    3fa3c37 View commit details
    Browse the repository at this point in the history
  13. fix oor branch via linking

    onsdagens committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    fc48c00 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. Merge pull request #117 from onsdagens/global_asm_link

    Fix oor branch via linking
    romancardenas authored Jul 7, 2023
    Configuration menu
    Copy the full SHA
    c861d19 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2023

  1. Ready for PR

    romancardenas committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    9e589b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2023

  1. Merge pull request #118 from rust-embedded/global_asm

    Use inline assembly instead of pre-compiled blobs
    almindor authored Jul 22, 2023
    Configuration menu
    Copy the full SHA
    15939f4 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Add feature single-hart

    Signed-off-by: Chien Wong <[email protected]>
    ivq committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    e540f1e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #119 from ivq/single_hart

    Add feature single-hart
    almindor authored Aug 8, 2023
    Configuration menu
    Copy the full SHA
    c4f05d2 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. cargo clippy --fix

    romancardenas committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    89be0f4 View commit details
    Browse the repository at this point in the history
  2. Added clippy workflow

    romancardenas committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    a47aca1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #120 from rust-embedded/clippy

    Added GH action to check clippy
    almindor authored Aug 11, 2023
    Configuration menu
    Copy the full SHA
    db136b8 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Implement r0 crate in assembly

    This implements the `r0::init_data` and `r0::zero_bss` routines in
    assembly. There is a generic implementation for `riscv32` and
    `riscv64`, since `riscv64` deals with alignment problems. The routines
    are kept at their old calling site so that only one hardware thread
    calls them. Consequently they are also inlined into the `start_rust`
    function.
    
    [Issue #122]
    coastalwhite committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    eef90a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. Configuration menu
    Copy the full SHA
    1f29bd3 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. Configuration menu
    Copy the full SHA
    6c517f2 View commit details
    Browse the repository at this point in the history
  2. Doc: Adjust CHANGELOG.md

    coastalwhite committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    01711b7 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Configuration menu
    Copy the full SHA
    5612518 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #123 from coastalwhite/r0-in-asm

    Implement r0 crate in assembly
    romancardenas authored Oct 2, 2023
    Configuration menu
    Copy the full SHA
    da226b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    16d0a81 View commit details
    Browse the repository at this point in the history
  2. ready for PR

    romancardenas committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    b3d0c9c View commit details
    Browse the repository at this point in the history
  3. trying to fix it

    romancardenas committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    6b1a4d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c2058e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d9fb8e5 View commit details
    Browse the repository at this point in the history
  6. minor changes

    romancardenas committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    6d05bb6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    26e2095 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #124 from rust-embedded/check-changelog

    Check CHANGELOG.md on PRs to master
    romancardenas authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    cc4f035 View commit details
    Browse the repository at this point in the history
  9. Remove label-check from merge_group

    It seems that the action used to check forbidden labels only works for PRs. Removing it from merge_group.
    romancardenas authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    2338794 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #125 from rust-embedded/label-patch

    Remove label-check from merge_group
    MabezDev authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    ea1deea View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    b84edd6 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Ignore hartid in single-hart mode.

    Don't bother checking hart ID on startup in single-hart mode. Allows
    use of cores with unusual mhartid values and saves a few instructions.
    kevin-vigor committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    0631b3a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #126 from kevin-vigor/master

    Ignore hartid in single-hart mode.
    romancardenas authored Nov 9, 2023
    Configuration menu
    Copy the full SHA
    448eec9 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Fix setting incorrect sp if single-hart

    If single-hart is enabled, the sp is set to _stack_start - _hart_stack_size,
    rather than _stack_start. Fix this.
    
    Fixes: e540f1e ("Add feature single-hart")
    Signed-off-by: Chien Wong <[email protected]>
    ivq committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    1a22ec5 View commit details
    Browse the repository at this point in the history
  2. Add 'single-hart' changelog entry

    Signed-off-by: Chien Wong <[email protected]>
    ivq committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    17185e9 View commit details
    Browse the repository at this point in the history
  3. Update doc on single-hart

    Signed-off-by: Chien Wong <[email protected]>
    ivq committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    408acae View commit details
    Browse the repository at this point in the history
  4. Merge pull request #128 from ivq/fix_single_hart_stack

    Fix setting incorrect sp if single-hart
    romancardenas authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    34e07c6 View commit details
    Browse the repository at this point in the history
  5. Ensure sp is 16-byte aligned

    Signed-off-by: Chien Wong <[email protected]>
    ivq committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    b737208 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Merge pull request #129 from ivq/sp_align

    Ensure sp is 16-byte aligned
    romancardenas authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    0383469 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Configuration menu
    Copy the full SHA
    f2b1dea View commit details
    Browse the repository at this point in the history
  2. Merge pull request #127 from rust-embedded/new_build

    build.rs now adapts link.x for the target arch
    MabezDev authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    721f107 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Configuration menu
    Copy the full SHA
    0bae216 View commit details
    Browse the repository at this point in the history
  2. Setting CI (WIP)

    romancardenas committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    cd474dd View commit details
    Browse the repository at this point in the history
  3. fix build.yaml

    romancardenas committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    612d58d View commit details
    Browse the repository at this point in the history
  4. separation of CI

    romancardenas committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    edf4dac View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. changelog

    romancardenas committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    3d39bbf View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. update Cargo.toml

    romancardenas committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    d7b4ae9 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Addressing review

    romancardenas committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    5407f38 View commit details
    Browse the repository at this point in the history