# embedme **Repository Path**: itthinker/embedme ## Basic Information - **Project Name**: embedme - **Description**: embedme是一个基于linux的嵌入式应用类库,包括线程,定时器,事件,消息队列,socket,文件,串口,日志等开发中常用的模块。Embedme的目标是帮助您快速的构建嵌入式应用程序。 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2015-04-30 - **Last Updated**: 2024-06-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README /****************************************************************************** * This file is part of libemb. * * libemb is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * libemb is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with libemb. If not, see . * * Project: Embedme * Author : FergusZeng * Email : cblock@126.com * git : http://git.oschina.net/cblock/embedme * Copyright 2014 @ ShenZhen ,China *******************************************************************************/ ------------------------------------------------------------- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ------------------------------------------------------------- 注意事项: 本软件遵循LGPL协议,请自觉遵守该协议,否则将追究您的法律责任! 如果您使用此源码,请务必保留README在您的工程代码目录下!!!!!!! ------------------------------------------------------------ -------------------------------------------------------------- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -------------------------------------------------------------- 此工程文件夹意在提供一个基于libemb库的通用工程构建模板,方便用 户快速构建嵌入式应用程序。请用户不要随意更改工程目录结构树及 Makefile文件。 目录树结构: |---bin |---inc |---lib |---libemb |---objects |---src |---Makefile bin 目录用于发布可执行程序,您make后产生的可执行程序在这可以找到. inc 目录是工程头文件目录,您的所有头文件(*.h)应该放在该目录. lib 目录用于发布libemb库及添加外部库. libemb 为embedme库文件夹,如果您只是使用libemb库,请不要删除或修改 该文件夹内的任何文件. objects 目录为构建目录,用于存储编译过程中间文件. src 目录为工程源代码目录,您的所有源代码(*.c/*.cpp)应该放在该目录. --------------------------------------------------------------------- 使用说明: 1.先编译libemb库 # make libemb [CROSS_COMPILE=xxxxxxx] 2.编译工程目录 # make [CROSS_COMPILE=xxxxxxx] 3,如果您修改了libemb目录下的代码,请务必重新编译libemb库: # make libemb [CROSS_COMPILE=xxxxxxx] # make clean # make [CROSS_COMPILE=xxxxxxx] 您可以在inc或src目录中任意创建子目录以方便管理源代码,增加子目录 和源代码后,您需要将子目录及文件添加到Makefile的INCLUDE_DIR变量和 PROJECT_SRC变量中,这样您才能正确编译. ---------------------------------------------------------------------