%set OUTPUT_NAME metaclk

%append MODULES $(OUTPUT_NAME):$(CONFIGPATH)

CONFIG_LICENSE_APP_BSD

CONFIG_APP_START

%include scripts/options.build
%include arch/arch.build

  CONFIG_MUTEK_SHELL
  CONFIG_PTHREAD
  CONFIG_PTHREAD_MAIN
  CONFIG_MUTEK_PRINTK_ADDR 0x40013800
  CONFIG_DRIVER_STM32_USART_PRINTK_CLK_FREQ 72000000
  CONFIG_DRIVER_STM32_USART_PRINTK_BAUDRATE 115200
  CONFIG_DRIVER_STM32_USART_PRINTK
  CONFIG_DRIVER_STM32_USART_PRINTK_PIN 9
  CONFIG_DRIVER_STM32_USART_PRINTK_AF 0
  CONFIG_DRIVER_STM32_SPI
  CONFIG_DRIVER_STM32_TIMER
  CONFIG_MUTEK_CONSOLE
  CONFIG_DRIVER_I2C_BITBANG
  CONFIG_LIBTERMUI
  CONFIG_LIBTERMUI_CONSOLE
  