![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <types.h>#include <log.h>#include <common.h>#include <mmu.h>#include <cli.h>#include <cli_shell.h>#include <cli_termesc.h>#include <sys-dram.h>#include <sys-gpio.h>#include <sys-i2c.h>#include <sys-sdhci.h>#include <sys-sdcard.h>#include <sys-sid.h>#include <sys-spi.h>#include <sys-uart.h>
Macros | |
| #define | CONFIG_SDMMC_SPEED_TEST_SIZE 102400 * 4 |
Functions | |
| msh_declare_command (speedtest) | |
| msh_define_help (speedtest, "Do speed test", "Usage: speedtest\n") | |
| int | cmd_speedtest (int argc, const char **argv) |
| msh_declare_command (swi) | |
| msh_define_help (swi, "Software interrupt test", "Usage: swi\n") | |
| int | cmd_swi (int argc, const char **argv) |
| int | main (void) |
Variables | |
| sunxi_serial_t | uart_dbg |
| sunxi_i2c_t | i2c_pmu |
| sunxi_sdhci_t | sdhci2 |
| uint32_t | dram_para [32] |
| const msh_command_entry | commands [] |
| #define CONFIG_SDMMC_SPEED_TEST_SIZE 102400 * 4 |
| int cmd_speedtest | ( | int | argc, |
| const char ** | argv | ||
| ) |
| int cmd_swi | ( | int | argc, |
| const char ** | argv | ||
| ) |
| int main | ( | void | ) |
| msh_declare_command | ( | speedtest | ) |
| msh_declare_command | ( | swi | ) |
| msh_define_help | ( | speedtest | , |
| "Do speed test" | , | ||
| "Usage: speedtest\n" | |||
| ) |
| msh_define_help | ( | swi | , |
| "Software interrupt test" | , | ||
| "Usage: swi\n" | |||
| ) |
| const msh_command_entry commands[] |
|
extern |
|
extern |
|
extern |
|
extern |