
شما میتوانید از این تگهای html استفاده کنید: <b> یا <strong>، <em> یا <i>، <u>، <strike> یا <s>، <sup>، <sub>، <blockquote>، <code>، <pre>، <hr>، <br>، <p>، <a href="" title="">، <span style="">، <div align=""> بخوانید...
ادامه مطلب
All global variable are stored in HEAP memory space. اندازه آرایه های گلوبال را کاهش بده! ...
ادامه مطلب
404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. web.config – the settings and configuration file fo...
ادامه مطلب
The TPS74401family of LDOs is ideal for FPGAs, DSPs, and any other device that requires linear supply and sequencing....
ادامه مطلب
p7zip is a port of 7za.exe for POSIX systems like Unix... 7za.exe is the command line version of 7-zip... $ sudo apt-get install p7zip-full $ 7za x linux.zip ...
ادامه مطلب
For the SRCREV value you must to use "${AUTOREV}" during development to get the latest commit of the branch ERROR: ... do_fetch: Fetcher failure: Unable to find revision ... in branch ... even from upstream ERROR: ... do_fetch: Function failed: Fetcher failure for URL: 'git://...'. Unable to fetch URL from any source ERROR: Logfile of failure store...
ادامه مطلب
https://osdn.net/projects/ttssh2/releases/ سفارشی سازی ...!!! teraterm-4.xxTERATERM.INI ; Font VTFont=Terminal,0,-16,0 ... ; Baud rate BaudRate=115200 ...
ادامه مطلب
#include "cmsis_os2.h" // CMSIS RTOS header file /*---------------------------------------------------------------------------- * Message Queue creation & usage *---------------------------------------------------------------------------*/ void Thread_MsgQueue1 (void *argument); // thread functi...
ادامه مطلب
CMSIS-RTOS (CMSIS-RTOS RTX) Example Program #include "cmsis_os.h" /* Renamed main() function */ void app_main (void const *argument) { // contents of old "main" } osThreadDef(app_main, osPriorityNormal, 1, 0); int main (void) { // System Initialization SystemCoreClockUpdate(); // ... osK...
ادامه مطلب
arm-926ejs-linux-gnueabi-gcc -Wall -O3 -c -o xxx.oxxx.c In file included fromxxx.c:1:0: xxx.h:63:18: fatal error: zlib.h: No such file or directory #include <zlib.h> ^ compilation terminated. make: *** [xxx.o] Error 1 :)-Izlib-1.1.3 :) ...
ادامه مطلب
با فراخوانی تابع vTaskStartScheduler()در تابع main کنترل روند اجرای برنامه را به FreeRTOS می سپاریم.. خب! برنامه باید در حالت non-RTOS نیز عملکرد صحیحی داشته باشد... از این امر باید مطمئن شوید... سیستم عامل ↔ زمانبندی خب! برای زمانبدی به یک تایمر احتیاج داریم... EVERY RTOS PORT USES A TIMER TO GENERATE A PERIODIC TICK INTERRUPT. MANY PORTS USE ADDITIONAL INTERRUPTS TO MANAGE CONTEXT SWITCHING... FreeRTOS - Basic directory structure The core RTOS code is contained in three files, which are called tasks.c, queue.c and list.c. These three files are in the FreeRTOS/Source directory. The same directory contains two optional files called timers.c and croutine.c which implement softwar...
ادامه مطلب
int main(void) { // add a long delay wait for the system to start up! unsigned int i,j; for(i=0;i<50;i++) { for(j=0;j < 65500;j++); } /* Initialize others */ /* Infinite loop */ while (1) { } } مدت زمان مورد نیاز برای بالا آمدن و شروع به کار قطعات ممکن است با یکدیگر متفاوت باشند... از جمله: PHYها... سوئیچ ها... و هر چیز مربوط به Etheet... ...
ادامه مطلب
$ grep --include=*.c -w '/path/to/somewhere/' -e "patte" $ grep --include=*.{c,h} -w '/path/to/somewhere/' -e "patte" ...
ادامه مطلب
اِشکال CMake این است که باید روی سیستم هدف نیز نصب شود!!!... خب! نصبش کن! Make sure the following tools are available on the system... tar make aclocal autoconf automake // configure.ac AC_INIT([helloworld], [0.1], [[email protected]]) AM_INIT_AUTOMAKE AC_PROG_CC AC_CONFIG_FILES([Makefile]) AC_OUTPUT // Makefile.am AUTOMAKE_OPTIONS = foreign bin_PROGRAMS = helloworld helloworld_SOURCES = helloworld.c ادامه مطلب...
ادامه مطلب
$ gcc -Wall calc.c /usr/lib/libm.a -o calc Correct Order $ gcc -Wall calc.c -lm -o calc Error! Incorrect Order $ gcc -Wall -lm calc.c -o calc In general, the compiler option ‘-lNAME’ will attempt to link object files with a library file ‘libNAME.a’ in the standard library directories. On systems supporting both 64 and 32-bit executables, the 64-bit versions of the libraries will often be stored in ‘/usr/lib64’ and ‘/lib64’, with the 32-bit versions in ‘/usr/lib’ and ‘/lib’....
ادامه مطلب
error, undefined reference due to - missing library . . . - order of object files . . . - library link order . . . - linking with gcc . . . یا ترتیب Object فایل ها نادرست هست یا این که کتابخانه مربوطه را اضافه نکرده ای... چه غلطا... ...
ادامه مطلب
Etheet on TRITON-TX28: - 2x MACs on micro - 1x PHY on module - IEEE1588 compliant (پروتکل زمان دقیق - همزمانی بین گره های (تجهیزات) یک شبکه ذاخلی) ...
ادامه مطلب
پروژه Yocto : مجموعه ابزارهای منبع آزاد برای ساختن سیستمهای سفارشی توکار YOCTO is just another way to build uBoot, Linux Keel & Filesystem. Difference from the standard direct compilation is, that Freescale now officially adds all their support through YOCTO. The Yocto project provides a reference build system for embedded Linux, called Poky, which has the BitBake and OpenEmbedded-Core (OE-Core) projects at its base. The purpose of Poky is to build the components needed for an embedded Linux product, namely: - A bootloader image - A Linux keel image - A root filesystem image - Toolchains and software development kits (SDKs) for application development ادامه مطلب...
ادامه مطلب
$ sudo apt-get install g++ build-essential $ g++ –version // hello.c #include <stdio.h> int main (void) { printf ("Hello, world!n"); retu 0; } $ gcc -Wall hello.c -o hello $ ./hello Hello, world! // hello.cc #include <iostream> int main() { std::cout << "Hello World!" << std::endl; retu 0; } $ g++ -Wall hello.cc -o hello $ ./hello Hello, world! ...
ادامه مطلب