1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
extern crate alloc;
extern crate somehal;
extern crate ax_plat;
extern crate log;
// pub mod config {
// //! Platform configuration module.
// //!
// //! If the `AX_CONFIG_PATH` environment variable is set, it will load the configuration from the specified path.
// //! Otherwise, it will fall back to the `axconfig.toml` file in the current directory and generate the default configuration.
// //!
// //! If the `PACKAGE` field in the configuration does not match the package name, it will panic with an error message.
// ax_config_macros::include_configs!(path_env = "AX_CONFIG_PATH", fallback = "axconfig.toml");
// assert_str_eq!(
// PACKAGE,
// env!("CARGO_PKG_NAME"),
// "`PACKAGE` field in the configuration does not match the Package name. Please check your configuration file."
// );
// }