Hello Harold,
- I reply to your second question at first, add the lib path at here:

- It is not easy for porting a PE project to No-PE project , maybe for the same register, they use different name.
So you need porting it step by step carefully.
What about your no-PE project , it is a bareboard or with other LIB ?
There is a tutorial about " Removal of Processor Expert for a Project ", maybe it can help you .
Removal of Processor Expert for a Project | MCU on Eclipse
Hope it helps
Have a great day,
Alice Yang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------