
package genconfig

configuration conf {
	include embox.arch.system(core_freq=120000000)
	include embox.arch.arm.cortexm3.bundle
	include embox.arch.arm.armmlib.cpu_idle
	include embox.arch.arm.libarch
	include embox.arch.arm.vfork

	include platform.stm32.platform_init
	include platform.stm32.platform_shutdown
	include platform.stm32.f2.nucleo_f207zg.bsp

	@Runlevel(1) include embox.driver.interrupt.cortexm_nvic
	@Runlevel(1) include embox.driver.clock.cortexm_systick
	include embox.kernel.time.jiffies(cs_name="cortexm_systick")

	@Runlevel(1) include embox.driver.serial.stm_usart_f2
	@Runlevel(1) include embox.driver.serial.stm_diag(baud_rate=115200, usartx=3)
	@Runlevel(1) include embox.driver.diag(impl="embox__driver__serial__stm_diag")
	@Runlevel(1) include embox.driver.serial.stm_ttyS0(baud_rate=115200, usartx=3)

	include embox.driver.gpio.stm32cube_gpio
	@Runlevel(1) include embox.driver.input.button.stm32cube_button(pin_port=2, pin_num=13)

	include embox.driver.spi.core
	include embox.driver.spi.stm32cube_spi(log_level="LOG_NONE")
	include embox.driver.spi.stm32cube_spi1(log_level="LOG_NONE")

	include embox.driver.i2c.stm32cube_i2c
	include embox.driver.i2c.stm32cube_i2c1

	include embox.driver.flash.flash_cache_block
	include embox.driver.flash.stm32f2cube(flash_size=0xc000)
	include embox.driver.flash.flash_fs

	@Runlevel(2) include embox.driver.net.stm32f2cube_eth

	include embox.driver.periph_memory_stub
	include embox.driver.block_dev(dev_quantity=4)

	include embox.driver.tty.tty(rx_buff_sz=16, io_buff_sz=16)
	include embox.driver.tty.task_breaking_disable

	include embox.kernel.critical
	include embox.kernel.irq_static
	include embox.kernel.spinlock(spin_debug=false)
	include embox.kernel.stack(stack_size=4096,alignment=4)

	include embox.kernel.task.multi
	include embox.kernel.task.resource.idesc_table(idesc_table_size=8)
	include embox.kernel.task.resource.sig_table(sig_table_size=20)
	include embox.kernel.task.resource.env(env_per_task=4,env_str_len=64)

	include embox.kernel.sched.strategy.priority_based

	include embox.kernel.thread.signal.siginfoq(siginfo_pool_sz=4)
	include embox.kernel.thread.thread_local_none
	include embox.kernel.thread.thread_cancel_disable
	include embox.kernel.thread.core(thread_pool_size=5, thread_stack_size=4096)
	include embox.kernel.thread.mutex

	@Runlevel(1) include embox.kernel.timer.sys_timer(timer_quantity=8)
	@Runlevel(1) include embox.kernel.timer.strategy.head_timer
	@Runlevel(1) include embox.kernel.time.kernel_time
	@Runlevel(1) include embox.kernel.timer.itimer(itimer_quantity=4)

//	include embox.fs.driver.devfs_stub
	include embox.fs.rootfs_dvfs(fstype="initfs")
	include embox.fs.driver.initfs_dvfs(file_quantity=32)
	include embox.fs.driver.devfs_dvfs
	include embox.fs.driver.dfs

	include embox.net.skbuff(amount_skb=10)
	include embox.net.skbuff_data(amount_skb_data=10)
	include embox.net.sock_noxattr
	include embox.net.tcp
	include embox.net.tcp_sock

	include embox.framework.LibFramework

	include embox.compat.libc.stdio.print(support_floating=0)
	include embox.compat.libc.stdio.scanf
	include embox.compat.libc.stdio.file_ops
	include embox.compat.posix.index_descriptor
	include embox.compat.posix.file_system_dvfs

	include embox.mem.heap_bm
	include embox.mem.static_heap(heap_size=0x4000)
	include embox.mem.bitmask(page_size=64)

	@Runlevel(3) include embox.init.system_start_service(log_level="LOG_INFO", tty_dev="ttyS0")

	include embox.cmd.sh.tish(builtin_commands="export exit logout service")

	include embox.cmd.service(services_count=2)
	include embox.cmd.help

	include embox.cmd.sys.version
	include embox.cmd.sys.export

	include embox.cmd.fs.dd
	include embox.cmd.fs.cat
	include embox.cmd.fs.ls
	include embox.cmd.fs.rm
	include embox.cmd.fs.mount
	include embox.cmd.fs.umount
	include embox.cmd.fs.stat
	include embox.cmd.fs.echo
	include embox.cmd.fs.touch
	include embox.cmd.fs.mkdir

	include embox.cmd.net.ifconfig
	include embox.cmd.net.route
	include embox.cmd.net.ping
	include embox.cmd.net.bootpc
	include embox.cmd.net.telnetd
	include embox.cmd.net.netmanager

	include embox.cmd.testing.blink
	include embox.cmd.testing.ticker
	include embox.cmd.testing.input.input_test
	include embox.cmd.testing.input.button_test

 	include embox.lib.leddrv_gpio

	include project.plc.cmd.plc_start
	include project.plc.cmd.plc_stop
	include project.plc.cmd.plc_info
	include project.plc.cmd.plc_slave_tcp
	include project.plc.cmd.plc_slave_rtu

	include project.plc.examples.blink_leddrv
	include project.plc.examples.delay_check
}
