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

Picolib support #9

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Commits on Aug 24, 2020

  1. Add automatic picolibc build

    Add a script to build picolibc by using make picolibc. The script works with riscv32 and riscv64 compilers.
    It is installed locally to the repository with a specs-specs file containing all necessary options for correct linking.
    Also a dummyfile is included for printf support which needs to be adjusted in future commits.
    tsmk94 committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    f97374f View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2020

  1. Include tapasco_iob in picolibc meson build

    Include the build of our __iob implementation for printf support in the meson build of picolibc
    Adjust clean target of Makefile
    tsmk94 committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    832d4fd View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2020

  1. Adjust picolibc linker script sections

    Move sections containing function pointers (and not code as I initially thought) to the data memory as well. Otherwise the start up code cannot load these pointers from memory.
    tsmk94 committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    b7800ef View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2020

  1. Add newest version of RVcontroller

    RVController contains now all required registers for the picolibc support and interrupt is set after grace period.
    tsmk94 committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    56cac19 View commit details
    Browse the repository at this point in the history
  2. Add __iob implementation

    Add implementation of putc and getc operations on stdin/stdout. In initialization phase base addresses of the RAM buffers are fetched. One buffer is used to write stdout output and one for "reading" from stdin.
    tsmk94 committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    c037911 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. Add extended reset capability to controller

    The Controller resets the RISC-V core now with every write of '1' to the start register at 0x0, no matter in which state it is currently. This is required for proper support of the cores' debug modules.
    tsmk94 committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    5a36a9f View commit details
    Browse the repository at this point in the history
  2. Add programming example with picolibc

    Add an example using the picolibc with software and makefiles for both host and PE.
    tsmk94 committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    1d1e6d7 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2020

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

Commits on Sep 24, 2020

  1. Change controller timing

    Delay core reset after interrupt by four cycles to avoid reset directly with new write request of Pico since this will cause that the Pico cannot be resetted properly and will hang-up in a second execution.
    tsmk94 committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    edef816 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a52539a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    348a4ea View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2020

  1. Add possibility to specify additional options when building picolibc …

    …by using PICOLIBC_OPTS variable
    tsmk94 committed Sep 30, 2020
    Configuration menu
    Copy the full SHA
    52f5bfd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f404f02 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48a2745 View commit details
    Browse the repository at this point in the history
  4. Fix some typos

    tsmk94 authored Sep 30, 2020
    Configuration menu
    Copy the full SHA
    4869e49 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2020

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