/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Circle Os organization

Username:     
Password:     
             

Forum

# 1   2009-06-18 23:09:15 Circle Os organization

micronpn
Member
From: Italy
Registered: 2007-11-20
Posts: 13
Website

Circle Os organization

I am starting to experiment with STM32Fxxx and so with Primer2. I don't understand why linker don't resolves some variable i.e. CurrentRotateScreen also if I declare them extern because they are in Primer2_Circle.elf. What I miss?

Offline

 

# 2   2009-06-19 10:16:04 Circle Os organization

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

Re: Circle Os organization

Primer2_Circle.elf is NOT linked with your application. The only interface is an API that provides a table of pointers to some functions.
The ELF file appears in the project only because it will be loaded when debugging.

Offline

 

# 3   2009-06-19 12:04:13 Circle Os organization

micronpn
Member
From: Italy
Registered: 2007-11-20
Posts: 13
Website

Re: Circle Os organization

Means this that to use some SDCard USB related functions have we to use some other .h files or that it is impossible actually? Of course I would prefer to don't waste flash memory if what I need is already present on CircleOS.

Offline

 

# 4   2009-06-19 13:19:37 Circle Os organization

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

Re: Circle Os organization

If you want to allow the 'USB-Mass storage' access while running your application, you could probably reproduce only the source code of the main menu that enables the USB mass-storage access. The irq should not be redirected (the interrupt services that are already in CricleOS should be sufficent).

Offline

 

Board footer