cancel
Showing results for 
Search instead for 
Did you mean: 

register definitions file (like stm32l053xx.h) includeable in assembly?

botm
Associate

Hello,

I hopefully selected proper category, forgive me if not.

I have the following question.

There are files like for example /CMSIS/device/stm32l053xx.h

(or similar files for other devices)

which include useful definitions of addresses of all the peripheral registers, bits, etc.

However these files can only be included in C, and not in assembly,

(because they contain things not supported by assembly like typedefs, structs, etc.)

My question now is:

Are there provided similar files but usable in assembly? (where can I find?)

Or am I forced to prepare my own file and write all the needed definitions by myself?

Thank You in advance,

B

1 REPLY 1
Peter BENSCH
ST Employee

STM32L053 is no MPU, thread therefore moved to STM32 MCUs.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.