Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: NetX BSD does not compile in SSP 1.1

$
0
0
To get nx_bsd_src to compile in a Synergy project, using e2studio 5.0.0.43, GCC compiler 4.9, and SSP 1.1.0, I had to :- 1) Add NetX source to the project in the thread tab of the configurator, to a thread (this will add Netx, ThreadX Source, and the NetX PORT   ETHER on sf_el_nx below it. NetX PORT ETHER on sf_el_nx will need to be configured (interrupts and channel, and maybe Phy reset pin). In the properties for the NetX source, Enable "Extended Notify Support" (as per the nx_bsd documentation). 2) In the properties for ThreadX source, set TX_THREAD_USER_EXTENSION to "int bsd_errno;" (as per the nx_bsd documentation). 4) Add "nx_bsd_src" in the components tab 5) In the properties for the project, in settings for the compiler:- Cross ARM GNU C Compiler- Preprocessor, to Defined symbols (-D) add "_POSIX_SOURCE" this stops an error due to conflict of definitions of types in C:\Program Files\GNU Tools ARM Embedded\4.9 2015q3\arm-none-eabi\include\sys\types.h and synergy/ssp/inc/frameworks/el/nx/nx_bsd.h build the project. I have not actually tried to run any code using the project, but it does build, without having to edit any source files.

Viewing all articles
Browse latest Browse all 59170

Trending Articles