Sunday, February 18th 2018, 8:59pm UTC+1

You are not logged in.

  • Login
  • Register

Reply

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Message information
Message
Settings
Automatically converts internet addresses into links by adding [url] and [/url] around them.
Smiley code in your message such as :) is automatically displayed as image.
You can use BBCode to format your message, if this option is enabled.
Security measure

Please enter the letters that are shown in the picture below (without spaces, and upper or lower case can be used).

The last 2 posts

Thursday, February 15th 2018, 9:13am

by SEGGER - Nino

Hello,

Generally Embedded Studio offers the user to use any standard library they want.
First disable the use of Embedded Studio standard libraries in project options under Library->Include Standard Libraries->No
To add your library go to project options Linker->Additional Input Files and add your newlib directory there.
Now try to rebuild your project and you should be good to go.

Best regards,
Nino

Tuesday, February 13th 2018, 4:30pm

by Matt_C

C++, newlib-nano STL, and nRF52

I am attempting to refactor an existing C++ project into Segger Embedded Studio, but STLport does not have all the STL components that I need, so I am trying to get a Segger Embedded Studio project to work with newlib-nano.

I created a blank project using the nRF C/C++ template and an empty cpp file. When I add “include <vectors>” it will fail since these are not included in STLport. All I should need to do is use the newlib-nano from external ARM GCC libraries. However, so far I have been unsuccessful in using the external STL libraries.

I am trying to use gcc-arm-none-eabi-7-2017-q4-major and an nRF52832_xxAA processor.

I have tried changing the standard libraries path, using the external build commands, among other things.

Does anyone have a walkthrough for adding newlib-nano to a Segger Embedded Studio project or know what settings I may be missing to get the newlib-nano to work with my project?