Ignore:
Timestamp:
Aug 21, 2014, 1:38:24 PM (6 years ago)
Author:
Pavel Pisa <pisa@…>
Branches:
4.11, master
Children:
66f1ca6
Parents:
5787188
git-author:
Pavel Pisa <pisa@…> (08/21/14 13:38:24)
git-committer:
Joel Sherrill <joel.sherrill@…> (08/21/14 14:07:29)
Message:

bsp/tms570: implemented support functions to satisfy complete tests build requirements.

This patch enables to build all RTEMS tests for tms570ls3137_hdk_sdram
BSP variant in in default build. Debug build with --enable-rtems-debug set
has succeed for samples subset of tests as well.

Location:
c/src/lib/libbsp/arm/tms570/clock
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/tms570/clock/clock.c

    r5787188 r46265063  
    3030#include <bsp/irq.h>
    3131#include <bsp/tms570-rti.h>
     32#include <rtems/counter.h>
    3233
    3334/**
     
    4950
    5051  uint32_t microsec_per_tick = rtems_configuration_get_microseconds_per_tick();
     52
     53  rtems_counter_initialize_converter(BSP_PLL_OUT_CLOCK);
    5154
    5255  /* Hardware specific initialize */
     
    8184  TMS570_RTI.RTIINTFLAG = 0x00000001;
    8285  tms570_rti_last_tick_fcr0 = TMS570_RTI.RTICOMP0 - TMS570_RTI.RTIUDCP0;
    83   /* TMS570_RTI.RTICOMP0 += 1000; */
    8486}
    8587
Note: See TracChangeset for help on using the changeset viewer.