/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Application without the menu

Username:     
Password:     
             

Forum

# 1   2008-02-23 10:18:15 Application without the menu

guruguru
New member
Registered: 2008-02-02
Posts: 2

Application without the menu

Hi together

I am doing my first steps with the primer. The routines from Circle OS are quite useful.
- How can I force the OS to start immaterially with my application on a power up. I dislike the detour with the menus.
- How can I force the OS to call my application every certain ms.
Every hint is appreciated.

Guruguru

Offline

 

# 2   2008-02-23 10:49:14 Application without the menu

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Application without the menu

The circleOS is "multi-application", but if you wish to launch exclusively yours, you have to modify (slightly) the OS, and to recompile it. See in menu.c how an application is laiunched, and do the same after the initialization part.

For the second question, the best is again to analyze the source files of the CircleOS. The main problem would be that the systick frequency depends on the CPU frequency, But if you decide to modify the OS, you can fix the CPU frequency (you will have to choose between consumption and performance). I believe that for the medium value (default) of the CPU frequency, the Systick is called once per second. If you add a simple divisor in your application, you could easily find a multiple of the ms.

Offline

 

Board footer