Ignore:
Timestamp:
Oct 23, 2016, 8:29:46 PM (8 years ago)
Author:
ertl-honda
Message:

マクロ名を更新.
実行モデルを変更.

Location:
rtos_arduino/trunk/examples/NCESCan
Files:
1 edited
6 moved

Legend:

Unmodified
Added
Removed
  • rtos_arduino/trunk/examples/NCESCan/Makefile

    r137 r260  
    77#  アプリケーションファイル
    88#
    9 APPL_CXXOBJS += rca_app.o
     9APPL_CXXOBJS += r2ca_app.o
    1010APPL_COBJS   +=
    11 APPL_CFG      = rca_app.cfg
     11APPL_CFG      = r2ca_app.cfg
    1212
    1313#
     
    3838
    3939#
    40 #  RCAのディレクトリの定義
     40#  R2CAのディレクトリの定義
    4141#
    42 RCA_DIR = ../..
     42R2CA_DIR = ../..
    4343
    4444#
     
    5454APPL_DIR =
    5555
    56 include $(RCA_DIR)/lib/Makefile.rca
     56include $(R2CA_DIR)/lib/Makefile.r2ca
  • rtos_arduino/trunk/examples/NCESCan/r2ca.atsln

    r255 r260  
    44VisualStudioVersion = 14.0.23107.0
    55MinimumVisualStudioVersion = 10.0.40219.1
    6 Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "rca", "rca.cproj", "{DCE6C7E3-EE26-4D79-826B-08594B9AD897}"
     6Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "r2ca", "r2ca.cproj", "{DCE6C7E3-EE26-4D79-826B-08594B9AD897}"
    77EndProject
    88Global
  • rtos_arduino/trunk/examples/NCESCan/r2ca.cproj

    r255 r260  
    1313    <OutputFileExtension>.elf</OutputFileExtension>
    1414    <OutputDirectory>$(MSBuildProjectDirectory)\$(Configuration)</OutputDirectory>
    15     <AssemblyName>rca</AssemblyName>
    16     <Name>rca</Name>
    17     <RootNamespace>rca</RootNamespace>
     15    <AssemblyName>r2ca</AssemblyName>
     16    <Name>r2ca</Name>
     17    <RootNamespace>r2ca</RootNamespace>
    1818    <ToolchainFlavour>Native</ToolchainFlavour>
    1919    <KeepTimersRunning>true</KeepTimersRunning>
     
    153153  </PropertyGroup>
    154154  <ItemGroup>
    155     <None Include="rca_app.cfg">
     155    <None Include="r2ca_app.cfg">
    156156      <SubType>compile</SubType>
    157157    </None>
    158     <None Include="rca_app.cpp">
     158    <None Include="r2ca_app.cpp">
    159159      <SubType>compile</SubType>
    160160    </None>
    161161  </ItemGroup>
    162162  <ItemGroup>
    163     <Compile Include="rca_app.h">
     163    <Compile Include="r2ca_app.h">
    164164      <SubType>compile</SubType>
    165165    </Compile>
  • rtos_arduino/trunk/examples/NCESCan/r2ca_app.cfg

    r255 r260  
    66 *  サンプルプログラム(1)のシステムコンフィギュレーションファイル
    77 */
    8 INCLUDE("rca_lib.cfg");
     8INCLUDE("r2ca_lib.cfg");
  • rtos_arduino/trunk/examples/NCESCan/r2ca_app.cpp

    r255 r260  
    1 #include "rca.h"
     1#include "r2ca.h"
    22
    33// demo: CAN-BUS Shield, receive data
     
    2525 *    MCP_RX1IF
    2626 */
    27 bool can_init_done = false;
    2827
    2928void setup()
     
    7372    CAN.attachInterrupt(CAN_INT_PIN, MCP2515_ISR);
    7473
    75     can_init_done = true;
    7674}
    7775
     
    114112}
    115113
    116 void task1_setup()
    117 {
    118     while(can_init_done == false){delay(10);}
    119 }
    120 
    121114unsigned char stmp[8][8] = {
    122115    {1, 2, 3, 4, 5, 6, 7, 8},
     
    132125unsigned char stmp1[8] =     {0, 1, 2, 3, 4, 5, 6, 7};
    133126   
    134 void task1_loop()
     127void loop1()
    135128{
    136129    int i, e;
  • rtos_arduino/trunk/examples/NCESCan/r2ca_app.h

    r255 r260  
    1 #ifndef _RCA_APP_H_
    2 #define _RCA_APP_H_
     1#ifndef _R2CA_APP_H_
     2#define _R2CA_APP_H_
    33
    4 #define RCA_NUM_TASK 1
     4#define R2CA_NUM_TASK 1
    55
    6 #endif /* _RCA_APP_H_ */
     6#endif /* _R2CA_APP_H_ */
Note: See TracChangeset for help on using the changeset viewer.