devBoardParamsType

Hello,I’m trying to add my own fields to the devBoardParamsType struct to store extra usernames and passwords. Does anyone know what is the maximum size of this struct? Cause if it is too large the program will crash, I already experienced that one. Greetings

The size of the structure should not be restricted (except for EEPROM size) as far as I know. The reason your program crashes is probably that in some places the board params struct is allocated from local stack which is typically just a few K in size (default for the root thread is 4K, I think). Therefore, increase stack sizes for all threads that lead to this problem and it should be OK. Cheers, Gordian

Thanx, that will probably be it…