[PATCH rtems v3 3/7] cpu/armv7m: Add table based init for ARMV7M_MPU

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 20 06:57:10 UTC 2020


On 19/11/2020 23:19, Gedare Bloom wrote:

>> But there is for example
>>
>> _ARMV7M_NVIC_Is_enabled
>> _ARMV7M_NVIC_Set_enable
>> _ARMV7M_DWT_Enable_CYCCNT
>> ARMV7M_MPU_Access_permissions
>>
>> and some others in the same file. So I would lean towards what Sebastian
>> suggested. Otherwise the new functions wouldn't fit the scheme of the
>> existing ones.
>>
> OK, I don't think those are proper, but consistency is good. You can
> proceed with the MPU_Xxx

The idea was to have support for several hardware modules in this file. 
So, from the naming convention point of view _ARMV7M_NVIC and 
_ARMV7M_DWT are the modules and not simply _ARMV7M.

-- 
embedded brains GmbH
Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
Phone: +49-89-18 94 741 - 16
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

embedded brains GmbH
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/



More information about the devel mailing list