Giter Site home page Giter Site logo

rtos's Introduction

Real Time OS Documents

rtos's People

Watchers

Khang Nguyen avatar  avatar

rtos's Issues

Debug from VS and link to CS+

  1. Setup environment:(3 projects)
    • Update debug tool: point to CS+ .exe
      image
    • Update build events: point to plugin of CS+(example: d:\RVC\trunk\IDE\RTOS\CS+E6.00.00B\CS+E6.00.00B\CS+\CC\Plugins)
      image
  2. Delete licences.licx(3 files)
  3. Press Build solution
    image

==> Successful

Add new property to setting

Result:

image

Step 1: Add to AutosarTraceAnalyzerProperty.cs

private string functionName1 = "testpoint1()";

    [Category("Function_1")]
    [CategoryOrder(2)]
    [PropertyOrder(2)]
    [DefaultValue("testpoint1()")]
    [InvisibleProperty(false)]
    public string FunctionName1
    {
        get
        {
            return functionName1;
        }
        set
        {
            functionName1 = value;
        }
    }


    private string startAddress1 = "0";
    [Category("Function_1")]
    [CategoryOrder(2)]
    [PropertyOrder(3)]
    [DefaultValue("0")]
    [InvisibleProperty(false)]
    [Editor(typeof(HexadecimalEditor), typeof(UITypeEditor))]
    public string StartAddress1
    {
        get
        {
            return startAddress1;
        }
        set
        {
            if (IsHexString(value) && IsValidAddress(value, EndAddress1))
            {
                startAddress1 = value;
            }
            else
            {
                startAddress1 = "0";
                throw new SoftwareException(
                    MessageFormatter.CreateExceptionMessage(
                    Resources.ErrorResource.InvalidAddress,
                    Resources.ErrorResource.InvalidAddressMessage,
                    null));
            }
           
        }
    }

    private string endAddress1 = "0";
    [Category("Function_1")]
    [CategoryOrder(2)]
    [PropertyOrder(5)]
    [DefaultValue("0")]
    [InvisibleProperty(false)]
    [Editor(typeof(HexadecimalEditor), typeof(UITypeEditor))]
    public string EndAddress1
    {
        get
        {
            return endAddress1;
        }
        set
        {
            if (IsHexString(value) && IsValidAddress(StartAddress1, value))
            {
                endAddress1 = value;
            }
            else
            {
                endAddress1 = "0";
                throw new SoftwareException(
                    MessageFormatter.CreateExceptionMessage(
                    Resources.ErrorResource.InvalidAddress,
                    Resources.ErrorResource.InvalidAddressMessage,
                    null));
            }
        }
    }

Step 2: Add to AutosarTraceAnalyzerProperty.resx

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.