mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
feat(802.15.4): remove unnecessary includes in ieee802154 test case
This commit is contained in:
@ -8,6 +8,5 @@ set(include "."
|
|||||||
# the component can be registered as WHOLE_ARCHIVE
|
# the component can be registered as WHOLE_ARCHIVE
|
||||||
idf_component_register(SRCS ${srcs}
|
idf_component_register(SRCS ${srcs}
|
||||||
INCLUDE_DIRS include
|
INCLUDE_DIRS include
|
||||||
PRIV_REQUIRES ieee802154 console fatfs nvs_flash esp_phy cmd_ieee802154
|
PRIV_REQUIRES ieee802154 console fatfs nvs_flash esp_phy
|
||||||
cmd_ieee802154_debug cmd_system
|
|
||||||
WHOLE_ARCHIVE)
|
WHOLE_ARCHIVE)
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
#include "esp_ieee802154.h"
|
#include "esp_ieee802154.h"
|
||||||
#include "esp_phy_init.h"
|
#include "esp_phy_init.h"
|
||||||
#include "ieee802154_cmd.h"
|
#include "ieee802154_cmd.h"
|
||||||
#include "cmd_system.h"
|
|
||||||
#include "ieee802154_debug.h"
|
|
||||||
|
|
||||||
#define PROMPT_STR "ieee802154"
|
#define PROMPT_STR "ieee802154"
|
||||||
|
|
||||||
@ -46,10 +44,6 @@ void app_main(void)
|
|||||||
/* Register commands */
|
/* Register commands */
|
||||||
esp_console_register_help_command();
|
esp_console_register_help_command();
|
||||||
register_ieee802154_cmd();
|
register_ieee802154_cmd();
|
||||||
register_system_common();
|
|
||||||
#if CONFIG_IEEE802154_DEBUG
|
|
||||||
register_ieee802154_debug_cmd();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
esp_console_dev_uart_config_t hw_config = ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT();
|
esp_console_dev_uart_config_t hw_config = ESP_CONSOLE_DEV_UART_CONFIG_DEFAULT();
|
||||||
ESP_ERROR_CHECK(esp_console_new_repl_uart(&hw_config, &repl_config, &repl));
|
ESP_ERROR_CHECK(esp_console_new_repl_uart(&hw_config, &repl_config, &repl));
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
## IDF Component Manager Manifest File
|
|
||||||
dependencies:
|
|
||||||
cmd_system:
|
|
||||||
path: ${IDF_PATH}/examples/system/console/advanced/components/cmd_system
|
|
||||||
cmd_ieee802154_debug:
|
|
||||||
path: ${IDF_PATH}/examples/ieee802154/components/cmd_ieee802154_debug
|
|
Reference in New Issue
Block a user