stepmotor: changed name from step_motor to stepmotor

Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com>
This commit is contained in:
Kiveisha Yevgeniy 2014-06-18 08:51:31 +00:00
parent b03cbf4f36
commit 2c0e83e406
9 changed files with 26 additions and 26 deletions

@ -17,7 +17,7 @@ add_executable (accelerometer mma7455.cxx)
add_executable (lcd st7735.cxx)
add_executable (max31855-example max31855.cxx)
add_executable (gy65-example gy65.cxx)
add_executable (stepmotor-example step_motor_example.cxx)
add_executable (stepmotor-example stepmotor.cxx)
include_directories (${PROJECT_SOURCE_DIR}/src/hmc5883l)
include_directories (${PROJECT_SOURCE_DIR}/src/grove)
@ -33,7 +33,7 @@ include_directories (${PROJECT_SOURCE_DIR}/src/mma7455)
include_directories (${PROJECT_SOURCE_DIR}/src/st7735)
include_directories (${PROJECT_SOURCE_DIR}/src/max31855)
include_directories (${PROJECT_SOURCE_DIR}/src/gy65)
include_directories (${PROJECT_SOURCE_DIR}/src/step_motor)
include_directories (${PROJECT_SOURCE_DIR}/src/stepmotor)
target_link_libraries (compass hmc5883l ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (groveled grove ${CMAKE_THREAD_LIBS_INIT})
@ -54,4 +54,4 @@ target_link_libraries (accelerometer mma7455 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (lcd st7735 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (max31855-example max31855 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (gy65-example gy65 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (stepmotor-example step_motor ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (stepmotor-example stepmotor ${CMAKE_THREAD_LIBS_INIT})

@ -25,7 +25,7 @@
#include <string.h>
#include <unistd.h>
#include <iostream>
#include "step_motor.h"
#include "stepmotor.h"
#include <signal.h>
int doWork = 0;

@ -1,7 +0,0 @@
%module jsupm_step_motor
%{
#include "step_motor.h"
%}
%include "step_motor.h"

@ -1,10 +0,0 @@
%module pyupm_step_motor
%include "stdint.i"
%feature("autodoc", "3");
%include "step_motor.h"
%{
#include "step_motor.h"
%}

@ -1,5 +1,5 @@
set (libname "step_motor")
set (libdescription "upm STEP_MOTOR")
set (libname "stepmotor")
set (libdescription "upm STEPMOTOR")
set (module_src ${libname}.cxx)
set (module_h ${libname}.h)
upm_module_init()

@ -0,0 +1,7 @@
%module jsupm_stepmotor
%{
#include "stepmotor.h"
%}
%include "stepmotor.h"

@ -0,0 +1,10 @@
%module pyupm_stepmotor
%include "stdint.i"
%feature("autodoc", "3");
%include "stepmotor.h"
%{
#include "stepmotor.h"
%}

@ -26,7 +26,7 @@
#include <unistd.h>
#include <stdlib.h>
#include "step_motor.h"
#include "stepmotor.h"
using namespace upm;

@ -44,9 +44,9 @@ namespace upm {
/**
* @brief C++ API for StepMotor Drivers
*
* This file defines the step_motor C++ interface for libstep_motor
* This file defines the stepmotor C++ interface for libstepmotor
*
* @snippet step_motor_example.cxx Interesting
* @snippet stepmotor.cxx Interesting
*/
class StepMotor {
public: