FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    About Freertos Configuration Item Interpretation

     

    Freeertos is highly configurable. All configurable items are in the freertosconfig.h file. Each DEMO program contains a configured Freertosconfig.h file, which can be modified on the basis of the Freertosconfig.h file in the DEMO program. Let's give a typical freertosconfig.h file before it will be explained item by item. #ifndef freertos_config_h #define freertos_config_h / * Here Is a Good Place to include header files That Are Required Across Your application. * / #include "something" #define configuse_preeemption 1 #define configuse_idle_hook 0 #define configuse_tic_hook 0 #define configcpu_clock_hz 58982400 #define configTick_Rate_Hz 250 #define configmax_priorities 5 #define configminimal_stack_size 128 #define configtotal_heap_size 10240 #define configmax_task_name_len 16 #define configuse_trace_facility 0 #define configuse_16_bit_ticks 0 #define configidle_should_yield 1 #define configuse_mutexes 0 #define configuse_recursive_mutexes 0 #define configuse_counting_semaphores 0 #define configuse_alternative_api 0 #define configCheck_for_stack_overflow 0 #define configQueue_registry_size 10 #define configgenerate_run_time_stats 0 #define configuse_co_routines 0 #define configmax_co_routine_priorities 1 #define configuse_timers 1 #define configtimer_task_priority 3 #define configTimer_Queue_Length 10 #define configtimer_task_stack_depth configminimal_stack_size #define configkernel_interrupt_priority [dependent of processor] #define configmax_syscall_interrupt_priority [dependent on processor and application] #define configassert ((x)) i ((x) == 0) vcallassert (__file__, __line__) #define incrude_vtaskpriorityset 1 #define include_uxtaskpriorityget 1 #define incrude_vtaskdelete 1 #define incrude_vtaskspend 1 #define include_xResumeFromisr 1 #define include_vtaskdeLayuntil 1 #define incrude_vtaskdelay 1 #define include_XtaskgetsChedulerstate 1 #define include_XtaskgetCurrentTaskHandle 1 #define include_uxtaskgetstackhonghwatermark 0 #define include_XtaskgetIdletaskHandle 0 #define include_xtimergettimerdaemontaskhandle 0 #define incdude_pctaskgettaskname 0 #ENDIF / * Freeertos_config_h * / Configurable parameters Configuse_Pree Mption Set to 1 The preemptive scheduler is set to 0, the collaborative scheduler is used. CONFIGUSE_IDLE_HOOK Set to 1 Enable iDLE Hook, set to 0, iDLE HOOK. Configuse_tick_hook Set to 1 Enable Tick Hook, set to 0 Tick Hook. CONFIGCPU_CLOCK_HZ The operating frequency of the MCU kernel is set to Hz. It is used when configuring the clock Tick of Freertos. This parameter may not be used for different graft code. If you do not need to use it in the graft code, you can comment out. ConfigTick_Rate_Hz The frequency of Freertos's clock Tick is also a frequency of time interrupts used in Freertos. The higher the frequency, the higher the accuracy of the timing, but the greater the overhead brought. The Demo program comes with the DETOS comes with 1000 Hz is only used to test the performance of the kernel. The actual application should be changed to a smaller value as needed. When multiple tasks share a priority, the kernel scheduler comes back to the rear wheel transfusion task per clock, so higher Tick Rate will result in the task time slice "Time Slice" as short. Configmax_Priorities The maximum priority can be used in the program. Freeertos will create a linked list for each priority, so there is no more priorities to increase some RAM overhead. Therefore, to set this parameter according to how many different priorities need in the program. Configminimal_stack_size The minimum size of the task stack, FreertOS to assign the stack space for the IDLE Task based on this parameter. This value will cause the program to hang if the set is small than the actual space. Therefore, it is best not to reduce the size given in the DEMO program. Configtotal_heap_size Set the size of the heap space (HEAP). It will only be used when the memory allocation algorithm is supplied in the program. Configmax_task_name_len The maximum length of the task name, this length is in bytes, and includes the last NULL end byte. Configuse_trace_facility This macro is required if you need to use the TRACE function in the program. Otherwise it is set to 0. After turning on the trace function, the RAM occupies a lot, so think twice before setting to 1. CONFIGUSE_16_BIT_TICKS Setting configuse_16_bit_ticks to 1 PostTickType will be defined as a non-symbolic 16-bit shaping type, and configUSE_16_bit_ticks is set to 0 PortTickType is defined as unsigned 32-bit integer. Configidle_Shold_yield This parameter controls the behavior of the same task as the IDLE task, and only when the kernel is configured to seize the task scheduling, there is practical role. The kernel will use the task of the same priority using a time slice rotation adjustment algorithm. When the priority of the task is higher than the IDLE task, the time slice of each task is equally sized. Technology area Mei Gao Si Mei Polarfire FPGA device won the "Today Electronics" and 21C.com "2017 Accelerate new technology and drive the future DSP experts give you a reason to choose FPGA AccelerComm and Achronix implementation 5G polarization code with SpeedCore EFPGA integration to support customers 5G 2018 Subingisi is a big attack machine learning market

     

     

     

     

    List all Question

    Nickname

    Email

    Questions

    Our other product:

    Professional FM Radio Station Equipment Package

     



     

    Hotel IPTV Solution

     


      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us