[riot-devel] Function declaration isn't a prototype

2019-02-07 Thread Gunar Schorcht
Hi, what would be the right way, if there is one, to use vendor code without modifications in case of bunch of following error messages? "error: function declaration isn't a prototype [-Werror=strict-prototypes]" Regards Gunar -- Wenn du laufen willst, lauf eine Meile. Wenn du ein neues Leben

[riot-devel] Location for module specific compile configurations

2019-01-31 Thread Gunar Schorcht
Hi, what is the right location for additional settings of CFLAGS, INCLUDES or LINK_FLAGS that are required by a pseudomodule which is enabled in Makefile.include of CPU? Should these additional settings be done in Makefile.include or in Makefile.dep of this CPU? Regards Gunar -- Wenn du laufen

Re: [riot-devel] Compile-time peripheral configuration in board definitions

2018-12-17 Thread Gunar Schorcht
t visible to the compiler during > compilation of periph/abcd.c, so it can't fully perform DCE and other > optimizations. Ah ok, I understand. To summarize your e-mail, you would advise to change the definitions of ESP32 boards to expose configuration structures in header files according to

Re: [riot-devel] Compile-time peripheral configuration in board definitions

2018-12-17 Thread Gunar Schorcht
rds Gunar -- Dr. Gunar Schorcht Mission Level Design GmbH Langewiesener Strasse 22 98693 Ilmenau schor...@mldesigner.de Sitz der Gesellschaft: Lohmühlenweg 2 99310 Arnstadt Amtsgericht Jena: HRB 111384 Geschäftsführung: Dipl.-Inf. Tino Jungebloud -- Wenn du laufen willst, lauf eine Meile. We

[riot-devel] Compile-time peripheral configuration in board definitions

2018-12-17 Thread Gunar Schorcht
Hi, I'm thinking about to revise the ESP32 board definitions and would need an advice from experienced core developers. Most (if not all) boards define their peripheral configuration of ADCs, DACs and PWMs in `periph_conf.h` in a kind of static const arrays and define macros based on the size of

Re: [riot-devel] Support unsupported boards

2018-11-29 Thread Gunar Schorcht
Hi, I don't see any reason why not to start with an existing board definition and to change it as required. Sparkfun ESP32 Thing and HUZZAH32 are quite generic boards like the many others that have nothing else on board than the ESP32, e.g., all ESP32 DevKit clones (esp32-wroom-32) or the MH-ET

Re: [riot-devel] Preparing release 2018.10

2018-10-06 Thread Gunar Schorcht
Hi Jose, is it necessary to tell you also features that were merged into master since last release or are they included automatically, e.g., the ESP8266 platform? Regards Gunar Am 4. Oktober 2018 15:09:06 MESZ schrieb "Alamos, Jose" : >Dear RIOTers, > > >The 2018.10 release is on its way! > >

Re: [riot-devel] Driver design rules in RIOT

2018-09-26 Thread Gunar Schorcht
n should of course correspond to the data format of raw data. Regards Gunar On 26.09.2018 12:16, Juan Ignacio Carrano wrote: > Hi Gunar, > > I'm not very experienced on the driver development side, but enough as a > user to see some issues. > > On 9/26/18 9:27 AM, Gunar Schor

Re: [riot-devel] Driver design rules in RIOT

2018-09-26 Thread Gunar Schorcht
ntation,  >> e.g. reviving the concept of RDM [1] ?) >> >> Best >> >> Emmanuel >> >> [1] https://github.com/RIOT-OS/RIOT/pull/6191 >> >> >> On Wed, Sep 26, 2018 at 11:38 AM Gunar Schorcht > <mailto:gu...@schorcht.net>> wrote: >

Re: [riot-devel] Driver design rules in RIOT

2018-09-26 Thread Gunar Schorcht
Hi Hauke, many thanks for your comprehensive and clearifying answers. Most of them met my thoughts about driver design. >> - Should a driver support at least data-ready interrupts (if possible at >> all) to realize event-driven data retrieval? > If the driver comes with a 'full/extra'

[riot-devel] Driver design rules in RIOT

2018-09-26 Thread Gunar Schorcht
Hi, I wrote a series of sensor drivers for esp-open-rtos/ESP-IDF, for example for different ST sensors, the BME680, the CCS811 or the SHT3x. I would like to port some of these drivers to RIOT OS. All the drivers are quite complex as they try to cover all the features of the sensors. I have seen

[riot-devel] Activation of modules by make command line

2018-09-06 Thread Gunar Schorcht
Hi, It is often necessary to enable or disable various functions at compilation time, for example, to test dependencies. In RIOT, features are activated using the module concept: USEMODULE + = feature I'm wondering whether there is a possibility to enable modules without changing the

Re: [riot-devel] Where to put board pictures?

2018-09-04 Thread Gunar Schorcht
Hi Juan, every approach which is not bloating a git repository is surely the best one. IMHO, it is important that the approach gives the board developer the possibility to upload/update pictures without involving maintainers. Would it also be possible with git-lfs to give the board developers

Re: [riot-devel] Where to put board pictures?

2018-09-03 Thread Gunar Schorcht
Hi Jose, last week, when I wrote the documentation for the ESP8266 boards, I had to realize, that I had to change some pictures several times during the documentation process. I think the wiki approach to ask the maintainers everytime is quite impractical: 1. Maintainers are additionally

Re: [riot-devel] Doxygen question for board/periph configuration header files

2018-08-28 Thread Gunar Schorcht
quality. Let's see what RIOT's maintainers think about it. Regards Gunar On 28.08.2018 10:45, Juan Ignacio Carrano wrote: > Hi Gunar, > > On 8/27/18 7:05 PM, Gunar Schorcht wrote: >> Hi, >> >> it seems that the style of the output changes either if a variable or >

Re: [riot-devel] Doxygen question for board/periph configuration header files

2018-08-27 Thread Gunar Schorcht
; and "MTD emulation configuration" look different. Regards Gunar On 27.08.2018 18:50, Gunar Schorcht wrote: > Hi, > > finally, I'm trying to improve the doxygen documentation of > board*.h/periph*.h configuration files for my ESP8266 port. > > I t

[riot-devel] Doxygen question for board/periph configuration header files

2018-08-27 Thread Gunar Schorcht
Hi, finally, I'm trying to improve the doxygen documentation of board*.h/periph*.h configuration files for my ESP8266 port. I tried to use the @name command together with @{ and }@ , to group all definitions that are related to a certain peripheral interface, e.g., I2C interface. It seems that

[riot-devel] What definitions/configuration belong into to what file

2018-08-27 Thread Gunar Schorcht
Hi, I'm trying again to sort the definitions of board configurations. I feel like doing this for the tenth time. I have taken a look at many board.h, periph_conf.h, board_common.h and periph_conf_common.h files for different platforms, eg., Arduino*, Nucleo*, IoTlab, ... The difference between

[riot-devel] CAN license question

2018-07-28 Thread Gunar Schorcht
Hello, RIOT defines a low-level CAN device driver interface. Suppose the MCU (for example, Espressifs ESP32) provides a CAN hardware implementation that could be used to integrate CAN peripherals into RIOT if there were a low-level CAN device driver for it. So I thought about including such a

Re: [riot-devel] Message queue that is not bound to a reveiving thread

2018-07-12 Thread Gunar Schorcht
a queue with a certain queue lenght and arbitrary item size. All exisiting tasks can send items to and receive items from this queue, also on single processor architectures. Regards Gunar Regards, Juan. On 07/12/2018 09:58 AM, Gunar Schorcht wrote: Hi, what would be the best way

Re: [riot-devel] Message queue that is not bound to a reveiving thread

2018-07-12 Thread Gunar Schorcht
but fixed size in the queue. Regards Gunar Zitat von Kaspar Schleiser : Hi Gunar, On 07/12/2018 09:58 AM, Gunar Schorcht wrote: what would be the best way, if there is one, to use the existing mechanisms to implement a message queue that is not bound to the receiving thread? What I'm looking

[riot-devel] Message queue that is not bound to a reveiving thread

2018-07-12 Thread Gunar Schorcht
Hi, what would be the best way, if there is one, to use the existing mechanisms to implement a message queue that is not bound to the receiving thread? What I'm looking for is a message queue that can be used by a number of threads to send messages to and receive messages from the shared queue,

Re: [riot-devel] Porting RIOT to ESP8266

2018-05-10 Thread Gunar Schorcht
On 10.05.2018 13:02, Cristiano Gavião wrote: > Hi Gunar, > > may I ask you to tell us what is the current status ? > > thanks, > > Cristiano > > > On 09/04/2018 18:38, Gunar Schorcht wrote: >> Hi Martine, >> >> yes, I will provide a PR as soon as I had

[riot-devel] RIOT on multicore architectures

2018-05-08 Thread Gunar Schorcht
Hi, can RIOT be ported to multicore architectures? As I understand the scheduler, there can always be only active thread at any time (thread_t *active_thread). That is, it is not possible to have multiple threads active on different cores, right? Regards Gunar -- Wenn du laufen willst, lauf

Re: [riot-devel] RIOT port to ESP32

2018-05-07 Thread Gunar Schorcht
with RIOT using a single > core? > > cheers > > Emmanuel > > On Fri, May 4, 2018 at 3:08 PM, Gunar Schorcht <gu...@schorcht.net > <mailto:gu...@schorcht.net>> wrote: > > Hi, > > I just want to inform that I have started a RIOT port for ESP32. &g

Re: [riot-devel] RIOT port to ESP32

2018-05-04 Thread Gunar Schorcht
better documented than ESP8266. So I hope I can provide a first version in less than 2 months. Regards Gunar On 14.04.2018 16:15, Gunar Schorcht wrote: > Hi, > > Has anyone already tried a RIOT port for the Espressif's ESP32? > > If not, I would start a port and would check fi

Re: [riot-devel] Porting RIOT to ESP8266

2018-04-16 Thread Gunar Schorcht
t will work on the ESP32 (the successor of the >> ESP8266), >> too? >> >> cheers >> Mathias >> >> On Mon, 2018-02-26 at 13:00 +0100, Gunar Schorcht wrote: >>> Hi, >>> >>> I just want to let the community to know that I'm trying an ES

[riot-devel] RIOT port to ESP32

2018-04-14 Thread Gunar Schorcht
Hi, Has anyone already tried a RIOT port for the Espressif's ESP32? If not, I would start a port and would check first which parts of my Espressif ESP8266 port could be reused. Regards Gunar -- Wenn du laufen willst, lauf eine Meile. Wenn du ein neues Leben kennenlernen willst, dann lauf

[riot-devel] License check for vendor specific MIT license

2018-04-12 Thread Gunar Schorcht
Hi, I have some files bundled with the ESP8266 port that contain a vendor specific MIT license. Command dist/tools/licenses/check.sh fails since this pattern is not known. What is the right way to add a new license test pattern in dist/tools/licenses/patterns? As usual PR or is there any other

[riot-devel] Process of documentation for a new RIOT-OS port

2018-04-11 Thread Gunar Schorcht
Hi there, today I provided a pull request for my port of RIOT-OS to ESP8266. Now the question is, whether I should already start to document it in the wiki or to wait until it is merged. Even though I documented on how to install the tool chain and how to use ESP8266 in a README.md file in the

Re: [riot-devel] Porting RIOT to ESP8266

2018-04-09 Thread Gunar Schorcht
already asking for. Regards Gunar On 07.04.2018 14:49, Martine Lenders wrote: > Hi Gunar, > > Cool, do you think you can get it in a state where you can provide a PR? > > Cheers, > Martine > > 2018-04-07 14:00 GMT+02:00 Gunar Schorcht <gu...@schorcht.net &

Re: [riot-devel] Porting RIOT to ESP8266

2018-04-07 Thread Gunar Schorcht
Hello, I just want to inform that I have commited a first working version of the RIOT port to ESP8266 to my fork at g...@github.com:gschorcht/RIOT-Xtensa-ESP8266.git Regards Gunar -- Wenn du laufen willst, lauf eine Meile. Wenn du ein neues Leben kennenlernen willst, dann lauf Marathon. (Emil

Re: [riot-devel] ESP8266 Port and Networking

2018-03-26 Thread Gunar Schorcht
P packets might be a place to start? >> >> I'm not a RIOT expert - so that's where I stand. >> >> If RIOT supports Sockets or MQTT that might also be worth looking into. >> >> Regards >> >> David >> >> On 2018-03-25 05:33, Gunar Schorcht wrote: >

[riot-devel] ESP8266 Port and Networking

2018-03-24 Thread Gunar Schorcht
Hello, most parts of my RIOT-OS port to the ESP8266 has been implemented. GPIO, SPI, I2C, UART, PWM seem to be ready and most of local applications are working. However, RIOT-OS makes no real sense without networking. Unfortunately, ESP8266 doesn't have Zigbee or 802.15.4 radio interface on

[riot-devel] Porting RIOT to ESP8266

2018-02-26 Thread Gunar Schorcht
Hi, I just want to let the community to know that I'm trying an ESP8266 port. At the moment - the core's thread interface is implemented and tested, - the core's irq interface is implemented and tested, - GPIO handling module periph_gpio is implemented and tested, - small applications like