Changeset 1232cd46 in rtems for c


Ignore:
Timestamp:
Jun 25, 2018, 6:44:16 AM (13 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
cdfed94f
Parents:
c558cc4
git-author:
Sebastian Huber <sebastian.huber@…> (06/25/18 06:44:16)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/28/18 13:02:13)
Message:

bsp/riscv: Add device tree support for console

Update #3433.

Location:
c/src/lib/libbsp/riscv/riscv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/riscv/riscv/Makefile.am

    rc558cc4 r1232cd46  
    5050librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/btimer/btimer.c
    5151
    52 # console
    53 librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
    54 
    5552# IRQ
    5653librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
     
    6057librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
    6158
    62 # debugio
    63 librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/console/console-io.c
     59# Console
     60librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
     61librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/console/console-config.c
     62librtemsbsp_a_SOURCES += ../../../../../../bsps/riscv/riscv/console/htif.c
    6463
    6564if HAS_SMP
  • c/src/lib/libbsp/riscv/riscv/configure.ac

    rc558cc4 r1232cd46  
    2828RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[copy the FDT blob into the read-only load area via bsp_fdt_copy()])
    2929
     30RTEMS_BSPOPTS_SET([RISCV_ENABLE_HTIF_SUPPORT],[*],[1])
     31RTEMS_BSPOPTS_HELP([RISCV_ENABLE_HTIF_SUPPORT],[enables the HTIF support if defined to a non-zero value, otherwise it is disabled (enabled by default)])
     32
    3033RTEMS_BSP_CLEANUP_OPTIONS
    3134
Note: See TracChangeset for help on using the changeset viewer.