diff options
Diffstat (limited to 'peripheral/libupm/docs/porting.md')
-rw-r--r-- | peripheral/libupm/docs/porting.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/peripheral/libupm/docs/porting.md b/peripheral/libupm/docs/porting.md index a75041a..e7ecd16 100644 --- a/peripheral/libupm/docs/porting.md +++ b/peripheral/libupm/docs/porting.md @@ -14,16 +14,16 @@ example is explained in detail on @ref max31855 ### CmakeLists.txt -By default you need a header called modulename.h and a C++ file called +By default you need a header called modulename.hpp and a C++ file called modulename.cxx. You can have multiple headers and source files. Only public -headers need to be added to module_h and all source files need to be in +headers need to be added to module_hpp and all source files need to be in module_src. ~~~~~~~~~~~ set (libname "modulename") set (libdescription "Module Description") set (module_src ${libname}.cxx) -set (module_h ${libname}.h) +set (module_hpp ${libname}.hpp) upm_module_init() ~~~~~~~~~~~ |