1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/micropython/Makefile
Marian Buschsieweke 251cffa2c5
examples/micropython: disable on native64
This was already disabled on native, but it is also flaky on
native64 under load due to sleeps potentially taking longer.
2024-02-20 13:12:20 +01:00

41 lines
1.1 KiB
Makefile

# name of your application
APPLICATION = micropython
# If no BOARD is found in the environment, use this default:
BOARD ?= native
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
# select MicroPython package
USEPKG += micropython
# include boot.py as header
BLOBS += boot.py
# configure MicroPython's heap size
MP_RIOT_HEAPSIZE ?= 8192U
# MicroPython needs a larger stack
CFLAGS += '-DTHREAD_STACKSIZE_MAIN=THREAD_STACKSIZE_DEFAULT*4'
# use miniterm (instead of the default pyterm) in order to support control
# characters (CTRL-D ...)
RIOT_TERMINAL ?= miniterm
# enable modmachine support for peripherals if available
FEATURES_OPTIONAL += periph_adc
FEATURES_OPTIONAL += periph_spi
# For now `examples/%/tests" still rely on the test applicaton being reset after
# a terminal is opened to synchronize.
TESTRUNNER_RESET_AFTER_TERM ?= 1
# failing on native with floating point exception (#15870)
TEST_ON_CI_BLACKLIST += native native64
# avoid running Kconfig by default
SHOULD_RUN_KCONFIG ?=
include $(RIOTBASE)/Makefile.include