Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » eclipse code style on comments
eclipse code style on comments [message #896878] Fri, 20 July 2012 09:09
doc Missing name is currently offline doc Missing nameFriend
Messages: 11
Registered: August 2010
Junior Member
Hi,
I have some problems on eclipse code style.
In my fucntion I did

U32 main( VOID )
{
/* set vector table base address */
SCB->VTOR = (unsigned int)__segment_begin( ".intvec" );

/* Set wait states for read access of flash memory */
FLASH0->FCON = (unsigned int)6 | ( FLASH0->FCON & ~FLASH_FCON_WSPFLASH_Msk );

..

when the I apply the style I get

U32 main( VOID )
{
/* set vector table base address */SCB->VTOR = (unsigned int)__segment_begin( ".intvec" );

/* Set wait states for read access of flash memory */FLASH0->FCON = (unsigned int)6 | ( FLASH0->FCON & ~FLASH_FCON_WSPFLASH_Msk ); /* 7 clk */

where my code is moved just after the comments.
I played around with the style preferences but I was not able to fix it.
Can anyone help me?
Thank you very much
michele
Previous Topic:Juno CDT discovery not working
Next Topic:Could not open the editor: No editor descriptor for id org.eclipse.cdt.ui.editor.CEditor
Goto Forum:
  


Current Time: Mon Sep 25 06:16:35 GMT 2017

Powered by FUDForum. Page generated in 0.02569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software