/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / problems to customize OS4.1

Username:     
Password:     
             

Forum

# 1   2010-10-22 14:31:21 problems to customize OS4.1

xuwa0800
Member
From: Sweden
Registered: 2010-05-20
Posts: 27

problems to customize OS4.1

i have some problems in customizing OS 4.1

1. changing logo
in OS 3.7, i managed to change the background pic to another pic by

const u16 primer2pic[] = {
#   include "bmp\\Miun_logo.h"
};

and i do the same thing in OS 4.1, but failed, telling that  'region FLASHDATA overflowed by 30641 bytes '

so probably it is because of the converted head file's size is too large. i checked, the size of 'primer2pic_RLE256.h' offered is 52kb, but when i convert using 'image2primer', the size becomes 132KB.  if this is the problem, how should i solve it?

2. debug mode
in OS 3.7, at least i can set some stop point in the main.c, but in os4.1, it is not possible at all. and the function of 'Go To Definition' seems not working either.

why? are there some new restriction on OS 4.1?


/Wang

Offline

 

# 2   2010-10-26 06:35:43 problems to customize OS4.1

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: problems to customize OS4.1

Hi,

First, concerning images, now, the logo provided is standard bmp file with RLE compression. Image2Primer was using the old Primer format, that used only non compressed bmp images. Now, you can create your images in 256 colours RLE bmp format, then convert it to header file with the BMPConverter tool provided with CircleOS sources.
If necessary, if your images are too big, you can modify the linker script ("Primer2_Circle.ld") in order to increase the FLASHDATA area, but it will reduce the area for applications.

Secondly, the CircleOS project is provided by default in "non debug" mode. To debug it, change the Ride7 project, parameter "GCC Compiler/Compiler Output/Debugging information" to "Debug".

Yves

Offline

 

# 3   2010-10-27 15:01:58 problems to customize OS4.1

xuwa0800
Member
From: Sweden
Registered: 2010-05-20
Posts: 27

Re: problems to customize OS4.1

Working now!
Problem was that i forgot to convert pic to RLE bmp format.

Tack såmyket!


/Wang

Offline

 

Board footer