Quantcast
Channel: Renesas Synergy Platform
Browsing all 23645 articles
Browse latest View live
↧

Forum Post: Coding style question

This is not a technical question, just a curiosity that hits me every time I read some sample code. When we talk we say "Is this car longer than three meters?", and never "Are three meters shorter than...

View Article


Forum Post: RE: Coding style question

Germans or PERL programmers? Certainly not native C coders. Drives me nuts trying to read code with such a strong foreign accent. But that's me. An Olde Farte.

View Article


Forum Post: RE: Coding style question

Hello Laboratori, The way equality comparisons are performed is there exactly for the reason you mentioned. For other logical comparisons, it's to maintain consistency with "==" (i.e. constant on the...

View Article

Forum Post: RE: gx_widget_attach/detach - No source available for "_Vectors()...

Hello isaenz, Seems like your application is performing a jump to 0x0 which is usually a result of using uninitialized pointer. What does the call stack (Debug tab) look like once you hit this...

View Article

Forum Post: LCD

Trying to configure a 480x272 TFT screen on a custom board running R7FS7G27H3A01CFB. i've calculated that i need 130560 as JPEG work buffer on sf_el_gx. This gives me an overload when using bss. Do i...

View Article


Forum Post: RE: LCD

Hello Leccy, At 16-bit colour, you will need at least 255K of RAM per single frame buffer (and by default we use two). This puts your RAM usage at 510K without JPEG. Once you add 127.5K for JPEG, you...

View Article

Forum Post: RE: LCD

Thanks Karol We need to set Rotation Angle to 270, which requires GUIX canvas Buffer. Is this possible without sdram?

View Article

Forum Post: RE: Coding style question

I hate to note this as a compiler construct to you, but... compilers are set up Lvalue . Even the bit slice engines in microcode. And I've used a lot of them over the last 40 years. I *have* seen some...

View Article


Forum Post: RE: LCD

Hello leccy, If you're using 16-bit color, then there's only really enough space for 2 buffers altogether. The only way this will work without SDRAM is when you change number of buffers for layer 1 to...

View Article


Forum Post: RE: LCD

looks like the easiest thing is to fit sdram...

View Article

Forum Post: RE: Coding style question

Hello The point regarding equality comparison was to eliminate problems that arise from mistakes in syntax and hasn't got much to do with compiler design. Assignments to constants are illegal hence...

View Article

Forum Post: RE: Coding style question

GCC at least flags things like while(a=b) as suspicious. Most of the time what you mean is while(a==b) so in this particular compiler this coding construct of (expression opr Lvalue) is of less utility...

View Article

Forum Post: Error Log

I'm looking for a way to output internal errors on the console framework or UART. I found the settings in the configuration under BSP: "Assert Failures" and "Error Log" and a to be defined function...

View Article


Forum Post: RE: Coding style question

Thank you Karol, I was asking because it is very confusing to me especially when is a size comparison. For example, we are increasing a variable while it is lower than a limit but the sign that I read...

View Article

Forum Post: RE: Error Log

Hello Josh, Once you enable error logging using "ssp_error_log", this function will be invoked for most errors inside the SSP code. The prototype is void ssp_error_log(ssp_err_t err, const char *...

View Article


Forum Post: RE: LCD

can i ask when 'g_display0_fb_background' is loaded? It seems to be when the LCD is enabled (looking at a project on S7G2-SDK).

View Article

Forum Post: RE: LCD

Hello, Frame buffer arrays are included in the project once specific layer is enabled. Buffer size is calculated automatically, based on the horizontal stride, vertical size and color depth, as well as...

View Article


Forum Post: RE: LCD

looking at the buffer on debug, it is not loaded with meaningful data until the LCD enabled (after the GUIX API calls) i was wondering how the system knows the LCD is enabled?

View Article

Forum Post: RE: Coding style question

Yes Rjl, When I read something like for (outer_loop_counter=0; LIMIT_OUTER > outer_loop_counter; outer_loop_counter++) { for (inner_loop_counter=0; LIMIT_INNER > inner_loop_counter;...

View Article

Forum Post: RE: LCD

If buffer is placed in bss then it will be zero'ed out during the start-up procedure. GUIX performs rendering through GUIX Adaptation Framework (sf_el_gx) which knows the addresses of the frame buffers...

View Article
Browsing all 23645 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>