Re: Re: smp support

2018-01-10 Thread bin.w...@qkmtech.com
> another question: > > if i use the smp configuration macro define,am i still need to do the > mutiprocessor configuration macro define for confdef.h ? > With SMP you have to enable SMP when you configure/build RTEMS, and you need to provide the CPP configuration macros to set up the SMP syste

Re: Re: the difference between posix user and c user

2018-01-10 Thread bin.w...@qkmtech.com
think you very much. as you said: >POSIX and ISO-C tend to go together. >With RTEMS, you can also use ISO-C with the "Classic API", which >consists of interface functions accessible from C programs as >described in the "C User Guide". Does it mean that i can just use ISO-c? so ,i think I do n

Re: Questions about Configuration for shell prompt & file system

2018-01-10 Thread Gedare Bloom
On Thu, Dec 28, 2017 at 3:34 AM, jaeho jo wrote: > Hi, I have 2 Questions about RTEMS! > 1. What is the relationship between shell prompt and unlimited_object? > When I using RTEMS 4.11.2, I need 'CONFIGURE_UNLIMITED_OBJECTS' to use > shell prompt. > I already read 'RTEMS C User Manual - 2

Re: Re: the difference between posix user and c user

2018-01-10 Thread Gedare Bloom
On Thu, Dec 28, 2017 at 9:35 PM, bin.w...@qkmtech.com wrote: > is the posix api and the c api used together? > POSIX and ISO-C tend to go together. With RTEMS, you can also use ISO-C with the "Classic API", which consists of interface functions accessible from C programs as described in the "C Us

Re: Re: smp support

2018-01-10 Thread Gedare Bloom
On Fri, Dec 29, 2017 at 3:55 AM, bin.w...@qkmtech.com wrote: > thanks > > but i still confused about the smp configuration and the mutiprocessor > configuration . > > for example. for zynq ,they has two arm core. if i use the mutiprocessor > configuration , Is rtems use the two cores in amp mo

Re: change bsp

2018-01-10 Thread 王彬
Thanks very much yes,as you said,i init my baremetal drivers by initializing them at Init task. Now it works. Yes l use 4.11.2 now,during this time, i read the rtems source code about the interrupt and init sequence,i have known something which confused me.    What  i think is

Re: change bsp

2018-01-10 Thread Gedare Bloom
Hello, On Tue, Jan 2, 2018 at 8:35 AM, bin.w...@qkmtech.com wrote: > hi > > 1:i want to change the bsp according to the zynq zedboard。it only has > console driver and i2c driver。 so i want to add some drviers i used in > bare-metal software before (such as gpio)。i do not know how to start。 > You

Re: C99 "restrict" key word in RTEMS

2018-01-10 Thread Sebastian Huber
On 10/01/18 11:08, xuelin.t...@qkmtech.com wrote: As I know, "restrict" is a key word in C99 standard, so does rtems support this feature? This has nothing to do with RTEMS. This is a GCC question. The GCC versions used at least for RTEMS 4.11 and later support this. Depending on your compile

C99 "restrict" key word in RTEMS

2018-01-10 Thread xuelin.t...@qkmtech.com
Dear all, I used the "restrict" key word in my application to delcare some pointers, and unfortunately an error came up, like "error: expected ';', ',' or ')' before 'src' const void *restrict src, int len);" As I know, "restrict" is a key word in C99 standard, so does rtems support this feature