1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #16954 from kfessel/p-u8g2-test-sdl

test/pkg_u8g2: increase main stacksize for SDL
This commit is contained in:
Karl Fessel 2021-10-07 10:43:25 +02:00 committed by GitHub
commit 423da42d1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View File

@ -3,4 +3,16 @@
* @ingroup pkg
* @brief Provides a monochrome graphics library for OLED and LCD displays
* @see https://github.com/olikraus/u8g2
*/
*
* ## Requirements
*
* Using SDL requires more stack so in case you are using it add
*
* ```makefile
* CFLAGS += '-DTHREAD_STACKSIZE_MAIN= 48*1024'
* ```
*
* to your makefile.
* 48kB is enough for the test other uses may need more or may
* need this to be applied to other threads using `THREAD_STACKSIZE_DEFAULT`
*/

View File

@ -30,6 +30,8 @@ ifeq ($(TEST_OUTPUT),1)
endif
ifeq ($(TEST_OUTPUT),2)
# SDL requires more stack
CFLAGS += -DTHREAD_STACKSIZE_MAIN=48*1024
USEMODULE += u8g2_sdl
endif