![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <stdlib.h>#include <types.h>#include <log.h>#include <sys-clk.h>#include <sys-dma.h>#include <sys-dram.h>#include <sys-gpio.h>#include <sys-i2c.h>#include <sys-sdcard.h>#include <sys-sdhci.h>#include <sys-spi-nand.h>#include <sys-spi-nor.h>#include <sys-spi.h>#include <common.h>#include <cli.h>#include <cli_shell.h>#include <cli_termesc.h>
Macros | |
| #define | CONFIG_SDMMC_SPEED_TEST_SIZE 4 * 1024 |
| #define | CHUNK_SIZE 0x20000 |
Functions | |
| msh_declare_command (read) | |
| msh_define_help (read, "read SMHC", "Usage: read\n") | |
| int | cmd_read (int argc, const char **argv) |
| msh_declare_command (write) | |
| msh_define_help (write, "test", "Usage: write\n") | |
| int | cmd_write (int argc, const char **argv) |
| msh_declare_command (load) | |
| msh_define_help (load, "load SMHC", "Usage: load\n") | |
| int | cmd_load (int argc, const char **argv) |
| msh_declare_command (reset) | |
| msh_define_help (reset, "reset test", "Usage: reset\n") | |
| int | cmd_reset (int argc, const char **argv) |
| msh_declare_command (bt) | |
| msh_define_help (bt, "backtrace test", "Usage: bt\n") | |
| int | cmd_bt (int argc, const char **argv) |
| int | main (void) |
Variables | |
| sunxi_serial_t | uart_dbg |
| dram_para_t | dram_para |
| sunxi_dma_t | sunxi_dma |
| sunxi_i2c_t | sunxi_i2c0 |
| sunxi_spi_t | sunxi_spi0 |
| sunxi_sdhci_t | sdhci0 |
| const msh_command_entry | commands [] |
| #define CHUNK_SIZE 0x20000 |
| #define CONFIG_SDMMC_SPEED_TEST_SIZE 4 * 1024 |
| int cmd_bt | ( | int | argc, |
| const char ** | argv | ||
| ) |
| int cmd_load | ( | int | argc, |
| const char ** | argv | ||
| ) |
| int cmd_read | ( | int | argc, |
| const char ** | argv | ||
| ) |
| int cmd_reset | ( | int | argc, |
| const char ** | argv | ||
| ) |
| int cmd_write | ( | int | argc, |
| const char ** | argv | ||
| ) |
| int main | ( | void | ) |
| msh_declare_command | ( | bt | ) |
| msh_declare_command | ( | load | ) |
| msh_declare_command | ( | read | ) |
| msh_declare_command | ( | reset | ) |
| msh_declare_command | ( | write | ) |
| msh_define_help | ( | bt | , |
| "backtrace test" | , | ||
| "Usage: bt\n" | |||
| ) |
| msh_define_help | ( | load | , |
| "load SMHC" | , | ||
| "Usage: load\n" | |||
| ) |
| msh_define_help | ( | read | , |
| "read SMHC" | , | ||
| "Usage: read\n" | |||
| ) |
| msh_define_help | ( | reset | , |
| "reset test" | , | ||
| "Usage: reset\n" | |||
| ) |
| msh_define_help | ( | write | , |
| "test" | , | ||
| "Usage: write\n" | |||
| ) |
| const msh_command_entry commands[] |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |