It is currently 25 Feb 2018 07:05

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 08 Feb 2018 13:11 
Offline

Joined: 29 Mar 2012 10:21
Posts: 78
Hi there !

I was working with STM32L031K6 (nucleo-32) when I realized that there is no GPIO Library definition file such as, for example, __Lib_GPIO_32L03x_Kx_Defs.emcl (in /uses/ST M0/ folder).
For instance one can use:

// Initialize hardware UART2 module on PORTA at 115200 bps, 8 data, no parity and 1 stop bit :
UART2_Init_Advanced(115200, _UART_8_BIT_DATA, _UART_NOPARITY, _UART_ONE_STOPBIT, &_GPIO_MODULE_USART2_PA9_10);

which compiles OK but there seems to be no definition for _GPIO_MODULE_USART2_PA9_10 (Ctrl-D from the context menu does not work).

Is this correct? Am I overlooking something here?

Regards,
RaduG

PS There should be some __Lib_GPIO_...Defs.c file associated with the *.emcl file for the editor to be able to jump to the definition (Find declaration / Ctrl-D).


Top
 Profile  
 
PostPosted: 13 Feb 2018 15:32 
Offline
mikroElektronika team
User avatar

Joined: 25 Jan 2008 09:56
Posts: 9559
Hi,

Please find the __Lib_GPIO_32L03x_Defs.c file in the attachment, it was omitted from the compiler installation by a mistake.

I apologize for the inconvenience.

Regards,
Filip.


Attachments:
__Lib_GPIO_32L03x_Defs.rar [1.78 KiB]
Downloaded 6 times
Top
 Profile  
 
PostPosted: 16 Feb 2018 09:31 
Offline

Joined: 29 Mar 2012 10:21
Posts: 78
Thank you, Filip!
Regards,
Radu G.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: