STM32L0 is cortex-m0plus
Opened this issue · 2 comments
daguro commented
In CubeMX2Makefile.py, flags for STM32L0 should be
-mcpu=cortex-m0plus -mthumb -mfloat-abi=soft -specs=nosys.specs -specs=nano.specs
kaofishy commented
Correct me if I'm mistaken but I thought Cortex-M0 and Cortex-M0+ share the same basic instruction set and timing so code that runs on one should run on another. Only difference wrt code execution is Cortex-M0+ has a two-stage pipeline opposed to the three-stage of Cortex-M0.
daguro commented
Even if there is no difference between the code generated for CM0 and CM0+
(and I don't know if there is), why not change the string generated to
match the processor type?
…On Sat, May 6, 2017 at 12:28 PM, kaofishy ***@***.***> wrote:
Correct me if I'm mistaken but I thought Cortex-M0 and Cortex-M0+ share
the same basic instruction set and timing so code that runs on one should
run on another. Only difference wrt code execution is Cortex-M0+ has a
two-stage pipeline opposed to the three-stage of Cortex-M0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADokh_BChSxVBmBVwoC66WVjsIpGmSPJks5r3MnlgaJpZM4NK5K2>
.
--
-----------------------
daniel g. robinson
www.bornlivelovedie.com
bornlivelovedie.tumblr.com
Gvoice 425.686.9738
@daguro