embeded/arduino(genuino)2024. 1. 31. 15:22

esp8266이야 wifi 내장이긴 한데

다른 wifi 모듈들도 이런식으로 https를 제공하려나?

 

#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <DHT.h>
#include <WiFiClient.h>
#include <WiFiClientSecureBearSSL.h>
#include <time.h>

[링크 : https://dinist.tistory.com/17]

'embeded > arduino(genuino)' 카테고리의 다른 글

아두이노 FFB 휠 소스코드  (0) 2024.10.11
rfid 12.5M / 125k  (0) 2024.07.25
433MHz RF 통신  (0) 2023.12.07
mcp2515 can  (0) 2023.10.30
아두이노 dht11  (0) 2022.11.14
Posted by 구차니
embeded/raspberry pi2024. 1. 2. 22:44

편의를 위해 줄 끝을 삭제함(너무 길이서)

대충봐도.. 라즈베리용 메모리 크기에 맞게 설정되지 않은 느낌이다.

 

MariaDB [(none)]> show variables;
+----------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 Variable_name                                             Value
+----------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 alter_algorithm                                           DEFAULT
 analyze_sample_percentage                                 100.000000
 aria_block_size                                           8192
 aria_checkpoint_interval                                  30
 aria_checkpoint_log_activity                              1048576
 aria_encrypt_tables                                       OFF
 aria_force_start_after_recovery_failures                  0
 aria_group_commit                                         none
 aria_group_commit_interval                                0
 aria_log_dir_path                                         /var/lib/mysql/
 aria_log_file_size                                        1073741824
 aria_log_purge_type                                       immediate
 aria_max_sort_file_size                                   9223372036853727232
 aria_page_checksum                                        ON
 aria_pagecache_age_threshold                              300
 aria_pagecache_buffer_size                                134217728
 aria_pagecache_division_limit                             100
 aria_pagecache_file_hash_size                             512
 aria_recover_options                                      BACKUP,QUICK
 aria_repair_threads                                       1
 aria_sort_buffer_size                                     268434432
 aria_stats_method                                         nulls_unequal
 aria_sync_log_dir                                         NEWFILE
 aria_used_for_temp_tables                                 ON
 auto_increment_increment                                  1
 auto_increment_offset                                     1
 autocommit                                                ON
 automatic_sp_privileges                                   ON
 back_log                                                  80
 basedir                                                   /usr
 big_tables                                                OFF
 bind_address                                              127.0.0.1
 binlog_annotate_row_events                                ON
 binlog_cache_size                                         32768
 binlog_checksum                                           CRC32
 binlog_commit_wait_count                                  0
 binlog_commit_wait_usec                                   100000
 binlog_direct_non_transactional_updates                   OFF
 binlog_file_cache_size                                    16384
 binlog_format                                             MIXED
 binlog_optimize_thread_scheduling                         ON
 binlog_row_image                                          FULL
 binlog_row_metadata                                       NO_LOG
 binlog_stmt_cache_size                                    32768
 bulk_insert_buffer_size                                   8388608
 character_set_client                                      utf8
 character_set_connection                                  utf8
 character_set_database                                    utf8mb4
 character_set_filesystem                                  binary
 character_set_results                                     utf8
 character_set_server                                      utf8mb4
 character_set_system                                      utf8
 character_sets_dir                                        /usr/share/mysql/charsets/
 check_constraint_checks                                   ON
 collation_connection                                      utf8_general_ci
 collation_database                                        utf8mb4_general_ci
 collation_server                                          utf8mb4_general_ci
 column_compression_threshold                              100
 column_compression_zlib_level                             6
 column_compression_zlib_strategy                          DEFAULT_STRATEGY
 column_compression_zlib_wrap                              OFF
 completion_type                                           NO_CHAIN
 concurrent_insert                                         AUTO
 connect_timeout                                           10
 core_file                                                 OFF
 datadir                                                   /var/lib/mysql/
 date_format                                               %Y-%m-%d
 datetime_format                                           %Y-%m-%d %H:%i:%s
 deadlock_search_depth_long                                15
 deadlock_search_depth_short                               4
 deadlock_timeout_long                                     50000000
 deadlock_timeout_short                                    10000
 debug_no_thread_alarm                                     OFF
 default_master_connection
 default_password_lifetime                                 0
 default_regex_flags
 default_storage_engine                                    InnoDB
 default_tmp_storage_engine
 default_week_format                                       0
 delay_key_write                                           ON
 delayed_insert_limit                                      100
 delayed_insert_timeout                                    300
 delayed_queue_size                                        1000
 disconnect_on_expired_password                            OFF
 div_precision_increment                                   4
 encrypt_binlog                                            OFF
 encrypt_tmp_disk_tables                                   OFF
 encrypt_tmp_files                                         OFF
 enforce_storage_engine
 eq_range_index_dive_limit                                 200
 error_count                                               0
 event_scheduler                                           OFF
 expensive_subquery_limit                                  100
 expire_logs_days                                          10
 explicit_defaults_for_timestamp                           OFF
 external_user
 extra_max_connections                                     1
 extra_port                                                0
 flush                                                     OFF
 flush_time                                                0
 foreign_key_checks                                        ON
 ft_boolean_syntax                                         + -><()~*:""&
 ft_max_word_len                                           84
 ft_min_word_len                                           4
 ft_query_expansion_limit                                  20
 ft_stopword_file                                          (built-in)
 general_log                                               OFF
 general_log_file                                          raspberrypi.log
 group_concat_max_len                                      1048576
 gtid_binlog_pos
 gtid_binlog_state
 gtid_cleanup_batch_size                                   64
 gtid_current_pos
 gtid_domain_id                                            0
 gtid_ignore_duplicates                                    OFF
 gtid_pos_auto_engines
 gtid_seq_no                                               0
 gtid_slave_pos
 gtid_strict_mode                                          OFF
 have_compress                                             YES
 have_crypt                                                YES
 have_dynamic_loading                                      YES
 have_geometry                                             YES
 have_openssl                                              YES
 have_profiling                                            YES
 have_query_cache                                          YES
 have_rtree_keys                                           YES
 have_ssl                                                  DISABLED
 have_symlink                                              YES
 histogram_size                                            254
 histogram_type                                            DOUBLE_PREC_HB
 host_cache_size                                           279
 hostname                                                  raspberrypi
 identity                                                  0
 idle_readonly_transaction_timeout                         0
 idle_transaction_timeout                                  0
 idle_write_transaction_timeout                            0
 ignore_builtin_innodb                                     OFF
 ignore_db_dirs
 in_predicate_conversion_threshold                         1000
 in_transaction                                            0
 init_connect
 init_file
 init_slave
 innodb_adaptive_flushing                                  ON
 innodb_adaptive_flushing_lwm                              10.000000
 innodb_adaptive_hash_index                                OFF
 innodb_adaptive_hash_index_parts                          8
 innodb_adaptive_max_sleep_delay                           0
 innodb_autoextend_increment                               64
 innodb_autoinc_lock_mode                                  1
 innodb_background_scrub_data_check_interval               0
 innodb_background_scrub_data_compressed                   OFF
 innodb_background_scrub_data_interval                     0
 innodb_background_scrub_data_uncompressed                 OFF
 innodb_buf_dump_status_frequency                          0
 innodb_buffer_pool_chunk_size                             134217728
 innodb_buffer_pool_dump_at_shutdown                       ON
 innodb_buffer_pool_dump_now                               OFF
 innodb_buffer_pool_dump_pct                               25
 innodb_buffer_pool_filename                               ib_buffer_pool
 innodb_buffer_pool_instances                              1
 innodb_buffer_pool_load_abort                             OFF
 innodb_buffer_pool_load_at_startup                        ON
 innodb_buffer_pool_load_now                               OFF
 innodb_buffer_pool_size                                   134217728
 innodb_change_buffer_max_size                             25
 innodb_change_buffering                                   none
 innodb_checksum_algorithm                                 full_crc32
 innodb_cmp_per_index_enabled                              OFF
 innodb_commit_concurrency                                 0
 innodb_compression_algorithm                              zlib
 innodb_compression_default                                OFF
 innodb_compression_failure_threshold_pct                  5
 innodb_compression_level                                  6
 innodb_compression_pad_pct_max                            50
 innodb_concurrency_tickets                                0
 innodb_data_file_path                                     ibdata1:12M:autoextend
 innodb_data_home_dir
 innodb_deadlock_detect                                    ON
 innodb_default_encryption_key_id                          1
 innodb_default_row_format                                 dynamic
 innodb_defragment                                         OFF
 innodb_defragment_fill_factor                             0.900000
 innodb_defragment_fill_factor_n_recs                      20
 innodb_defragment_frequency                               40
 innodb_defragment_n_pages                                 7
 innodb_defragment_stats_accuracy                          0
 innodb_disable_sort_file_cache                            OFF
 innodb_doublewrite                                        ON
 innodb_encrypt_log                                        OFF
 innodb_encrypt_tables                                     OFF
 innodb_encrypt_temporary_tables                           OFF
 innodb_encryption_rotate_key_age                          1
 innodb_encryption_rotation_iops                           100
 innodb_encryption_threads                                 0
 innodb_fast_shutdown                                      1
 innodb_fatal_semaphore_wait_threshold                     600
 innodb_file_format
 innodb_file_per_table                                     ON
 innodb_fill_factor                                        100
 innodb_flush_log_at_timeout                               1
 innodb_flush_log_at_trx_commit                            1
 innodb_flush_method                                       fsync
 innodb_flush_neighbors                                    1
 innodb_flush_sync                                         ON
 innodb_flushing_avg_loops                                 30
 innodb_force_load_corrupted                               OFF
 innodb_force_primary_key                                  OFF
 innodb_force_recovery                                     0
 innodb_ft_aux_table
 innodb_ft_cache_size                                      8000000
 innodb_ft_enable_diag_print                               OFF
 innodb_ft_enable_stopword                                 ON
 innodb_ft_max_token_size                                  84
 innodb_ft_min_token_size                                  3
 innodb_ft_num_word_optimize                               2000
 innodb_ft_result_cache_limit                              2000000000
 innodb_ft_server_stopword_table
 innodb_ft_sort_pll_degree                                 2
 innodb_ft_total_cache_size                                640000000
 innodb_ft_user_stopword_table
 innodb_immediate_scrub_data_uncompressed                  OFF
 innodb_instant_alter_column_allowed                       add_drop_reorder
 innodb_io_capacity                                        200
 innodb_io_capacity_max                                    2000
 innodb_large_prefix
 innodb_lock_schedule_algorithm                            fcfs
 innodb_lock_wait_timeout                                  50
 innodb_log_buffer_size                                    16777216
 innodb_log_checksums                                      ON
 innodb_log_compressed_pages                               ON
 innodb_log_file_size                                      100663296
 innodb_log_files_in_group                                 1
 innodb_log_group_home_dir                                 ./
 innodb_log_optimize_ddl                                   OFF
 innodb_log_write_ahead_size                               8192
 innodb_lru_flush_size                                     32
 innodb_lru_scan_depth                                     1536
 innodb_max_dirty_pages_pct                                90.000000
 innodb_max_dirty_pages_pct_lwm                            0.000000
 innodb_max_purge_lag                                      0
 innodb_max_purge_lag_delay                                0
 innodb_max_purge_lag_wait                                 4294967295
 innodb_max_undo_log_size                                  10485760
 innodb_monitor_disable
 innodb_monitor_enable
 innodb_monitor_reset
 innodb_monitor_reset_all
 innodb_old_blocks_pct                                     37
 innodb_old_blocks_time                                    1000
 innodb_online_alter_log_max_size                          134217728
 innodb_open_files                                         2000
 innodb_optimize_fulltext_only                             OFF
 innodb_page_cleaners                                      1
 innodb_page_size                                          16384
 innodb_prefix_index_cluster_optimization                  OFF
 innodb_print_all_deadlocks                                OFF
 innodb_purge_batch_size                                   300
 innodb_purge_rseg_truncate_frequency                      128
 innodb_purge_threads                                      4
 innodb_random_read_ahead                                  OFF
 innodb_read_ahead_threshold                               56
 innodb_read_io_threads                                    4
 innodb_read_only                                          OFF
 innodb_replication_delay                                  0
 innodb_rollback_on_timeout                                OFF
 innodb_scrub_log                                          OFF
 innodb_scrub_log_speed                                    256
 innodb_sort_buffer_size                                   1048576
 innodb_spin_wait_delay                                    4
 innodb_stats_auto_recalc                                  ON
 innodb_stats_include_delete_marked                        OFF
 innodb_stats_method                                       nulls_equal
 innodb_stats_modified_counter                             0
 innodb_stats_on_metadata                                  OFF
 innodb_stats_persistent                                   ON
 innodb_stats_persistent_sample_pages                      20
 innodb_stats_traditional                                  ON
 innodb_stats_transient_sample_pages                       8
 innodb_status_output                                      OFF
 innodb_status_output_locks                                OFF
 innodb_strict_mode                                        ON
 innodb_sync_array_size                                    1
 innodb_sync_spin_loops                                    30
 innodb_table_locks                                        ON
 innodb_temp_data_file_path                                ibtmp1:12M:autoextend
 innodb_thread_concurrency                                 0
 innodb_thread_sleep_delay                                 0
 innodb_tmpdir
 innodb_undo_directory                                     ./
 innodb_undo_log_truncate                                  OFF
 innodb_undo_logs                                          128
 innodb_undo_tablespaces                                   0
 innodb_use_atomic_writes                                  ON
 innodb_use_native_aio                                     ON
 innodb_version                                            10.5.21
 innodb_write_io_threads                                   4
 insert_id                                                 0
 interactive_timeout                                       28800
 join_buffer_size                                          262144
 join_buffer_space_limit                                   2097152
 join_cache_level                                          2
 keep_files_on_create                                      OFF
 key_buffer_size                                           134217728
 key_cache_age_threshold                                   300
 key_cache_block_size                                      1024
 key_cache_division_limit                                  100
 key_cache_file_hash_size                                  512
 key_cache_segments                                        0
 large_files_support                                       ON
 large_page_size                                           0
 large_pages                                               OFF
 last_gtid
 last_insert_id                                            0
 lc_messages                                               en_US
 lc_messages_dir                                           /usr/share/mysql
 lc_time_names                                             en_US
 license                                                   GPL
 local_infile                                              ON
 lock_wait_timeout                                         86400
 locked_in_memory                                          OFF
 log_bin                                                   OFF
 log_bin_basename
 log_bin_compress                                          OFF
 log_bin_compress_min_len                                  256
 log_bin_index
 log_bin_trust_function_creators                           OFF
 log_disabled_statements                                   sp
 log_error
 log_output                                                FILE
 log_queries_not_using_indexes                             OFF
 log_slave_updates                                         OFF
 log_slow_admin_statements                                 ON
 log_slow_disabled_statements                              sp
 log_slow_filter                                           admin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
 log_slow_rate_limit                                       1
 log_slow_slave_statements                                 ON
 log_slow_verbosity
 log_tc_size                                               24576
 log_warnings                                              2
 long_query_time                                           10.000000
 low_priority_updates                                      OFF
 lower_case_file_system                                    OFF
 lower_case_table_names                                    0
 master_verify_checksum                                    OFF
 max_allowed_packet                                        16777216
 max_binlog_cache_size                                     4294963200
 max_binlog_size                                           1073741824
 max_binlog_stmt_cache_size                                4294963200
 max_connect_errors                                        100
 max_connections                                           151
 max_delayed_threads                                       20
 max_digest_length                                         1024
 max_error_count                                           64
 max_heap_table_size                                       16777216
 max_insert_delayed_threads                                20
 max_join_size                                             18446744073709551615
 max_length_for_sort_data                                  1024
 max_password_errors                                       4294967295
 max_prepared_stmt_count                                   16382
 max_recursive_iterations                                  4294967295
 max_relay_log_size                                        1073741824
 max_rowid_filter_size                                     131072
 max_seeks_for_key                                         4294967295
 max_session_mem_used                                      9223372036854775807
 max_sort_length                                           1024
 max_sp_recursion_depth                                    0
 max_statement_time                                        0.000000
 max_tmp_tables                                            32
 max_user_connections                                      0
 max_write_lock_count                                      4294967295
 metadata_locks_cache_size                                 1024
 metadata_locks_hash_instances                             8
 min_examined_row_limit                                    0
 mrr_buffer_size                                           262144
 myisam_block_size                                         1024
 myisam_data_pointer_size                                  6
 myisam_max_sort_file_size                                 2146435072
 myisam_mmap_size                                          4294967295
 myisam_recover_options                                    BACKUP,QUICK
 myisam_repair_threads                                     1
 myisam_sort_buffer_size                                   134216704
 myisam_stats_method                                       NULLS_UNEQUAL
 myisam_use_mmap                                           OFF
 mysql56_temporal_format                                   ON
 net_buffer_length                                         16384
 net_read_timeout                                          30
 net_retry_count                                           10
 net_write_timeout                                         60
 old                                                       OFF
 old_alter_table                                           DEFAULT
 old_mode
 old_passwords                                             OFF
 open_files_limit                                          32186
 optimizer_max_sel_arg_weight                              32000
 optimizer_prune_level                                     1
 optimizer_search_depth                                    62
 optimizer_selectivity_sampling_limit                      100
 optimizer_switch                                          index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off
 optimizer_trace                                           enabled=off
 optimizer_trace_max_mem_size                              1048576
 optimizer_use_condition_selectivity                       4
 performance_schema                                        OFF
 performance_schema_accounts_size                          -1
 performance_schema_digests_size                           -1
 performance_schema_events_stages_history_long_size        -1
 performance_schema_events_stages_history_size             -1
 performance_schema_events_statements_history_long_size    -1
 performance_schema_events_statements_history_size         -1
 performance_schema_events_transactions_history_long_size  -1
 performance_schema_events_transactions_history_size       -1
 performance_schema_events_waits_history_long_size         -1
 performance_schema_events_waits_history_size              -1
 performance_schema_hosts_size                             -1
 performance_schema_max_cond_classes                       90
 performance_schema_max_cond_instances                     -1
 performance_schema_max_digest_length                      1024
 performance_schema_max_file_classes                       80
 performance_schema_max_file_handles                       32768
 performance_schema_max_file_instances                     -1
 performance_schema_max_index_stat                         -1
 performance_schema_max_memory_classes                     320
 performance_schema_max_metadata_locks                     -1
 performance_schema_max_mutex_classes                      210
 performance_schema_max_mutex_instances                    -1
 performance_schema_max_prepared_statements_instances      -1
 performance_schema_max_program_instances                  -1
 performance_schema_max_rwlock_classes                     50
 performance_schema_max_rwlock_instances                   -1
 performance_schema_max_socket_classes                     10
 performance_schema_max_socket_instances                   -1
 performance_schema_max_sql_text_length                    1024
 performance_schema_max_stage_classes                      160
 performance_schema_max_statement_classes                  222
 performance_schema_max_statement_stack                    10
 performance_schema_max_table_handles                      -1
 performance_schema_max_table_instances                    -1
 performance_schema_max_table_lock_stat                    -1
 performance_schema_max_thread_classes                     50
 performance_schema_max_thread_instances                   -1
 performance_schema_session_connect_attrs_size             -1
 performance_schema_setup_actors_size                      -1
 performance_schema_setup_objects_size                     -1
 performance_schema_users_size                             -1
 pid_file                                                  /run/mysqld/mysqld.pid
 plugin_dir                                                /usr/lib/mysql/plugin/
 plugin_maturity                                           gamma
 port                                                      3306
 preload_buffer_size                                       32768
 profiling                                                 OFF
 profiling_history_size                                    15
 progress_report_time                                      5
 protocol_version                                          10
 proxy_protocol_networks
 proxy_user
 pseudo_slave_mode                                         OFF
 pseudo_thread_id                                          32
 query_alloc_block_size                                    16384
 query_cache_limit                                         1048576
 query_cache_min_res_unit                                  4096
 query_cache_size                                          1048576
 query_cache_strip_comments                                OFF
 query_cache_type                                          OFF
 query_cache_wlock_invalidate                              OFF
 query_prealloc_size                                       24576
 rand_seed1                                                1024636563
 rand_seed2                                                606536313
 range_alloc_block_size                                    4096
 read_binlog_speed_limit                                   0
 read_buffer_size                                          131072
 read_only                                                 OFF
 read_rnd_buffer_size                                      262144
 relay_log
 relay_log_basename
 relay_log_index
 relay_log_info_file                                       relay-log.info
 relay_log_purge                                           ON
 relay_log_recovery                                        OFF
 relay_log_space_limit                                     0
 replicate_annotate_row_events                             ON
 replicate_do_db
 replicate_do_table
 replicate_events_marked_for_skip                          REPLICATE
 replicate_ignore_db
 replicate_ignore_table
 replicate_wild_do_table
 replicate_wild_ignore_table
 report_host
 report_password
 report_port                                               3306
 report_user
 require_secure_transport                                  OFF
 rowid_merge_buff_size                                     8388608
 rpl_semi_sync_master_enabled                              OFF
 rpl_semi_sync_master_timeout                              10000
 rpl_semi_sync_master_trace_level                          32
 rpl_semi_sync_master_wait_no_slave                        ON
 rpl_semi_sync_master_wait_point                           AFTER_COMMIT
 rpl_semi_sync_slave_delay_master                          OFF
 rpl_semi_sync_slave_enabled                               OFF
 rpl_semi_sync_slave_kill_conn_timeout                     5
 rpl_semi_sync_slave_trace_level                           32
 secure_auth                                               ON
 secure_file_priv
 secure_timestamp                                          NO
 server_id                                                 1
 session_track_schema                                      ON
 session_track_state_change                                OFF
 session_track_system_variables                            autocommit,character_set_client,character_set_connection,character_set_results,time_zone
 session_track_transaction_info                            OFF
 skip_external_locking                                     ON
 skip_name_resolve                                         OFF
 skip_networking                                           OFF
 skip_parallel_replication                                 OFF
 skip_replication                                          OFF
 skip_show_database                                        OFF
 slave_compressed_protocol                                 OFF
 slave_ddl_exec_mode                                       IDEMPOTENT
 slave_domain_parallel_threads                             0
 slave_exec_mode                                           STRICT
 slave_load_tmpdir                                         /tmp
 slave_max_allowed_packet                                  1073741824
 slave_net_timeout                                         60
 slave_parallel_max_queued                                 131072
 slave_parallel_mode                                       optimistic
 slave_parallel_threads                                    0
 slave_parallel_workers                                    0
 slave_run_triggers_for_rbr                                NO
 slave_skip_errors                                         OFF
 slave_sql_verify_checksum                                 ON
 slave_transaction_retries                                 10
 slave_transaction_retry_errors                            1158,1159,1160,1161,1205,1213,1429,2013,12701
 slave_transaction_retry_interval                          0
 slave_type_conversions
 slow_launch_time                                          2
 slow_query_log                                            OFF
 slow_query_log_file                                       raspberrypi-slow.log
 socket                                                    /run/mysqld/mysqld.sock
 sort_buffer_size                                          2097152
 sql_auto_is_null                                          OFF
 sql_big_selects                                           ON
 sql_buffer_result                                         OFF
 sql_if_exists                                             OFF
 sql_log_bin                                               ON
 sql_log_off                                               OFF
 sql_mode                                                  STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
 sql_notes                                                 ON
 sql_quote_show_create                                     ON
 sql_safe_updates                                          OFF
 sql_select_limit                                          18446744073709551615
 sql_slave_skip_counter                                    0
 sql_warnings                                              OFF
 ssl_ca
 ssl_capath
 ssl_cert
 ssl_cipher
 ssl_crl
 ssl_crlpath
 ssl_key
 standard_compliant_cte                                    ON
 storage_engine                                            InnoDB
 stored_program_cache                                      256
 strict_password_validation                                ON
 sync_binlog                                               0
 sync_frm                                                  ON
 sync_master_info                                          10000
 sync_relay_log                                            10000
 sync_relay_log_info                                       10000
 system_time_zone                                          KST
 system_versioning_alter_history                           ERROR
 system_versioning_asof                                    DEFAULT
 table_definition_cache                                    400
 table_open_cache                                          2000
 table_open_cache_instances                                8
 tcp_keepalive_interval                                    0
 tcp_keepalive_probes                                      0
 tcp_keepalive_time                                        0
 tcp_nodelay                                               ON
 thread_cache_size                                         151
 thread_handling                                           one-thread-per-connection
 thread_pool_dedicated_listener                            OFF
 thread_pool_exact_stats                                   OFF
 thread_pool_idle_timeout                                  60
 thread_pool_max_threads                                   65536
 thread_pool_oversubscribe                                 3
 thread_pool_prio_kickup_timer                             1000
 thread_pool_priority                                      auto
 thread_pool_size                                          4
 thread_pool_stall_limit                                   500
 thread_stack                                              299008
 time_format                                               %H:%i:%s
 time_zone                                                 SYSTEM
 timestamp                                                 1704202334.478383
 tls_version                                               TLSv1.1,TLSv1.2,TLSv1.3
 tmp_disk_table_size                                       4294967295
 tmp_memory_table_size                                     16777216
 tmp_table_size                                            16777216
 tmpdir                                                    /tmp
 transaction_alloc_block_size                              8192
 transaction_prealloc_size                                 4096
 tx_isolation                                              REPEATABLE-READ
 tx_read_only                                              OFF
 unique_checks                                             ON
 updatable_views_with_limit                                YES
 use_stat_tables                                           PREFERABLY_FOR_QUERIES
 userstat                                                  OFF
 version                                                   10.5.21-MariaDB-0+deb11u1
 version_comment                                           Raspbian 11
 version_compile_machine                                   armv7l
 version_compile_os                                        debian-linux-gnueabihf
 version_malloc_library                                    system
 version_source_revision                                   bed70468ea08c2820647f5e3ac006a9ff88144ac
 version_ssl_library                                       OpenSSL 1.1.1w  11 Sep 2023
 wait_timeout                                              28800
 warning_count                                             0
 wsrep_osu_method                                          TOI
 wsrep_sr_store                                            table
 wsrep_auto_increment_control                              ON
 wsrep_causal_reads                                        OFF
 wsrep_certification_rules                                 strict
 wsrep_certify_nonpk                                       ON
 wsrep_cluster_address
 wsrep_cluster_name                                        my_wsrep_cluster
 wsrep_convert_lock_to_trx                                 OFF
 wsrep_data_home_dir                                       /var/lib/mysql/
 wsrep_dbug_option
 wsrep_debug                                               NONE
 wsrep_desync                                              OFF
 wsrep_dirty_reads                                         OFF
 wsrep_drupal_282555_workaround                            OFF
 wsrep_forced_binlog_format                                NONE
 wsrep_gtid_domain_id                                      0
 wsrep_gtid_mode                                           OFF
 wsrep_gtid_seq_no                                         0
 wsrep_ignore_apply_errors                                 7
 wsrep_load_data_splitting                                 OFF
 wsrep_log_conflicts                                       OFF
 wsrep_max_ws_rows                                         0
 wsrep_max_ws_size                                         2147483647
 wsrep_mysql_replication_bundle                            0
 wsrep_node_address
 wsrep_node_incoming_address                               AUTO
 wsrep_node_name                                           raspberrypi
 wsrep_notify_cmd
 wsrep_on                                                  OFF
 wsrep_patch_version                                       wsrep_26.22
 wsrep_provider                                            none
 wsrep_provider_options
 wsrep_recover                                             OFF
 wsrep_reject_queries                                      NONE
 wsrep_replicate_myisam                                    OFF
 wsrep_restart_slave                                       OFF
 wsrep_retry_autocommit                                    1
 wsrep_slave_fk_checks                                     ON
 wsrep_slave_uk_checks                                     OFF
 wsrep_slave_threads                                       1
 wsrep_sst_auth
 wsrep_sst_donor
 wsrep_sst_donor_rejects_queries                           OFF
 wsrep_sst_method                                          rsync
 wsrep_sst_receive_address                                 AUTO
 wsrep_start_position                                      00000000-0000-0000-0000-000000000000:-1
 wsrep_strict_ddl                                          OFF
 wsrep_sync_wait                                           0
 wsrep_trx_fragment_size                                   0
 wsrep_trx_fragment_unit                                   bytes
+----------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
667 rows in set (0.039 sec)

'embeded > raspberry pi' 카테고리의 다른 글

rpi libcamera?  (0) 2024.02.26
3d 프린트 한 라즈베리 케이스  (0) 2024.02.21
MCP2515 on rpi  (0) 2023.10.31
서보 pan/tilt 조립  (0) 2023.09.23
서보 팬틸트 브라켓 구매  (0) 2023.09.19
Posted by 구차니
embeded/robot2023. 12. 21. 18:02

좌표계를 이해할 시간에

차라리 get_coords() 함수로 x,y,z,rx,ry,rz를 읽어서 저장하고

send_coords()를 이용하여 저장된 위치로 이동시키면 간단하게 만들수 있다.

 

get_coords
Prototype: get_coords()

Description: Get the Coords from robot arm, coordinate system based on base.

Returns: list: A float list of coord - [x, y, z, rx, ry, rz]

send_coords
Prototype: send_coords(coords, speed, mode)

Description: Send all coords to robot arm.

Parameters

coords: a list of coords value(List[float]), length 6.
speed: (int) 0 ~ 100
mode: (int): 0 - angular, 1 - linear
Example

from pymycobot.mycobot import MyCobot
from pymycobot.genre import Coord

mycobot = MyCobot('/dev/ttyUSB0')
mycobot.send_coords([160, 160, 160, 0, 0, 0], 70, 0)

[링크 : https://docs.elephantrobotics.com/docs/gitbook-en/7-ApplicationBasePython/7.8_API.html#getcoords]

 

atom 버튼을 눌러서 자동으로 좌표 나오게 한다거나

서보의 힘을 빼는게 아니라 약하게 해서 위치를 살짝 트는건 안되려나?

release_all_servo()는 전원 끈마냥 훅 쓰러지니 주의

[링크 : https://docs.elephantrobotics.com/docs/gitbook-en/7-ApplicationBasePython/7.8_API.html#releaseallservos]

'embeded > robot' 카테고리의 다른 글

elephantrobotics Mycobot-pi atom  (0) 2024.07.11
산업로봇과 협동로봇의 차이  (0) 2023.12.21
ROS rviz  (0) 2023.12.21
오일러 각 / 짐벌락 / 쿼터니언  (0) 2023.12.21
6축 로봇 좌표계(TCP?)  (0) 2023.12.15
Posted by 구차니
embeded/robot2023. 12. 21. 17:57

대충 요약(?)하자면

 

안전 측면에서 협동로봇은 산업로봇보다 힘이 약하고 느리며, 안전 펜스도 없어도 됨

설치 측면에서 협동로봇은 사용자가 학습을 시킬수 있으나, 산업로봇은 전문 프로그래머가 바꾸어야 함

 

반대로 생각하면 협동로봇은

힘이 약하고 느린대신(고출력 모터를 사용하지 않아 가격이 낮아짐?)

안전 펜스등을 통한 사용자와 분리할 필요가 없고(즉 안전관리자나 설치레벨에서의 안전 고려가 빠져도 된다)

사용자가 프로그래밍을 수정할 수 있다(학습/티칭) 정도고 구분이 될 듯

 

다만 사용자가 프로그램을 수정할 수 있도록 하기 위해

서보에 엔코더가 들어가서 외력에 의해서 움직이는 각도를 읽어낼수 있어야 하기 때문에

저출력으로 인한 가격 하락분이 상쇄될수도 있을 듯.

 

 

[링크 : https://www.myrobotsolution.com/contents/success-story/3aOp7xvmOuqBOjWsCbcR]

[링크 : https://blog.naver.com/universalrobots/221565530432]

[링크 : https://www.korearobot.or.kr/wp/wp-content/uploads/2021/06/특허청-로봇IP-협동로봇-특집편.pdf]

'embeded > robot' 카테고리의 다른 글

elephantrobotics Mycobot-pi atom  (0) 2024.07.11
elephant robotics cobot python api  (0) 2023.12.21
ROS rviz  (0) 2023.12.21
오일러 각 / 짐벌락 / 쿼터니언  (0) 2023.12.21
6축 로봇 좌표계(TCP?)  (0) 2023.12.15
Posted by 구차니
embeded/i.mx 8m plus2023. 12. 21. 15:51

i.MX Machine Learning User's Guide에 있는거 테스트 해봄

The behavior is as follows:
• If USE_GPU_INFERENCE=1, the graph is executed on the GPU
• Otherwise, the graph is executed on the NPU (if available)
By default, the NPU is used for OpenVX graph execution.

 

전체 실행시간으로는 neon 이 가장 빨랐고, inference 시간으로는 NPU가 가장 빨랐다.

의외로 GPU 가속이 NEON만도 못하다는 충격적인(!) 결과가..

root@imx8mpevk:/usr/bin/tensorflow-lite-2.12.1/examples# time ./label_image 
INFO: Loaded model ./mobilenet_v1_1.0_224_quant.tflite
INFO: resolved reporter
INFO: invoked
INFO: average time: 41.16 ms
INFO: 0.764706: 653 military uniform
INFO: 0.121569: 907 Windsor tie
INFO: 0.0156863: 458 bow tie
INFO: 0.0117647: 466 bulletproof vest
INFO: 0.00784314: 835 suit

real    0m0.173s
user    0m0.520s
sys     0m0.024s
root@imx8mpevk:/usr/bin/tensorflow-lite-2.12.1/examples# time USE_GPU_INFERENCE=0 ./label_image --external_delegate_path=/usr/lib/libvx_delegate.so
INFO: Loaded model ./mobilenet_v1_1.0_224_quant.tflite
INFO: resolved reporter
Vx delegate: allowed_cache_mode set to 0.
Vx delegate: device num set to 0.
Vx delegate: allowed_builtin_code set to 0.
Vx delegate: error_during_init set to 0.
Vx delegate: error_during_prepare set to 0.
Vx delegate: error_during_invoke set to 0.
EXTERNAL delegate created.
INFO: Applied EXTERNAL delegate.
W [HandleLayoutInfer:291]Op 162: default layout inference pass.
INFO: invoked
INFO: average time: 2.861 ms
INFO: 0.768627: 653 military uniform
INFO: 0.105882: 907 Windsor tie
INFO: 0.0196078: 458 bow tie
INFO: 0.0117647: 466 bulletproof vest
INFO: 0.00784314: 835 suit

real    0m3.116s
user    0m2.916s
sys     0m0.195s
root@imx8mpevk:/usr/bin/tensorflow-lite-2.12.1/examples# time USE_GPU_INFERENCE=1 ./label_image --external_delegate_path=/usr/lib/libvx_delegate.so
INFO: Loaded model ./mobilenet_v1_1.0_224_quant.tflite
INFO: resolved reporter
Vx delegate: allowed_cache_mode set to 0.
Vx delegate: device num set to 0.
Vx delegate: allowed_builtin_code set to 0.
Vx delegate: error_during_init set to 0.
Vx delegate: error_during_prepare set to 0.
Vx delegate: error_during_invoke set to 0.
EXTERNAL delegate created.
INFO: Applied EXTERNAL delegate.
W [query_hardware_caps:89]Unsupported evis version
W [HandleLayoutInfer:291]Op 162: default layout inference pass.
INFO: invoked
INFO: average time: 171.261 ms
INFO: 0.784314: 653 military uniform
INFO: 0.105882: 907 Windsor tie
INFO: 0.0156863: 458 bow tie
INFO: 0.00784314: 466 bulletproof vest
INFO: 0.00392157: 835 suit

real    0m1.992s
user    0m1.377s
sys     0m0.103s

'embeded > i.mx 8m plus' 카테고리의 다른 글

sounddevice on arm i.mx8 evk  (0) 2024.05.14
missed: not vectorized: relevant stmt not supported:  (0) 2023.08.31
nxp i.mx8mp win iot part 2  (0) 2023.05.26
nxp i.mx8mp win iot  (0) 2023.05.26
rpmsg-lite  (0) 2023.03.23
Posted by 구차니
embeded/robot2023. 12. 21. 15:34

'embeded > robot' 카테고리의 다른 글

elephantrobotics Mycobot-pi atom  (0) 2024.07.11
elephant robotics cobot python api  (0) 2023.12.21
산업로봇과 협동로봇의 차이  (0) 2023.12.21
오일러 각 / 짐벌락 / 쿼터니언  (0) 2023.12.21
6축 로봇 좌표계(TCP?)  (0) 2023.12.15
Posted by 구차니
embeded/robot2023. 12. 21. 13:46

rx,ry,rz 에서 

rx = 90, ry = 0, rz = 0에서

rx = 90 , ry=90, rz = 0 해도 안움직이길래

90도라서 상쇄되서 그런가 아니면 못가는건가 싶었는데

 

짐벌락 때문에 그런건가 싶기도 하고.. 아직은 헷갈리는 중

[링크 : https://handhp1.tistory.com/3]

[링크 : https://www.youtube.com/watch?v=zc8b2Jo7mno]

 

쿼터니언(사원수)으로 하면 짐벌락을 피할수 있다고

[링크 : https://showmiso.tistory.com/57]

'embeded > robot' 카테고리의 다른 글

elephantrobotics Mycobot-pi atom  (0) 2024.07.11
elephant robotics cobot python api  (0) 2023.12.21
산업로봇과 협동로봇의 차이  (0) 2023.12.21
ROS rviz  (0) 2023.12.21
6축 로봇 좌표계(TCP?)  (0) 2023.12.15
Posted by 구차니
embeded/esp322023. 12. 19. 21:49

윈도우용 git을 설치하고 콘솔에서 작업(그냥 zip으로 받아서 하니 git 저장소 아니라고 에러남)

C:\src>git clone https://github.com/espressif/esp-at.git
Cloning into 'esp-at'...
remote: Enumerating objects: 18034, done.
remote: Counting objects: 100% (2395/2395), done.
remote: Compressing objects: 100% (371/371), done.
remote: Total 18034 (delta 2095), reused 2224 (delta 2021), pack-reused 15639
Receiving objects: 100% (18034/18034), 148.07 MiB | 11.06 MiB/s, done.
Resolving deltas:  44% (5230/11885)
Resolving deltas: 100% (11885/11885), done.

C:\src>cd esp-at

C:\src\esp-at>dir
 C 드라이브의 볼륨에는 이름이 없습니다.
 볼륨 일련 번호: AE98-BEEF

 C:\src\esp-at 디렉터리

2023-12-19  오후 09:25    <DIR>          .
2023-12-19  오후 09:25    <DIR>          ..
2023-12-19  오후 09:25    <DIR>          .github
2023-12-19  오후 09:25               442 .gitignore
2023-12-19  오후 09:25            24,463 .gitlab-ci.yml
2023-12-19  오후 09:25             1,934 .glab-ci.yml
2023-12-19  오후 09:25            22,911 build.py
2023-12-19  오후 09:25             5,332 CMakeLists.txt
2023-12-19  오후 09:25    <DIR>          components
2023-12-19  오후 09:25    <DIR>          docs
2023-12-19  오후 09:25    <DIR>          examples
2023-12-19  오후 09:25             1,209 LICENSE
2023-12-19  오후 09:25    <DIR>          main
2023-12-19  오후 09:25    <DIR>          module_config
2023-12-19  오후 09:25             7,336 README.md
2023-12-19  오후 09:25               565 requirements.txt
2023-12-19  오후 09:25    <DIR>          tools
               8개 파일              64,192 바이트
               9개 디렉터리  210,293,719,040 바이트 남음

 

근데 이거 하면 자동으로 esp32-idf 까지 설치되는건가?

C:\src\esp-at>python build.py install
Ready to install ESP-IDF prerequisites..
Windows Installer Download has already installed all prerequisites.
Ready to install ESP-AT prerequisites..
Requirement already satisfied: setuptools>=21 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 4)) (69.0.2)
Requirement already satisfied: cryptography<35,>=2.1.4 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 9)) (3.4.8)
Requirement already satisfied: pycryptodome==3.15.0 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 10)) (3.15.0)
Requirement already satisfied: idf-component-manager==1.4.1 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 11)) (1.4.1)
Requirement already satisfied: pyyaml in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 14)) (6.0.1)
Requirement already satisfied: xlrd in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 15)) (2.0.1)
Requirement already satisfied: configparser in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 16)) (6.0.0)
Requirement already satisfied: cachecontrol[filecache] in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.13.1)
Requirement already satisfied: click in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (8.0.4)
Requirement already satisfied: colorama in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.4.6)
Requirement already satisfied: packaging in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (23.2)
Requirement already satisfied: pyparsing in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.0.9)
Requirement already satisfied: requests in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (2.31.0)
Requirement already satisfied: requests-file in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.5.1)
Requirement already satisfied: requests-toolbelt in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.0.0)
Requirement already satisfied: schema in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.7.5)
Requirement already satisfied: six in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.16.0)
Requirement already satisfied: tqdm in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (4.66.1)
Requirement already satisfied: urllib3<2 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.26.18)
Requirement already satisfied: cffi>=1.12 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (1.16.0)
Requirement already satisfied: pycparser in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cffi>=1.12->cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (2.21)
Requirement already satisfied: msgpack>=0.5.2 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cachecontrol[filecache]->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.0.7)
Requirement already satisfied: filelock>=3.8.0 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cachecontrol[filecache]->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.13.1)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.6)
Requirement already satisfied: certifi>=2017.4.17 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (2023.11.17)
Requirement already satisfied: contextlib2>=0.5.5 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from schema->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (21.6.0)

[notice] A new release of pip available: 22.3.1 -> 23.3.2
[notice] To update, run: python.exe -m pip install --upgrade pip
Platform name:
1. PLATFORM_ESP32
2. PLATFORM_ESP32C3
3. PLATFORM_ESP32C2
4. PLATFORM_ESP32C6
choose(range[1,4]):1

Module name:
1. WROOM-32
2. WROVER-32
3. PICO-D4
4. SOLO-1
5. MINI-1 (description: ESP32-U4WDH chip inside)
6. ESP32-SDIO
7. ESP32-D2WD (description: 2MB flash, No OTA)
choose(range[1,7]):1

Enable silence mode to remove some logs and reduce the firmware size?
0. No
1. Yes
choose(range[0,1]):1
Platform name:ESP32     Module name:WROOM-32    Silence:1
Cloning into submodule:"esp-idf" from "https://github.com/espressif/esp-idf.git" (This may take some time)..
Cloning into 'esp-idf'...
remote: Enumerating objects: 544288, done.
remote: Counting objects: 100% (90760/90760), done.
remote: Compressing objects: 100% (4388/4388), done.
remote: Total 544288 (delta 86693), reused 87944 (delta 86224), pack-reused 453528Receiving objects: 100% (544288/544288), 237.83 Mi

Resolving deltas: 100% (410637/410637), done.
Updating files: 100% (10137/10137), done.
Synchronizing submodule:"esp-idf" from "https://github.com/espressif/esp-idf.git" (This may take time)..
old commit: 9fe3bf2a3cdfae3f2a7bbc846561be6b3e540337
checkout commit: 8fbf4ba6058bcf736317d8a7aa75d0578563c38b
From https://github.com/espressif/esp-idf
 * branch                  release/v5.0 -> FETCH_HEAD
Already up to date.
Submodule 'components/bootloader/subproject/components/micro-ecc/micro-ecc' (https://github.com/kmackay/micro-ecc.git) registered for path 'components/bootloader/subproject/components/micro-ecc/micro-ecc'
Submodule 'components/bt/controller/lib_esp32' (https://github.com/espressif/esp32-bt-lib.git) registered for path 'components/bt/controller/lib_esp32'
Submodule 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib' (https://github.com/espressif/esp32c2-bt-lib.git) registered for path 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib'
Submodule 'components/bt/controller/lib_esp32c3_family' (https://github.com/espressif/esp32c3-bt-lib.git) registered for path 'components/bt/controller/lib_esp32c3_family'
Submodule 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib' (https://github.com/espressif/esp32h2-bt-lib.git) registered for path 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib'
Submodule 'components/bt/host/nimble/nimble' (https://github.com/espressif/esp-nimble.git) registered for path 'components/bt/host/nimble/nimble'
Submodule 'components/cmock/CMock' (https://github.com/ThrowTheSwitch/CMock.git) registered for path 'components/cmock/CMock'
Submodule 'components/esp_phy/lib' (https://github.com/espressif/esp-phy-lib.git) registered for path 'components/esp_phy/lib'
Submodule 'components/esp_wifi/lib' (https://github.com/espressif/esp32-wifi-lib.git) registered for path 'components/esp_wifi/lib'
Submodule 'components/heap/tlsf' (https://github.com/espressif/tlsf.git) registered for path 'components/heap/tlsf'
Submodule 'components/ieee802154/lib' (https://github.com/espressif/esp-ieee802154-lib.git) registered for path 'components/ieee802154/lib'
Submodule 'components/json/cJSON' (https://github.com/DaveGamble/cJSON.git) registered for path 'components/json/cJSON'
Submodule 'components/lwip/lwip' (https://github.com/espressif/esp-lwip.git) registered for path 'components/lwip/lwip'
Submodule 'components/mbedtls/mbedtls' (https://github.com/espressif/mbedtls.git) registered for path 'components/mbedtls/mbedtls'
Submodule 'components/mqtt/esp-mqtt' (https://github.com/espressif/esp-mqtt.git) registered for path 'components/mqtt/esp-mqtt'
Submodule 'components/openthread/lib' (https://github.com/espressif/esp-thread-lib.git) registered for path 'components/openthread/lib'
Submodule 'components/openthread/openthread' (https://github.com/espressif/openthread.git) registered for path 'components/openthread/openthread'
Submodule 'components/protobuf-c/protobuf-c' (https://github.com/protobuf-c/protobuf-c.git) registered for path 'components/protobuf-c/protobuf-c'
Submodule 'components/spiffs/spiffs' (https://github.com/pellepl/spiffs.git) registered for path 'components/spiffs/spiffs'
Submodule 'components/unity/unity' (https://github.com/ThrowTheSwitch/Unity.git) registered for path 'components/unity/unity'
Cloning into 'C:/src/esp-at/esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc'...
Cloning into 'C:/src/esp-at/esp-idf/components/bt/controller/lib_esp32'...
Cloning into 'C:/src/esp-at/esp-idf/components/bt/controller/lib_esp32c2/esp32c2-bt-lib'...
Cloning into 'C:/src/esp-at/esp-idf/components/bt/controller/lib_esp32c3_family'...
Cloning into 'C:/src/esp-at/esp-idf/components/bt/controller/lib_esp32h2/esp32h2-bt-lib'...
Cloning into 'C:/src/esp-at/esp-idf/components/bt/host/nimble/nimble'...
Cloning into 'C:/src/esp-at/esp-idf/components/cmock/CMock'...
Cloning into 'C:/src/esp-at/esp-idf/components/esp_phy/lib'...
Cloning into 'C:/src/esp-at/esp-idf/components/esp_wifi/lib'...
Cloning into 'C:/src/esp-at/esp-idf/components/heap/tlsf'...
Cloning into 'C:/src/esp-at/esp-idf/components/ieee802154/lib'...
Cloning into 'C:/src/esp-at/esp-idf/components/json/cJSON'...
Cloning into 'C:/src/esp-at/esp-idf/components/lwip/lwip'...
Cloning into 'C:/src/esp-at/esp-idf/components/mbedtls/mbedtls'...
Cloning into 'C:/src/esp-at/esp-idf/components/mqtt/esp-mqtt'...
Cloning into 'C:/src/esp-at/esp-idf/components/openthread/lib'...
Cloning into 'C:/src/esp-at/esp-idf/components/openthread/openthread'...
Cloning into 'C:/src/esp-at/esp-idf/components/protobuf-c/protobuf-c'...
Cloning into 'C:/src/esp-at/esp-idf/components/spiffs/spiffs'...
Cloning into 'C:/src/esp-at/esp-idf/components/unity/unity'...
Submodule path 'components/bootloader/subproject/components/micro-ecc/micro-ecc': checked out 'd037ec89546fad14b5c4d5456c2e23a71e554966'
Submodule path 'components/bt/controller/lib_esp32': checked out '29e3ff2f39f16ff71e24bdd25ea87a0306e5b24b'
Submodule path 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib': checked out 'd17188c9f61400792a8248bf53378ee92e6f21a4'
Submodule path 'components/bt/controller/lib_esp32c3_family': checked out 'b438f60a295183e7c67eb42ae05f4580f4b1ced0'
Submodule path 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib': checked out 'f502278684195b9c20626ec8bb25430030d2ff23'
Submodule path 'components/bt/host/nimble/nimble': checked out '55c809a7525102508c97efc5fe50560e381fdc69'
Submodule path 'components/cmock/CMock': checked out 'eeecc49ce8af123cf8ad40efdb9673e37b56230f'
Submodule 'vendor/c_exception' (https://github.com/throwtheswitch/cexception.git) registered for path 'components/cmock/CMock/vendor/c_exception'
Submodule 'vendor/unity' (https://github.com/throwtheswitch/unity.git) registered for path 'components/cmock/CMock/vendor/unity'
Cloning into 'C:/src/esp-at/esp-idf/components/cmock/CMock/vendor/c_exception'...
Cloning into 'C:/src/esp-at/esp-idf/components/cmock/CMock/vendor/unity'...
Submodule path 'components/cmock/CMock/vendor/c_exception': checked out '71b47be7c950f1bf5f7e5303779fa99a16224bb6'
Submodule path 'components/cmock/CMock/vendor/unity': checked out 'cf949f45ca6d172a177b00da21310607b97bc7a7'
Submodule path 'components/esp_phy/lib': checked out '086ac00e9894431f5cdbad6d8a8727c4acbd3f91'
Submodule path 'components/esp_wifi/lib': checked out 'c8c75f7b7bc54a16f196f9396c3d231d30750ab1'
Submodule path 'components/heap/tlsf': checked out '8c9cd0517adf99e363812e9a295dfe3898fdd345'
Submodule path 'components/ieee802154/lib': checked out '2b52a261fef2ad7b630e11866dca567d17170401'
Submodule path 'components/json/cJSON': checked out 'cb8693b058ba302f4829ec6d03f609ac6f848546'
Submodule path 'components/lwip/lwip': checked out '8dad8d3ee66840deee4acfc1601de4e396c594be'
Submodule path 'components/mbedtls/mbedtls': checked out '727a037da6f9a62a9d3d5def5bd21a2bc9c621c6'
Submodule path 'components/mqtt/esp-mqtt': checked out 'ae53d799da294f03ef65c33e88fa33648e638134'
Submodule path 'components/openthread/lib': checked out '698e8386c31f2c34e167b65f72a6b2553e838dd9'
Submodule path 'components/openthread/openthread': checked out 'e64ba13faa865aa7febd5cb7dc7eb52ff19a2c5c'
Submodule path 'components/protobuf-c/protobuf-c': checked out 'abc67a11c6db271bedbb9f58be85d6f4e2ea8389'
Submodule path 'components/spiffs/spiffs': checked out '0dbb3f71c5f6fae3747a9d935372773762baf852'
Submodule path 'components/unity/unity': checked out '7d2bf62b7e6afaf38153041a9d53c21aeeca9a25'
submodules check completed for updates.
mbedtls_dynamic_buffer.patch has been applied
patches check completed for updates.
Ready to set up ESP-IDF tools..
Python 3.11.2
pip 22.3.1 from C:\Espressif\python_env\idf5.1_py3.11_env\Lib\site-packages\pip (python 3.11)
Upgrading pip and setuptools...
Requirement already satisfied: pip in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (22.3.1)
Collecting pip
  Downloading pip-23.3.2-py3-none-any.whl (2.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 10.3 MB/s eta 0:00:00
Requirement already satisfied: setuptools in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (69.0.2)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 22.3.1
    Uninstalling pip-22.3.1:
      Successfully uninstalled pip-22.3.1
Successfully installed pip-23.3.2
Downloading https://dl.espressif.com/dl/esp-idf/espidf.constraints.v5.0.txt
Destination: C:\Espressif\espidf.constraints.v5.0.txt.tmp
Done
Installing Python packages
 Constraint file: C:\Espressif\espidf.constraints.v5.0.txt
 Requirement files:
  - C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt
Looking in indexes: https://pypi.org/simple, https://dl.espressif.com/pypi
Ignoring importlib_metadata: markers 'python_version < "3.8"' don't match your environment
Requirement already satisfied: setuptools in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 3)) (69.0.2)
Requirement already satisfied: packaging in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 4)) (23.2)
Requirement already satisfied: click in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 7)) (8.0.4)
Requirement already satisfied: pyserial in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 8)) (3.5)
Collecting future (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 9))
  Downloading https://dl.espressif.com/pypi/future/future-0.18.2-py3-none-any.whl (491 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.1/491.1 kB 10.2 MB/s eta 0:00:00
Requirement already satisfied: cryptography in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 10)) (3.4.8)
Collecting cryptography (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 10))
  Downloading https://dl.espressif.com/pypi/cryptography/cryptography-36.0.2-cp36-abi3-win_amd64.whl (2.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 6.6 MB/s eta 0:00:00
Requirement already satisfied: pyparsing in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 11)) (3.0.9)
Collecting pyelftools (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 12))
  Downloading https://dl.espressif.com/pypi/pyelftools/pyelftools-0.27-py2.py3-none-any.whl (151 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.6/151.6 kB 4.4 MB/s eta 0:00:00
Requirement already satisfied: idf-component-manager in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (1.4.1)
Requirement already satisfied: esp-coredump in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 14)) (1.8.0)
Collecting esp-coredump (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 14))
  Downloading https://dl.espressif.com/pypi/esp-coredump/esp_coredump-1.9.0-py3-none-any.whl (39 kB)
Requirement already satisfied: esptool in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 15)) (4.7.dev3)
Collecting esptool (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 15))
  Downloading https://dl.espressif.com/pypi/esptool/esptool-4.7.0-py3-none-any.whl (370 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 370.2/370.2 kB 11.6 MB/s eta 0:00:00
Requirement already satisfied: kconfiglib in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 18)) (14.1.0)
Requirement already satisfied: windows-curses in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 19)) (2.3.2)
Requirement already satisfied: freertos_gdb in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 22)) (1.0.2)
Requirement already satisfied: colorama in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from click->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 7)) (0.4.6)
Requirement already satisfied: cffi>=1.12 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cryptography->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 10)) (1.16.0)
Requirement already satisfied: cachecontrol[filecache] in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (0.13.1)
Requirement already satisfied: pyyaml in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (6.0.1)
Requirement already satisfied: requests in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (2.31.0)
Requirement already satisfied: requests-file in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (1.5.1)
Requirement already satisfied: requests-toolbelt in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (1.0.0)
Requirement already satisfied: schema in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (0.7.5)
Requirement already satisfied: six in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (1.16.0)
Requirement already satisfied: tqdm in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (4.66.1)
Requirement already satisfied: urllib3<2 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (1.26.18)
Requirement already satisfied: construct~=2.10 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from esp-coredump->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 14)) (2.10.69)
Requirement already satisfied: pygdbmi>=0.9.0.2 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from esp-coredump->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 14)) (0.9.0.2)
Requirement already satisfied: bitstring>=3.1.6 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from esptool->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 15)) (4.1.3)
Requirement already satisfied: ecdsa>=0.16.0 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from esptool->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 15)) (0.18.0)
Requirement already satisfied: reedsolo<1.8,>=1.5.3 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from esptool->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 15)) (1.7.0)
Requirement already satisfied: intelhex in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from esptool->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 15)) (2.3.0)
Requirement already satisfied: bitarray<3.0.0,>=2.8.0 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from bitstring>=3.1.6->esptool->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 15)) (2.8.3)
Requirement already satisfied: pycparser in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cffi>=1.12->cryptography->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 10)) (2.21)
Requirement already satisfied: msgpack>=0.5.2 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cachecontrol[filecache]->idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (1.0.7)
Requirement already satisfied: filelock>=3.8.0 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cachecontrol[filecache]->idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (3.13.1)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from requests->idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from requests->idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (3.6)
Requirement already satisfied: certifi>=2017.4.17 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from requests->idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (2023.11.17)
Requirement already satisfied: contextlib2>=0.5.5 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from schema->idf-component-manager->-r C:\src\esp-at\esp-idf\tools\requirements\requirements.core.txt (line 13)) (21.6.0)
Installing collected packages: pyelftools, future, cryptography, esptool, esp-coredump
  Attempting uninstall: pyelftools
    Found existing installation: pyelftools 0.29
    Uninstalling pyelftools-0.29:
      Successfully uninstalled pyelftools-0.29
  Attempting uninstall: cryptography
    Found existing installation: cryptography 3.4.8
    Uninstalling cryptography-3.4.8:
      Successfully uninstalled cryptography-3.4.8
  Attempting uninstall: esptool
    Found existing installation: esptool 4.7.dev3
    Uninstalling esptool-4.7.dev3:
      Successfully uninstalled esptool-4.7.dev3
  Attempting uninstall: esp-coredump
    Found existing installation: esp-coredump 1.8.0
    Uninstalling esp-coredump-1.8.0:
      Successfully uninstalled esp-coredump-1.8.0
Successfully installed cryptography-36.0.2 esp-coredump-1.9.0 esptool-4.7.0 future-0.18.2 pyelftools-0.27
Current system platform: win64
Updating C:\Espressif\idf-env.json
Selected targets are: esp32
Installing tools: xtensa-esp-elf-gdb, xtensa-esp32-elf, esp32ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, esp-rom-elfs
Installing xtensa-esp-elf-gdb@11.2_20220823
Downloading https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/xtensa-esp-elf-gdb-11.2_20220823-x86_64-w64-mingw32.zip
Destination: C:\Espressif\dist\xtensa-esp-elf-gdb-11.2_20220823-x86_64-w64-mingw32.zip.tmp
Done
Extracting C:\Espressif\dist\xtensa-esp-elf-gdb-11.2_20220823-x86_64-w64-mingw32.zip to C:\Espressif\tools\xtensa-esp-elf-gdb\11.2_20220823
Installing xtensa-esp32-elf@esp-2022r1-11.2.0
Downloading https://github.com/espressif/crosstool-NG/releases/download/esp-2022r1/xtensa-esp32-elf-gcc11_2_0-esp-2022r1-win64.zip
Destination: C:\Espressif\dist\xtensa-esp32-elf-gcc11_2_0-esp-2022r1-win64.zip.tmp
Done
Extracting C:\Espressif\dist\xtensa-esp32-elf-gcc11_2_0-esp-2022r1-win64.zip to C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0
Skipping esp32ulp-elf@2.35_20220830 (already installed)
Skipping cmake@3.24.0 (already installed)
Installing openocd-esp32@v0.12.0-esp32-20230419
Downloading https://github.com/espressif/openocd-esp32/releases/download/v0.12.0-esp32-20230419/openocd-esp32-win32-0.12.0-esp32-20230419.zip
Destination: C:\Espressif\dist\openocd-esp32-win32-0.12.0-esp32-20230419.zip.tmp
Done
Extracting C:\Espressif\dist\openocd-esp32-win32-0.12.0-esp32-20230419.zip to C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419
Skipping ninja@1.10.2 (already installed)
Skipping idf-exe@1.0.3 (already installed)
Installing ccache@4.6.2
Downloading https://github.com/ccache/ccache/releases/download/v4.6.2/ccache-4.6.2-windows-x86_64.zip
Destination: C:\Espressif\dist\ccache-4.6.2-windows-x86_64.zip.tmp
Done
Extracting C:\Espressif\dist\ccache-4.6.2-windows-x86_64.zip to C:\Espressif\tools\ccache\4.6.2
Installing esp-rom-elfs@20220823
Downloading https://github.com/espressif/esp-rom-elfs/releases/download/20220823/esp-rom-elfs-20220823.tar.gz
Destination: C:\Espressif\dist\esp-rom-elfs-20220823.tar.gz.tmp
Done
Extracting C:\Espressif\dist\esp-rom-elfs-20220823.tar.gz to C:\Espressif\tools\esp-rom-elfs\20220823
Ready to set up environment variables..
PATH is C:\Espressif\tools\xtensa-esp-elf-gdb\12.1_20221002\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin;C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Espressif\tools\cmake\3.24.0\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:\Espressif\tools\ninja\1.10.2\;C:\Espressif\tools\idf-exe\1.0.3\;C:\Espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:\Espressif\frameworks\esp-idf-v5.1.2\tools;C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\;C:\Espressif\tools\idf-git\2.39.2\cmd\;C:\Espressif;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Bandizip\;C:\Program Files\Git\cmd;C:\Users\shin\AppData\Local\Microsoft\WindowsApps;
IDF_PYTHON_ENV_PATH is C:\Espressif\python_env\idf5.1_py3.11_env
sys.platform is win32
Not using an unsupported version of tool xtensa-esp-elf-gdb found in PATH: 12.1_20221002. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool xtensa-esp32-elf found in PATH: esp-12.2.0_20230208-12.2.0. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool openocd-esp32 found in PATH: v0.12.0-esp32-20230921. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool ccache found in PATH: 4.8. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
export str is OPENOCD_SCRIPTS=C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419\openocd-esp32\share\openocd\scripts
ESP_ROM_ELF_DIR=C:\Espressif\tools\esp-rom-elfs\20220823\
ESP_IDF_VERSION=5.0
PATH=C:\Espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419\openocd-esp32\bin;C:\Espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64;C:\src\esp-at\esp-idf\tools;%PATH%
IDF_DEACTIVATE_FILE_PATH=C:\Users\shin\AppData\Local\Temp\tmpvn9mlhu6idf_6516

PATH is C:\Espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419\openocd-esp32\bin;C:\Espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64;C:\src\esp-at\esp-idf\tools;%PATH%;C:\Espressif\tools\xtensa-esp-elf-gdb\12.1_20221002\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin;C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Espressif\tools\cmake\3.24.0\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:\Espressif\tools\ninja\1.10.2\;C:\Espressif\tools\idf-exe\1.0.3\;C:\Espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:\Espressif\frameworks\esp-idf-v5.1.2\tools;C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\;C:\Espressif\tools\idf-git\2.39.2\cmd\;C:\Espressif;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Bandizip\;C:\Program Files\Git\cmd;C:\Users\shin\AppData\Local\Microsoft\WindowsApps;
IDF_PYTHON_ENV_PATH is C:\Espressif\python_env\idf5.1_py3.11_env
Ready to install ESP-AT python packages..
Requirement already satisfied: setuptools>=21 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 4)) (69.0.2)
Collecting cryptography<35,>=2.1.4 (from -r requirements.txt (line 9))
  Downloading cryptography-3.4.8-cp36-abi3-win_amd64.whl (1.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 10.3 MB/s eta 0:00:00
Requirement already satisfied: pycryptodome==3.15.0 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 10)) (3.15.0)
Requirement already satisfied: idf-component-manager==1.4.1 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 11)) (1.4.1)
Requirement already satisfied: pyyaml in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 14)) (6.0.1)
Requirement already satisfied: xlrd in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 15)) (2.0.1)
Requirement already satisfied: configparser in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from -r requirements.txt (line 16)) (6.0.0)
Requirement already satisfied: cachecontrol[filecache] in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.13.1)
Requirement already satisfied: click in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (8.0.4)
Requirement already satisfied: colorama in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.4.6)
Requirement already satisfied: packaging in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (23.2)
Requirement already satisfied: pyparsing in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.0.9)
Requirement already satisfied: requests in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (2.31.0)
Requirement already satisfied: requests-file in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.5.1)
Requirement already satisfied: requests-toolbelt in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.0.0)
Requirement already satisfied: schema in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.7.5)
Requirement already satisfied: six in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.16.0)
Requirement already satisfied: tqdm in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (4.66.1)
Requirement already satisfied: urllib3<2 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.26.18)
Requirement already satisfied: cffi>=1.12 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (1.16.0)
Requirement already satisfied: pycparser in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cffi>=1.12->cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (2.21)
Requirement already satisfied: msgpack>=0.5.2 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cachecontrol[filecache]->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.0.7)
Requirement already satisfied: filelock>=3.8.0 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from cachecontrol[filecache]->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.13.1)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.6)
Requirement already satisfied: certifi>=2017.4.17 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (2023.11.17)
Requirement already satisfied: contextlib2>=0.5.5 in c:\espressif\python_env\idf5.1_py3.11_env\lib\site-packages (from schema->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (21.6.0)
Installing collected packages: cryptography
  Attempting uninstall: cryptography
    Found existing installation: cryptography 36.0.2
    Uninstalling cryptography-36.0.2:
      Successfully uninstalled cryptography-36.0.2
Successfully installed cryptography-3.4.8

All done! You can now run:

  python build.py build

 

저전력 cpu라 그런가 윈도우에서 빌드하니 10분은 걸린듯.

C:\src\esp-at>python build.py build
Platform name:ESP32     Module name:WROOM-32    Silence:1
submodules check completed for updates.
mbedtls_dynamic_buffer.patch does not need to be applied.
patches check completed for updates.
Ready to set up environment variables..
PATH is C:\Espressif\tools\xtensa-esp-elf-gdb\12.1_20221002\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin;C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Espressif\tools\cmake\3.24.0\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:\Espressif\tools\ninja\1.10.2\;C:\Espressif\tools\idf-exe\1.0.3\;C:\Espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:\Espressif\frameworks\esp-idf-v5.1.2\tools;C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\;C:\Espressif\tools\idf-git\2.39.2\cmd\;C:\Espressif;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Bandizip\;C:\Program Files\Git\cmd;C:\Users\shin\AppData\Local\Microsoft\WindowsApps;
IDF_PYTHON_ENV_PATH is C:\Espressif\python_env\idf5.1_py3.11_env
sys.platform is win32
Not using an unsupported version of tool xtensa-esp-elf-gdb found in PATH: 12.1_20221002. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool xtensa-esp32-elf found in PATH: esp-12.2.0_20230208-12.2.0. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool openocd-esp32 found in PATH: v0.12.0-esp32-20230921. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool ccache found in PATH: 4.8. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
export str is OPENOCD_SCRIPTS=C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419\openocd-esp32\share\openocd\scripts
ESP_ROM_ELF_DIR=C:\Espressif\tools\esp-rom-elfs\20220823\
ESP_IDF_VERSION=5.0
PATH=C:\Espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419\openocd-esp32\bin;C:\Espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64;C:\src\esp-at\esp-idf\tools;%PATH%
IDF_DEACTIVATE_FILE_PATH=C:\Users\shin\AppData\Local\Temp\tmpnh28io_eidf_6604

PATH is C:\Espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419\openocd-esp32\bin;C:\Espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64;C:\src\esp-at\esp-idf\tools;%PATH%;C:\Espressif\tools\xtensa-esp-elf-gdb\12.1_20221002\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin;C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Espressif\tools\cmake\3.24.0\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:\Espressif\tools\ninja\1.10.2\;C:\Espressif\tools\idf-exe\1.0.3\;C:\Espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:\Espressif\frameworks\esp-idf-v5.1.2\tools;C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\;C:\Espressif\tools\idf-git\2.39.2\cmd\;C:\Espressif;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Bandizip\;C:\Program Files\Git\cmd;C:\Users\shin\AppData\Local\Microsoft\WindowsApps;
IDF_PYTHON_ENV_PATH is C:\Espressif\python_env\idf5.1_py3.11_env
Executing action: all (aliases: build)
Running cmake in directory C:\src\esp-at\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 C:\src\esp-at"...
silence:1 sdkconfig:C:/src/esp-at/module_config/module_esp32_default/sdkconfig_silence.defaults
esp-at branch: master
esp-at docs version: latest
-- Found Git: C:/Espressif/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.windows.1")
-- Component directory C:/src/esp-at/components/fs_image does not contain a CMakeLists.txt file. No component will be added
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
Dependencies lock doesn't exist, solving dependencies.
NOTICE: Skipping optional dependency: espressif/cmake_utilities
NOTICE: Skipping optional dependency: espressif/bootloader_support_plus
...Updating lock file at C:\src\esp-at\dependencies.lock
Processing 3 dependencies:
[1/3] espressif/esp_websocket_client (1.2.1)
[2/3] espressif/mdns (1.2.2)
[3/3] idf (5.0.4)
NOTICE: Skipping optional dependency: espressif/bootloader_support_plus
NOTICE: Skipping optional dependency: espressif/cmake_utilities
-- Project sdkconfig file C:/src/esp-at/sdkconfig
Loading defaults file C:/src/esp-at/module_config/module_esp32_default/sdkconfig_silence.defaults...
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Found Python3: C:/Espressif/python_env/idf5.1_py3.11_env/Scripts/python.exe (found version "3.11.2") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "esp-at" version: v3.2.0.0-82-ga02beacc
-- Adding linker script C:/src/esp-at/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script C:/src/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.api.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.libgcc.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-data.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.syscalls.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-funcs.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
silence:1, ld core:C:/src/esp-at/components/at/lib/libesp32_at_core_silence.a
Parsing CSV input...
Verifying table...
-- Components: app_trace app_update at bootloader bootloader_support bt cmock console customized_partitions cxx decoder driver efuse esp-tls esp_adc esp_app_format esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__esp_websocket_client espressif__mdns esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: C:/src/esp-at/esp-idf/components/app_trace C:/src/esp-at/esp-idf/components/app_update C:/src/esp-at/components/at C:/src/esp-at/esp-idf/components/bootloader C:/src/esp-at/esp-idf/components/bootloader_support C:/src/esp-at/esp-idf/components/bt C:/src/esp-at/esp-idf/components/cmock C:/src/esp-at/esp-idf/components/console C:/src/esp-at/components/customized_partitions C:/src/esp-at/esp-idf/components/cxx C:/src/esp-at/components/decoder C:/src/esp-at/esp-idf/components/driver C:/src/esp-at/esp-idf/components/efuse C:/src/esp-at/esp-idf/components/esp-tls C:/src/esp-at/esp-idf/components/esp_adc C:/src/esp-at/esp-idf/components/esp_app_format C:/src/esp-at/esp-idf/components/esp_common C:/src/esp-at/esp-idf/components/esp_eth C:/src/esp-at/esp-idf/components/esp_event C:/src/esp-at/esp-idf/components/esp_gdbstub C:/src/esp-at/esp-idf/components/esp_hid C:/src/esp-at/esp-idf/components/esp_http_client C:/src/esp-at/esp-idf/components/esp_http_server C:/src/esp-at/esp-idf/components/esp_https_ota C:/src/esp-at/esp-idf/components/esp_https_server C:/src/esp-at/esp-idf/components/esp_hw_support C:/src/esp-at/esp-idf/components/esp_lcd C:/src/esp-at/esp-idf/components/esp_local_ctrl C:/src/esp-at/esp-idf/components/esp_netif C:/src/esp-at/esp-idf/components/esp_partition C:/src/esp-at/esp-idf/components/esp_phy C:/src/esp-at/esp-idf/components/esp_pm C:/src/esp-at/esp-idf/components/esp_psram C:/src/esp-at/esp-idf/components/esp_ringbuf C:/src/esp-at/esp-idf/components/esp_rom C:/src/esp-at/esp-idf/components/esp_system C:/src/esp-at/esp-idf/components/esp_timer C:/src/esp-at/esp-idf/components/esp_wifi C:/src/esp-at/esp-idf/components/espcoredump C:/src/esp-at/managed_components/espressif__esp_websocket_client C:/src/esp-at/managed_components/espressif__mdns C:/src/esp-at/esp-idf/components/esptool_py C:/src/esp-at/esp-idf/components/fatfs C:/src/esp-at/esp-idf/components/freertos C:/src/esp-at/esp-idf/components/hal C:/src/esp-at/esp-idf/components/heap C:/src/esp-at/esp-idf/components/http_parser C:/src/esp-at/esp-idf/components/idf_test C:/src/esp-at/esp-idf/components/ieee802154 C:/src/esp-at/esp-idf/components/json C:/src/esp-at/esp-idf/components/log C:/src/esp-at/esp-idf/components/lwip C:/src/esp-at/main C:/src/esp-at/esp-idf/components/mbedtls C:/src/esp-at/esp-idf/components/mqtt C:/src/esp-at/esp-idf/components/newlib C:/src/esp-at/esp-idf/components/nvs_flash C:/src/esp-at/esp-idf/components/openthread C:/src/esp-at/esp-idf/components/partition_table C:/src/esp-at/esp-idf/components/perfmon C:/src/esp-at/esp-idf/components/protobuf-c C:/src/esp-at/esp-idf/components/protocomm C:/src/esp-at/esp-idf/components/pthread C:/src/esp-at/esp-idf/components/sdmmc C:/src/esp-at/esp-idf/components/soc C:/src/esp-at/esp-idf/components/spi_flash C:/src/esp-at/esp-idf/components/spiffs C:/src/esp-at/esp-idf/components/tcp_transport C:/src/esp-at/esp-idf/components/ulp C:/src/esp-at/esp-idf/components/unity C:/src/esp-at/esp-idf/components/usb C:/src/esp-at/esp-idf/components/vfs C:/src/esp-at/esp-idf/components/wear_levelling C:/src/esp-at/esp-idf/components/wifi_provisioning C:/src/esp-at/esp-idf/components/wpa_supplicant C:/src/esp-at/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/src/esp-at/build
Running ninja in directory C:\src\esp-at\build
Executing "ninja all"...
[4/1180] Generating ../../partition_table/partition-table.binPartition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
phy_init,data,phy,0xf000,4K,
otadata,data,ota,0x10000,8K,
nvs,data,nvs,0x12000,56K,
at_customize,64,0,0x20000,896K,
ota_0,app,ota_0,0x100000,1536K,
ota_1,app,ota_1,0x280000,1536K,
*******************************************************************************
[345/1180] Performing configure step for 'bootloader'-- Found Git: C:/Espressif/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.windows.1")
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file C:/src/esp-at/sdkconfig
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Adding linker script C:/src/esp-at/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- App "bootloader" version: v5.0.4-dirty
-- Adding linker script C:/src/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.api.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.libgcc.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-funcs.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script C:/src/esp-at/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: C:/src/esp-at/esp-idf/components/bootloader C:/src/esp-at/esp-idf/components/bootloader_support C:/src/esp-at/esp-idf/components/efuse C:/src/esp-at/esp-idf/components/esp_app_format C:/src/esp-at/esp-idf/components/esp_common C:/src/esp-at/esp-idf/components/esp_hw_support C:/src/esp-at/esp-idf/components/esp_rom C:/src/esp-at/esp-idf/components/esp_system C:/src/esp-at/esp-idf/components/esptool_py C:/src/esp-at/esp-idf/components/freertos C:/src/esp-at/esp-idf/components/hal C:/src/esp-at/esp-idf/components/log C:/src/esp-at/esp-idf/components/bootloader/subproject/main C:/src/esp-at/esp-idf/components/bootloader/subproject/components/micro-ecc C:/src/esp-at/esp-idf/components/newlib C:/src/esp-at/esp-idf/components/partition_table C:/src/esp-at/esp-idf/components/soc C:/src/esp-at/esp-idf/components/spi_flash C:/src/esp-at/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/src/esp-at/build/bootloader
[101/102] Generating binary image from built executableesptool.py v4.7.0
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Generated C:/src/esp-at/build/bootloader/bootloader.bin
[102/102] cmd.exe /C "cd /D C:\src\esp-at\build\bootloader\esp-i...bootloader 0x1000 C:/src/esp-at/build/bootloader/bootloader.bin"Bootloader binary size 0x6360 bytes. 0xca0 bytes (11%) free.
[612/1180] Running utility command for customized_bin
Creating NVS binary with version: V2 - Multipage Blob Support Enabled

Created NVS binary: ===> C:/src/esp-at/build/customized_partitions\mfg_nvs.bin
[1178/1180] Generating binary image from built executableesptool.py v4.7.0
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated C:/src/esp-at/build/esp-at.bin
[1179/1180] cmd.exe /C "cd /D C:\src\esp-at\build\esp-idf\esptoo...tition_table/partition-table.bin C:/src/esp-at/build/esp-at.bin"esp-at.bin binary size 0x162220 bytes. Smallest app partition is 0x180000 bytes. 0x1dde0 bytes (8%) free.
[1180/1180] Running utility command for factory_bin0x1000,bootloader/bootloader.bin
0x100000,esp-at.bin
0x8000,partition_table/partition-table.bin
0x10000,ota_data_initial.bin
0x20000,at_customize.bin
0x21000,customized_partitions/mfg_nvs.bin
Create C:/src/esp-at/build\factory\factory_WROOM-32.bin for WROOM-32 finished

Project build complete. To flash, run this command:
C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe esp-idf\components\esptool_py\esptool\esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32  write_flash --flash_mode dio --flash_size 4MB --flash_freq 40m 0x1000 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0x10000 build\ota_data_initial.bin 0x20000 build\at_customize.bin 0x21000 build\customized_partitions\mfg_nvs.bin 0x100000 build\esp-at.bin
or run 'idf.py -p (PORT) flash'

 

소스를 수정하고 (C:\src\esp-at\main\interface\uart\at_uart_task.c)

#if defined(CONFIG_IDF_TARGET_ESP32)
#define CONFIG_AT_UART_PORT_TX_PIN_DEFAULT          0 // 17
#define CONFIG_AT_UART_PORT_RX_PIN_DEFAULT          16
#define CONFIG_AT_UART_PORT_CTS_PIN_DEFAULT         15
#define CONFIG_AT_UART_PORT_RTS_PIN_DEFAULT         14
#ifndef CONFIG_AT_UART_PORT
#define CONFIG_AT_UART_PORT                         UART_NUM_1
#endif
#define AT_UART_BAUD_RATE_MAX                  5000000
#define AT_UART_BAUD_RATE_MIN                       80

 

다시 빌드

C:\src\esp-at>python build.py build
Platform name:ESP32     Module name:WROOM-32    Silence:1
submodules check completed for updates.
mbedtls_dynamic_buffer.patch does not need to be applied.
patches check completed for updates.
Ready to set up environment variables..
PATH is C:\Espressif\tools\xtensa-esp-elf-gdb\12.1_20221002\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin;C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Espressif\tools\cmake\3.24.0\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:\Espressif\tools\ninja\1.10.2\;C:\Espressif\tools\idf-exe\1.0.3\;C:\Espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:\Espressif\frameworks\esp-idf-v5.1.2\tools;C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\;C:\Espressif\tools\idf-git\2.39.2\cmd\;C:\Espressif;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Bandizip\;C:\Program Files\Git\cmd;C:\Users\shin\AppData\Local\Microsoft\WindowsApps;
IDF_PYTHON_ENV_PATH is C:\Espressif\python_env\idf5.1_py3.11_env
sys.platform is win32
Not using an unsupported version of tool xtensa-esp-elf-gdb found in PATH: 12.1_20221002. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool xtensa-esp32-elf found in PATH: esp-12.2.0_20230208-12.2.0. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool openocd-esp32 found in PATH: v0.12.0-esp32-20230921. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool ccache found in PATH: 4.8. To use it, run 'C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\src\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
export str is OPENOCD_SCRIPTS=C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419\openocd-esp32\share\openocd\scripts
ESP_ROM_ELF_DIR=C:\Espressif\tools\esp-rom-elfs\20220823\
ESP_IDF_VERSION=5.0
PATH=C:\Espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419\openocd-esp32\bin;C:\Espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64;C:\src\esp-at\esp-idf\tools;%PATH%
IDF_DEACTIVATE_FILE_PATH=C:\Users\shin\AppData\Local\Temp\tmpr67x0y1hidf_8128

PATH is C:\Espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419\openocd-esp32\bin;C:\Espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64;C:\src\esp-at\esp-idf\tools;%PATH%;C:\Espressif\tools\xtensa-esp-elf-gdb\12.1_20221002\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin;C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Espressif\tools\cmake\3.24.0\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:\Espressif\tools\ninja\1.10.2\;C:\Espressif\tools\idf-exe\1.0.3\;C:\Espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:\Espressif\frameworks\esp-idf-v5.1.2\tools;C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\;C:\Espressif\tools\idf-git\2.39.2\cmd\;C:\Espressif;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Bandizip\;C:\Program Files\Git\cmd;C:\Users\shin\AppData\Local\Microsoft\WindowsApps;
IDF_PYTHON_ENV_PATH is C:\Espressif\python_env\idf5.1_py3.11_env
Executing action: all (aliases: build)
Running ninja in directory C:\src\esp-at\build
Executing "ninja all"...
[1/1] cmd.exe /C "cd /D C:\src\esp-at\build\bootloader\esp-idf\e...bootloader 0x1000 C:/src/esp-at/build/bootloader/bootloader.bin"Bootloader binary size 0x6360 bytes. 0xca0 bytes (11%) free.
[2/9] Running utility command for customized_bin
Creating NVS binary with version: V2 - Multipage Blob Support Enabled

Created NVS binary: ===> C:/src/esp-at/build/customized_partitions\mfg_nvs.bin
[7/9] Generating binary image from built executableesptool.py v4.7.0
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated C:/src/esp-at/build/esp-at.bin
[8/9] cmd.exe /C "cd /D C:\src\esp-at\build\esp-idf\esptool_py &...tition_table/partition-table.bin C:/src/esp-at/build/esp-at.bin"esp-at.bin binary size 0x162220 bytes. Smallest app partition is 0x180000 bytes. 0x1dde0 bytes (8%) free.
[9/9] Running utility command for factory_bin0x1000,bootloader/bootloader.bin
0x100000,esp-at.bin
0x8000,partition_table/partition-table.bin
0x10000,ota_data_initial.bin
0x20000,at_customize.bin
0x21000,customized_partitions/mfg_nvs.bin
Create C:/src/esp-at/build\factory\factory_WROOM-32.bin for WROOM-32 finished

Project build complete. To flash, run this command:
C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe esp-idf\components\esptool_py\esptool\esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32  write_flash --flash_mode dio --flash_size 4MB --flash_freq 40m 0x1000 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0x10000 build\ota_data_initial.bin 0x20000 build\at_customize.bin 0x21000 build\customized_partitions\mfg_nvs.bin 0x100000 build\esp-at.bin
or run 'idf.py -p (PORT) flash'

C:\src\esp-at>

 

다운로드 모드 확인, 시리얼 포트 확인

 

다운로드

C:\src\esp-at>idf.py -p COM3 flash
Executing action: flash
Running ninja in directory C:\src\esp-at\build
Executing "ninja flash"...
[1/7] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D C:\src\esp-at\build\bootloader\esp-idf\esptool_py && C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:/src/esp-at/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/src/esp-at/build/bootloader/bootloader.bin"
Bootloader binary size 0x6360 bytes. 0xca0 bytes (11%) free.
[2/5] Running utility command for customized_bin

Creating NVS binary with version: V2 - Multipage Blob Support Enabled

Created NVS binary: ===> C:/src/esp-at/build/customized_partitions\mfg_nvs.bin
[3/5] cmd.exe /C "cd /D C:\src\esp-at\build\esp-idf\esptool_py && C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:/src/esp-at/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/src/esp-at/build/partition_table/partition-table.bin C:/src/esp-at/build/esp-at.bin"
esp-at.bin binary size 0x162220 bytes. Smallest app partition is 0x180000 bytes. 0x1dde0 bytes (8%) free.
[4/5] Running utility command for factory_bin
0x1000,bootloader/bootloader.bin
0x100000,esp-at.bin
0x8000,partition_table/partition-table.bin
0x10000,ota_data_initial.bin
0x20000,at_customize.bin
0x21000,customized_partitions/mfg_nvs.bin
Create C:/src/esp-at/build\factory\factory_WROOM-32.bin for WROOM-32 finished
[4/5] cmd.exe /C "cd /D C:\src\esp-at\esp-idf\components\esptool_py && C:\Espressif\tools\cmake\3.24.0\bin\cmake.exe -D IDF_PATH=C:/src/esp-at/esp-idf -D SERIAL_TOOL=C:/Espressif/python_env/idf5.1_py3.11_env/Scripts/python.exe;;C:/src/esp-at/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32 -D SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args -D WORKING_DIRECTORY=C:/src/esp-at/build -P C:/src/esp-at/esp-idf/components/esptool_py/run_serial_tool.cmake"
esptool.py --chip esp32 -p COM3 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 bootloader/bootloader.bin 0x100000 esp-at.bin 0x8000 partition_table/partition-table.bin 0x10000 ota_data_initial.bin 0x20000 at_customize.bin 0x21000 customized_partitions/mfg_nvs.bin
esptool.py v4.7.0
Serial port COM3
Connecting......
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 84:cc:a8:2f:0d:d0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00100000 to 0x00262fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x00011fff...
Flash will be erased from 0x00020000 to 0x00020fff...
Flash will be erased from 0x00021000 to 0x0003cfff...
Compressed 25440 bytes to 16041...
Writing at 0x00001000... (100 %)
Wrote 25440 bytes (16041 compressed) at 0x00001000 in 0.7 seconds (effective 288.7 kbit/s)...
Hash of data verified.
Compressed 1450528 bytes to 972218...
Writing at 0x00100000... (1 %)
Writing at 0x0010963d... (3 %)
Writing at 0x00110ce3... (5 %)
Writing at 0x00116ba0... (6 %)
Writing at 0x0012127f... (8 %)
Writing at 0x00126d95... (10 %)
Writing at 0x0012ca60... (11 %)
Writing at 0x00132bbe... (13 %)
Writing at 0x0013896a... (15 %)
Writing at 0x0013e89f... (16 %)
Writing at 0x00144b1f... (18 %)
Writing at 0x0014b63b... (20 %)
Writing at 0x00151cca... (21 %)
Writing at 0x0015769b... (23 %)
Writing at 0x0015d0f7... (25 %)
Writing at 0x00162943... (26 %)
Writing at 0x0016946d... (28 %)
Writing at 0x0016f58e... (30 %)
Writing at 0x00175808... (31 %)
Writing at 0x0017b59c... (33 %)
Writing at 0x001812f6... (35 %)
Writing at 0x00187197... (36 %)
Writing at 0x0018d4fc... (38 %)
Writing at 0x0019348b... (40 %)
Writing at 0x00198f2e... (41 %)
Writing at 0x0019ea42... (43 %)
Writing at 0x001a4bb3... (45 %)
Writing at 0x001aa5c7... (46 %)
Writing at 0x001afe1d... (48 %)
Writing at 0x001b5c0f... (50 %)
Writing at 0x001bb56a... (51 %)
Writing at 0x001c112f... (53 %)
Writing at 0x001c6a61... (55 %)
Writing at 0x001cc379... (56 %)
Writing at 0x001d282a... (58 %)
Writing at 0x001d8ad3... (60 %)
Writing at 0x001de3a3... (61 %)
Writing at 0x001e3cff... (63 %)
Writing at 0x001e9e72... (65 %)
Writing at 0x001efb12... (66 %)
Writing at 0x001f52c1... (68 %)
Writing at 0x001fabdc... (70 %)
Writing at 0x001ffe7e... (71 %)
Writing at 0x002052d6... (73 %)
Writing at 0x0020a64d... (75 %)
Writing at 0x0020fcbe... (76 %)
Writing at 0x002153df... (78 %)
Writing at 0x0021afa4... (80 %)
Writing at 0x00220c24... (81 %)
Writing at 0x0022615c... (83 %)
Writing at 0x0022bc78... (85 %)
Writing at 0x00231146... (86 %)
Writing at 0x002365df... (88 %)
Writing at 0x0023d148... (90 %)
Writing at 0x00243b32... (91 %)
Writing at 0x00249450... (93 %)
Writing at 0x0024f14a... (95 %)
Writing at 0x00254e7f... (96 %)
Writing at 0x0025ab46... (98 %)
Writing at 0x00260020... (100 %)
Wrote 1450528 bytes (972218 compressed) at 0x00100000 in 22.7 seconds (effective 511.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 129...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (129 compressed) at 0x00008000 in 0.1 seconds (effective 393.5 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Writing at 0x00010000... (100 %)
Wrote 8192 bytes (31 compressed) at 0x00010000 in 0.1 seconds (effective 836.7 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 92...
Writing at 0x00020000... (100 %)
Wrote 3072 bytes (92 compressed) at 0x00020000 in 0.0 seconds (effective 522.0 kbit/s)...
Hash of data verified.
Compressed 114688 bytes to 13156...
Writing at 0x00021000... (100 %)
Wrote 114688 bytes (13156 compressed) at 0x00021000 in 1.5 seconds (effective 614.5 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Done

C:\src\esp-at>

 

어라 멀 잘못했나 왜 포트가 그대로지?

AT cmd port:uart1 tx:17 rx:16 cts:15 rts:14 baudrate:115200
module_name: WROOM-32

 

json 파일 지우고 다시 설정해서 빌드하니 wrover-32로 빌드되는건 맞는데..

위의 경로에서 바꿔줄수 있는게 아닌가?

at param mode: 1
AT cmd port:uart1 tx:22 rx:19 cts:15 rts:14 baudrate:115200
module_name: WROVER-32
max tx power=78, ret=0
v3.2.0.0

 

 

build.py clean 하고 다시하니 먼가 바뀌려는것 같은데

uart0은 못바꾸게 되어있는지 무한 리부팅 한다.

ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:5916
ho 0 tail 12 room 4
load:0x40078000,len:15848
ho 0 tail 12 room 4
load:0x40080400,len:3580
entry 0x40080608
I (31) boot: ESP-IDF v5.0.4-dirty 2nd stage bootloader
I (31) boot: compile time 22:08:04
W (31) boot: Unicore bootloader
I (34) boot: chip revision: v1.0
I (38) boot.esp32: SPI Speed      : 40MHz
I (43) boot.esp32: SPI Mode       : DIO
I (47) boot.esp32: SPI Flash Size : 4MB
I (52) boot: Enabling RNG early entropy source...
I (57) boot: Partition Table:
I (61) boot: ## Label            Usage          Type ST Offset   Length
I (68) boot:  0 phy_init         RF data          01 01 0000f000 00001000
I (75) boot:  1 otadata          OTA data         01 00 00010000 00002000
I (83) boot:  2 nvs              WiFi data        01 02 00012000 0000e000
I (90) boot:  3 at_customize     unknown          40 00 00020000 000e0000
I (98) boot:  4 ota_0            OTA app          00 10 00100000 00180000
I (105) boot:  5 ota_1            OTA app          00 11 00280000 00180000
I (113) boot: End of partition table
I (117) esp_image: segment 0: paddr=00100020 vaddr=3f400020 size=17184h ( 94596) map
I (160) esp_image: segment 1: paddr=001171ac vaddr=3ff80067 size=00008h (     8) load
I (160) esp_image: segment 2: paddr=001171bc vaddr=3ffbdb60 size=04f10h ( 20240) load
I (174) esp_image: segment 3: paddr=0011c0d4 vaddr=40080000 size=03f44h ( 16196) load
I (181) esp_image: segment 4: paddr=00120020 vaddr=400d0020 size=10de34h (1105460) map
I (582) esp_image: segment 5: paddr=0022de5c vaddr=40083f44 size=1abc0h (109504) load
I (627) esp_image: segment 6: paddr=00248a24 vaddr=400c0000 size=00068h (   104) load
I (643) boot: Loaded app from partition at offset 0x100000
I (643) boot: Disabling RNG early entropy source...
no external 32k oscillator, disable it now.
at param mode: 1
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x40098bfd  PS      : 0x00060833  A0      : 0x80098ff5  A1      : 0x3ffba7d0
A2      : 0xffffffff  A3      : 0xffffffff  A4      : 0x00000014  A5      : 0x3ffbaa04
A6      : 0x401cced8  A7      : 0x400d7704  A8      : 0x3ffc2b08  A9      : 0x00000001
A10     : 0x00060820  A11     : 0x00000000  A12     : 0x00002000  A13     : 0x0000001e
A14     : 0x3ffc30d0  A15     : 0x00000000  SAR     : 0x0000000f  EXCCAUSE: 0x0000001c
EXCVADDR: 0x0000000f  LBEG    : 0x40092c2c  LEND    : 0x40092c3f  LCOUNT  : 0x00000000


Backtrace: 0x40098bfa:0x3ffba7d0 0x40098ff2:0x3ffba7f0 0x40098b1f:0x3ffba810 0x40081a71:0x3ffba830 0x40081aae:0x3ffba850 0x40081d48:0x3ffba870 0x401465a5:0x3ffba890 0x401477bc:0x3ffba8b0 0x400d7d35:0x3ffba8e0 0x400d8095:0x3ffba9e0 0x400d75d0:0x3ffbaa30 0x401daaa6:0x3ffbaa50 0x401daebd:0x3ffbaa80




ELF file SHA256: 2161b9449e92f8d1

Rebooting...

 

임의의 핀으로는 못 넘기거나 gpio 그룹내에서만 넘기지 다른걸로는 못하는건가?

#if defined(CONFIG_IDF_TARGET_ESP32)
#define CONFIG_AT_UART_PORT_TX_PIN_DEFAULT          13
#define CONFIG_AT_UART_PORT_RX_PIN_DEFAULT          12
#define CONFIG_AT_UART_PORT_CTS_PIN_DEFAULT         15
#define CONFIG_AT_UART_PORT_RTS_PIN_DEFAULT         14

'embeded > esp32' 카테고리의 다른 글

esp32cam sdio wifi  (0) 2024.09.11
esp32 wifi/bt on linux  (0) 2024.08.13
esp32 at source 빌드(리눅스)  (0) 2023.12.19
esp-idf on linux  (0) 2023.12.19
esp32 idf on windows  (0) 2023.12.18
Posted by 구차니
embeded/esp322023. 12. 19. 15:38

git을 clone 하고

[링크 : https://github.com/espressif/esp-at]

 

python 패키지로 cmake를 따로 깔아야 하는군..

$ pip3 install cmake
Collecting cmake
  Downloading cmake-3.28.1-py2.py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (6.3 kB)
Downloading cmake-3.28.1-py2.py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (26.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 26.3/26.3 MB 2.4 MB/s eta 0:00:00
Installing collected packages: cmake
Successfully installed cmake-3.28.1

 

펌웨어 디렉토리 와서 아까 개발환경 export.sh 하고 나온걸 쳐보니 안된다.

~/src/esp/esp-at$ idf.py build
Executing action: all (aliases: build)
Running cmake in directory /home/minimonk/src/esp/esp-at/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/minimonk/.espressif/python_env/idf5.3_py3.10_env/bin/python -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /home/minimonk/src/esp/esp-at"...
CMake Error at CMakeLists.txt:9 (string):
  string no output variable specified


CMake Error at CMakeLists.txt:10 (string):
  string sub-command STRIP requires two arguments.


CMake Error at CMakeLists.txt:14 (string):
  string begin index: 9 is out of range 0 - 0


CMake Error at CMakeLists.txt:15 (string):
  string sub-command STRIP requires two arguments.


CMake Error at CMakeLists.txt:16 (string):
  string no output variable specified


silence:0 sdkconfig:/home/minimonk/src/esp/esp-at/module_config/module__default/sdkconfig.defaults
esp-at branch: master
esp-at docs version: latest
CMake Error at CMakeLists.txt:93 (include):
  include could not find requested file:

    /home/minimonk/src/esp/esp-at/esp-idf/tools/cmake/project.cmake


-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:131 (add_dependencies):
  Cannot add target-level dependencies to non-existent target "flash".

  The add_dependencies works for top-level logical targets created by the
  add_executable, add_library, or add_custom_target commands.  If you want to
  add file-level dependencies see the DEPENDS option of the add_custom_target
  and add_custom_command commands.


-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the /home/minimonk/src/esp/esp-at/build/log/idf_py_stderr_output_9922 and /home/minimonk/src/esp/esp-at/build/log/idf_py_stdout_output_9922

 

걍 build.py를 실행하니 잘 되긴 개뿔 -_-

(silence mode를 no로 해서 용량이 초과되니, 다시 빌드중)

$ ./build.py 
Platform name:
1. PLATFORM_ESP32
2. PLATFORM_ESP32C3
3. PLATFORM_ESP32C2
4. PLATFORM_ESP32C6
choose(range[1,4]):1

Module name:
1. WROOM-32
2. WROVER-32
3. PICO-D4
4. SOLO-1
5. MINI-1 (description: ESP32-U4WDH chip inside)
6. ESP32-SDIO
7. ESP32-D2WD (description: 2MB flash, No OTA)
choose(range[1,7]):1

Enable silence mode to remove some logs and reduce the firmware size?
0. No
1. Yes
choose(range[0,1]):0
Platform name:ESP32 Module name:WROOM-32 Silence:0
Cloning into submodule:"esp-idf" from "https://github.com/espressif/esp-idf.git" (This may take some time)..
'esp-idf'에 복제합니다...
remote: Enumerating objects: 544288, done.
remote: Counting objects: 100% (90760/90760), done.
remote: Compressing objects: 100% (4388/4388), done.
remote: Total 544288 (delta 86693), reused 87944 (delta 86224), pack-reused 453528
오브젝트를 받는 중: 100% (544288/544288), 239.44 MiB | 9.68 MiB/s, 완료.
델타를 알아내는 중: 100% (410637/410637), 완료.
파일을 갱신합니다: 100% (10137/10137), 완료.
Synchronizing submodule:"esp-idf" from "https://github.com/espressif/esp-idf.git" (This may take time)..
old commit: 9fe3bf2a3cdfae3f2a7bbc846561be6b3e540337
checkout commit: 8fbf4ba6058bcf736317d8a7aa75d0578563c38b
https://github.com/espressif/esp-idf URL에서
 * branch                  release/v5.0 -> FETCH_HEAD
이미 업데이트 상태입니다.
'components/bootloader/subproject/components/micro-ecc/micro-ecc' 경로에 대해 'components/bootloader/subproject/components/micro-ecc/micro-ecc' (https://github.com/kmackay/micro-ecc.git) 하위 모듈 등록
'components/bt/controller/lib_esp32' 경로에 대해 'components/bt/controller/lib_esp32' (https://github.com/espressif/esp32-bt-lib.git) 하위 모듈 등록
'components/bt/controller/lib_esp32c2/esp32c2-bt-lib' 경로에 대해 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib' (https://github.com/espressif/esp32c2-bt-lib.git) 하위 모듈 등록
'components/bt/controller/lib_esp32c3_family' 경로에 대해 'components/bt/controller/lib_esp32c3_family' (https://github.com/espressif/esp32c3-bt-lib.git) 하위 모듈 등록
'components/bt/controller/lib_esp32h2/esp32h2-bt-lib' 경로에 대해 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib' (https://github.com/espressif/esp32h2-bt-lib.git) 하위 모듈 등록
'components/bt/host/nimble/nimble' 경로에 대해 'components/bt/host/nimble/nimble' (https://github.com/espressif/esp-nimble.git) 하위 모듈 등록
'components/cmock/CMock' 경로에 대해 'components/cmock/CMock' (https://github.com/ThrowTheSwitch/CMock.git) 하위 모듈 등록
'components/esp_phy/lib' 경로에 대해 'components/esp_phy/lib' (https://github.com/espressif/esp-phy-lib.git) 하위 모듈 등록
'components/esp_wifi/lib' 경로에 대해 'components/esp_wifi/lib' (https://github.com/espressif/esp32-wifi-lib.git) 하위 모듈 등록
'components/heap/tlsf' 경로에 대해 'components/heap/tlsf' (https://github.com/espressif/tlsf.git) 하위 모듈 등록
'components/ieee802154/lib' 경로에 대해 'components/ieee802154/lib' (https://github.com/espressif/esp-ieee802154-lib.git) 하위 모듈 등록
'components/json/cJSON' 경로에 대해 'components/json/cJSON' (https://github.com/DaveGamble/cJSON.git) 하위 모듈 등록
'components/lwip/lwip' 경로에 대해 'components/lwip/lwip' (https://github.com/espressif/esp-lwip.git) 하위 모듈 등록
'components/mbedtls/mbedtls' 경로에 대해 'components/mbedtls/mbedtls' (https://github.com/espressif/mbedtls.git) 하위 모듈 등록
'components/mqtt/esp-mqtt' 경로에 대해 'components/mqtt/esp-mqtt' (https://github.com/espressif/esp-mqtt.git) 하위 모듈 등록
'components/openthread/lib' 경로에 대해 'components/openthread/lib' (https://github.com/espressif/esp-thread-lib.git) 하위 모듈 등록
'components/openthread/openthread' 경로에 대해 'components/openthread/openthread' (https://github.com/espressif/openthread.git) 하위 모듈 등록
'components/protobuf-c/protobuf-c' 경로에 대해 'components/protobuf-c/protobuf-c' (https://github.com/protobuf-c/protobuf-c.git) 하위 모듈 등록
'components/spiffs/spiffs' 경로에 대해 'components/spiffs/spiffs' (https://github.com/pellepl/spiffs.git) 하위 모듈 등록
'components/unity/unity' 경로에 대해 'components/unity/unity' (https://github.com/ThrowTheSwitch/Unity.git) 하위 모듈 등록
'/home/minimonk/src/esp/esp-at/esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/bt/controller/lib_esp32'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/bt/controller/lib_esp32c2/esp32c2-bt-lib'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/bt/controller/lib_esp32c3_family'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/bt/controller/lib_esp32h2/esp32h2-bt-lib'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/bt/host/nimble/nimble'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/cmock/CMock'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/esp_phy/lib'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/esp_wifi/lib'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/heap/tlsf'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/ieee802154/lib'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/json/cJSON'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/lwip/lwip'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/mbedtls/mbedtls'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/mqtt/esp-mqtt'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/openthread/lib'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/openthread/openthread'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/protobuf-c/protobuf-c'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/spiffs/spiffs'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/unity/unity'에 복제합니다...
Submodule path 'components/bootloader/subproject/components/micro-ecc/micro-ecc': checked out 'd037ec89546fad14b5c4d5456c2e23a71e554966'
Submodule path 'components/bt/controller/lib_esp32': checked out '29e3ff2f39f16ff71e24bdd25ea87a0306e5b24b'
Submodule path 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib': checked out 'd17188c9f61400792a8248bf53378ee92e6f21a4'
Submodule path 'components/bt/controller/lib_esp32c3_family': checked out 'b438f60a295183e7c67eb42ae05f4580f4b1ced0'
Submodule path 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib': checked out 'f502278684195b9c20626ec8bb25430030d2ff23'
Submodule path 'components/bt/host/nimble/nimble': checked out '55c809a7525102508c97efc5fe50560e381fdc69'
Submodule path 'components/cmock/CMock': checked out 'eeecc49ce8af123cf8ad40efdb9673e37b56230f'
'components/cmock/CMock/vendor/c_exception' 경로에 대해 'vendor/c_exception' (https://github.com/throwtheswitch/cexception.git) 하위 모듈 등록
'components/cmock/CMock/vendor/unity' 경로에 대해 'vendor/unity' (https://github.com/throwtheswitch/unity.git) 하위 모듈 등록
'/home/minimonk/src/esp/esp-at/esp-idf/components/cmock/CMock/vendor/c_exception'에 복제합니다...
'/home/minimonk/src/esp/esp-at/esp-idf/components/cmock/CMock/vendor/unity'에 복제합니다...
Submodule path 'components/cmock/CMock/vendor/c_exception': checked out '71b47be7c950f1bf5f7e5303779fa99a16224bb6'
Submodule path 'components/cmock/CMock/vendor/unity': checked out 'cf949f45ca6d172a177b00da21310607b97bc7a7'
Submodule path 'components/esp_phy/lib': checked out '086ac00e9894431f5cdbad6d8a8727c4acbd3f91'
Submodule path 'components/esp_wifi/lib': checked out 'c8c75f7b7bc54a16f196f9396c3d231d30750ab1'
Submodule path 'components/heap/tlsf': checked out '8c9cd0517adf99e363812e9a295dfe3898fdd345'
Submodule path 'components/ieee802154/lib': checked out '2b52a261fef2ad7b630e11866dca567d17170401'
Submodule path 'components/json/cJSON': checked out 'cb8693b058ba302f4829ec6d03f609ac6f848546'
Submodule path 'components/lwip/lwip': checked out '8dad8d3ee66840deee4acfc1601de4e396c594be'
Submodule path 'components/mbedtls/mbedtls': checked out '727a037da6f9a62a9d3d5def5bd21a2bc9c621c6'
Submodule path 'components/mqtt/esp-mqtt': checked out 'ae53d799da294f03ef65c33e88fa33648e638134'
Submodule path 'components/openthread/lib': checked out '698e8386c31f2c34e167b65f72a6b2553e838dd9'
Submodule path 'components/openthread/openthread': checked out 'e64ba13faa865aa7febd5cb7dc7eb52ff19a2c5c'
Submodule path 'components/protobuf-c/protobuf-c': checked out 'abc67a11c6db271bedbb9f58be85d6f4e2ea8389'
Submodule path 'components/spiffs/spiffs': checked out '0dbb3f71c5f6fae3747a9d935372773762baf852'
Submodule path 'components/unity/unity': checked out '7d2bf62b7e6afaf38153041a9d53c21aeeca9a25'
submodules check completed for updates.
mbedtls_dynamic_buffer.patch has been applied
patches check completed for updates.
Incorrect usage, please refer to https://docs.espressif.com/projects/esp-at/en/latest/esp32/Compile_and_Develop/How_to_clone_project_and_compile_it.html for more details.

 

install 먼저해주고 build 해야 한단다 -_ㅠ

./build.py install
Ready to install ESP-IDF prerequisites..
[sudo] minimonk 암호: 
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
패키지 bison는 이미 최신 버전입니다 (2:3.8.2+dfsg-1build1).
패키지 flex는 이미 최신 버전입니다 (2.6.4-8build2).
패키지 libffi-dev는 이미 최신 버전입니다 (3.4.2-4).
패키지 wget는 이미 최신 버전입니다 (1.21.2-2ubuntu1).
패키지 ccache는 이미 최신 버전입니다 (4.5.1-1).
패키지 dfu-util는 이미 최신 버전입니다 (0.9-1).
패키지 gperf는 이미 최신 버전입니다 (3.1-1build1).
패키지 ninja-build는 이미 최신 버전입니다 (1.10.1-1).
패키지 cmake는 이미 최신 버전입니다 (3.22.1-1ubuntu1.22.04.1).
패키지 git는 이미 최신 버전입니다 (1:2.34.1-1ubuntu1.10).
패키지 libssl-dev는 이미 최신 버전입니다 (3.0.2-0ubuntu1.12).
패키지 libusb-1.0-0는 이미 최신 버전입니다 (2:1.0.25-1ubuntu2).
패키지 python3는 이미 최신 버전입니다 (3.10.6-1~22.04).
패키지 python3-setuptools는 이미 최신 버전입니다 (59.6.0-1.2ubuntu0.22.04.1).
python3-setuptools 패키지는 수동설치로 지정합니다.
패키지 python3-pip는 이미 최신 버전입니다 (22.0.2+dfsg-1ubuntu0.4).
패키지 python3-venv는 이미 최신 버전입니다 (3.10.6-1~22.04).
0개 업그레이드, 0개 새로 설치, 0개 제거 및 3개 업그레이드 안 함.
Ready to install ESP-AT prerequisites..
Requirement already satisfied: setuptools>=21 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r requirements.txt (line 4)) (69.0.2)
Collecting cryptography<35,>=2.1.4 (from -r requirements.txt (line 9))
  Downloading cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 6.9 MB/s eta 0:00:00
Collecting pycryptodome==3.15.0 (from -r requirements.txt (line 10))
  Downloading pycryptodome-3.15.0-cp35-abi3-manylinux2010_x86_64.whl (2.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 6.6 MB/s eta 0:00:00
Requirement already satisfied: idf-component-manager==1.4.1 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r requirements.txt (line 11)) (1.4.1)
Requirement already satisfied: pyyaml in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r requirements.txt (line 14)) (6.0.1)
Requirement already satisfied: xlrd in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r requirements.txt (line 15)) (2.0.1)
Collecting configparser (from -r requirements.txt (line 16))
  Downloading configparser-6.0.0-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: cachecontrol[filecache] in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.13.1)
Requirement already satisfied: click in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (8.1.7)
Requirement already satisfied: colorama in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.4.6)
Requirement already satisfied: packaging in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (23.2)
Requirement already satisfied: pyparsing in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.1.1)
Requirement already satisfied: requests in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (2.31.0)
Requirement already satisfied: requests-file in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.5.1)
Requirement already satisfied: requests-toolbelt in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.0.0)
Requirement already satisfied: schema in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.7.5)
Requirement already satisfied: six in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.16.0)
Requirement already satisfied: tqdm in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (4.66.1)
Requirement already satisfied: urllib3<2 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.26.18)
Requirement already satisfied: cffi>=1.12 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (1.16.0)
Requirement already satisfied: pycparser in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cffi>=1.12->cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (2.21)
Requirement already satisfied: msgpack>=0.5.2 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cachecontrol[filecache]->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.0.7)
Requirement already satisfied: filelock>=3.8.0 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cachecontrol[filecache]->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.13.1)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.6)
Requirement already satisfied: certifi>=2017.4.17 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (2023.11.17)
Requirement already satisfied: contextlib2>=0.5.5 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from schema->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (21.6.0)
Downloading configparser-6.0.0-py3-none-any.whl (19 kB)
Installing collected packages: pycryptodome, configparser, cryptography
  Attempting uninstall: cryptography
    Found existing installation: cryptography 41.0.7
    Uninstalling cryptography-41.0.7:
      Successfully uninstalled cryptography-41.0.7
Successfully installed configparser-6.0.0 cryptography-3.4.8 pycryptodome-3.15.0
Platform name:ESP32 Module name:WROOM-32 Silence:0
submodules check completed for updates.
mbedtls_dynamic_buffer.patch does not need to be applied.
patches check completed for updates.
Ready to set up ESP-IDF tools..
Python 3.10.12
pip 23.3.2 from /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages/pip (python 3.10)
Upgrading pip and setuptools...
Requirement already satisfied: pip in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (23.3.2)
Requirement already satisfied: setuptools in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (69.0.2)
Downloading https://dl.espressif.com/dl/esp-idf/espidf.constraints.v5.0.txt
Destination: /home/minimonk/.espressif/espidf.constraints.v5.0.txt.tmp
Done
Installing Python packages
 Constraint file: /home/minimonk/.espressif/espidf.constraints.v5.0.txt
 Requirement files:
  - /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt
Looking in indexes: https://pypi.org/simple, https://dl.espressif.com/pypi
Ignoring importlib_metadata: markers 'python_version < "3.8"' don't match your environment
Ignoring windows-curses: markers 'sys_platform == "win32"' don't match your environment
Requirement already satisfied: setuptools in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 3)) (69.0.2)
Requirement already satisfied: packaging in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 4)) (23.2)
Collecting click (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 7))
  Downloading https://dl.espressif.com/pypi/click/click-8.0.4-py3-none-any.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 kB 5.0 MB/s eta 0:00:00
Requirement already satisfied: pyserial in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 8)) (3.5)
Collecting future (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 9))
  Downloading https://dl.espressif.com/pypi/future/future-0.18.2-py3-none-any.whl (491 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.1/491.1 kB 21.8 MB/s eta 0:00:00
Requirement already satisfied: cryptography in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 10)) (3.4.8)
Collecting cryptography (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 10))
  Downloading https://dl.espressif.com/pypi/cryptography/cryptography-36.0.2-cp36-abi3-manylinux_2_24_x86_64.whl (3.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 10.0 MB/s eta 0:00:00
Collecting pyparsing (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 11))
  Downloading https://dl.espressif.com/pypi/pyparsing/pyparsing-3.0.9-py3-none-any.whl (98 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 6.8 MB/s eta 0:00:00
Collecting pyelftools (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 12))
  Downloading https://dl.espressif.com/pypi/pyelftools/pyelftools-0.27-py2.py3-none-any.whl (151 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.6/151.6 kB 1.1 MB/s eta 0:00:00
Requirement already satisfied: idf-component-manager in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (1.4.1)
Requirement already satisfied: esp-coredump in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 14)) (1.9.0)
Requirement already satisfied: esptool in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 15)) (4.7.0)
Requirement already satisfied: kconfiglib in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 18)) (14.1.0)
Requirement already satisfied: freertos_gdb in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 22)) (1.0.2)
Requirement already satisfied: cffi>=1.12 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cryptography->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 10)) (1.16.0)
Requirement already satisfied: cachecontrol[filecache] in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (0.13.1)
Requirement already satisfied: colorama in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (0.4.6)
Requirement already satisfied: pyyaml in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (6.0.1)
Requirement already satisfied: requests in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (2.31.0)
Requirement already satisfied: requests-file in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (1.5.1)
Requirement already satisfied: requests-toolbelt in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (1.0.0)
Requirement already satisfied: schema in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (0.7.5)
Requirement already satisfied: six in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (1.16.0)
Requirement already satisfied: tqdm in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (4.66.1)
Requirement already satisfied: urllib3<2 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (1.26.18)
Requirement already satisfied: construct~=2.10 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from esp-coredump->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 14)) (2.10.69)
Requirement already satisfied: pygdbmi>=0.9.0.2 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from esp-coredump->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 14)) (0.9.0.2)
Requirement already satisfied: bitstring>=3.1.6 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from esptool->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 15)) (4.1.4)
Requirement already satisfied: ecdsa>=0.16.0 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from esptool->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 15)) (0.18.0)
Requirement already satisfied: reedsolo<1.8,>=1.5.3 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from esptool->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 15)) (1.7.0)
Requirement already satisfied: intelhex in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from esptool->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 15)) (2.3.0)
Requirement already satisfied: bitarray<3.0.0,>=2.8.0 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from bitstring>=3.1.6->esptool->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 15)) (2.9.0)
Requirement already satisfied: pycparser in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cffi>=1.12->cryptography->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 10)) (2.21)
Requirement already satisfied: msgpack>=0.5.2 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cachecontrol[filecache]->idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (1.0.7)
Requirement already satisfied: filelock>=3.8.0 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cachecontrol[filecache]->idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (3.13.1)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from requests->idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from requests->idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (3.6)
Requirement already satisfied: certifi>=2017.4.17 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from requests->idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (2023.11.17)
Requirement already satisfied: contextlib2>=0.5.5 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from schema->idf-component-manager->-r /home/minimonk/src/esp/esp-at/esp-idf/tools/requirements/requirements.core.txt (line 13)) (21.6.0)
Installing collected packages: pyelftools, pyparsing, future, click, cryptography
  Attempting uninstall: pyelftools
    Found existing installation: pyelftools 0.30
    Uninstalling pyelftools-0.30:
      Successfully uninstalled pyelftools-0.30
  Attempting uninstall: pyparsing
    Found existing installation: pyparsing 3.1.1
    Uninstalling pyparsing-3.1.1:
      Successfully uninstalled pyparsing-3.1.1
  Attempting uninstall: click
    Found existing installation: click 8.1.7
    Uninstalling click-8.1.7:
      Successfully uninstalled click-8.1.7
  Attempting uninstall: cryptography
    Found existing installation: cryptography 3.4.8
    Uninstalling cryptography-3.4.8:
      Successfully uninstalled cryptography-3.4.8
Successfully installed click-8.0.4 cryptography-36.0.2 future-0.18.2 pyelftools-0.27 pyparsing-3.0.9
Current system platform: linux-amd64
Updating /home/minimonk/.espressif/idf-env.json
Selected targets are: esp32
Installing tools: xtensa-esp-elf-gdb, xtensa-esp32-elf, esp32ulp-elf, openocd-esp32, esp-rom-elfs
Installing xtensa-esp-elf-gdb@11.2_20220823
Downloading https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/xtensa-esp-elf-gdb-11.2_20220823-x86_64-linux-gnu.tar.gz
Destination: /home/minimonk/.espressif/dist/xtensa-esp-elf-gdb-11.2_20220823-x86_64-linux-gnu.tar.gz.tmp
Done
Extracting /home/minimonk/.espressif/dist/xtensa-esp-elf-gdb-11.2_20220823-x86_64-linux-gnu.tar.gz to /home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823
Installing xtensa-esp32-elf@esp-2022r1-11.2.0
Downloading https://github.com/espressif/crosstool-NG/releases/download/esp-2022r1/xtensa-esp32-elf-gcc11_2_0-esp-2022r1-linux-amd64.tar.xz
Destination: /home/minimonk/.espressif/dist/xtensa-esp32-elf-gcc11_2_0-esp-2022r1-linux-amd64.tar.xz.tmp
Done
Extracting /home/minimonk/.espressif/dist/xtensa-esp32-elf-gcc11_2_0-esp-2022r1-linux-amd64.tar.xz to /home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0
Skipping esp32ulp-elf@2.35_20220830 (already installed)
Installing openocd-esp32@v0.12.0-esp32-20230419
Downloading https://github.com/espressif/openocd-esp32/releases/download/v0.12.0-esp32-20230419/openocd-esp32-linux-amd64-0.12.0-esp32-20230419.tar.gz
Destination: /home/minimonk/.espressif/dist/openocd-esp32-linux-amd64-0.12.0-esp32-20230419.tar.gz.tmp
Done
Extracting /home/minimonk/.espressif/dist/openocd-esp32-linux-amd64-0.12.0-esp32-20230419.tar.gz to /home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419
Installing esp-rom-elfs@20220823
Downloading https://github.com/espressif/esp-rom-elfs/releases/download/20220823/esp-rom-elfs-20220823.tar.gz
Destination: /home/minimonk/.espressif/dist/esp-rom-elfs-20220823.tar.gz.tmp
Done
Extracting /home/minimonk/.espressif/dist/esp-rom-elfs-20220823.tar.gz to /home/minimonk/.espressif/tools/esp-rom-elfs/20220823
Ready to set up environment variables..
PATH is /home/minimonk/src/esp/esp-idf/components/espcoredump:/home/minimonk/src/esp/esp-idf/components/partition_table:/home/minimonk/src/esp/esp-idf/components/app_update:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/python_env/idf5.3_py3.10_env/bin:/home/minimonk/src/esp/esp-idf/tools:/home/minimonk/.local/bin:/home/minimonk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
IDF_PYTHON_ENV_PATH is /home/minimonk/.espressif/python_env/idf5.3_py3.10_env
sys.platform is linux
Not using an unsupported version of tool xtensa-esp-elf-gdb found in PATH: 12.1_20231023.
Not using an unsupported version of tool xtensa-esp32-elf found in PATH: esp-13.2.0_20230928-13.2.0.
Not using an unsupported version of tool openocd-esp32 found in PATH: v0.12.0-esp32-20230921.
export str is OPENOCD_SCRIPTS=/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts
ESP_ROM_ELF_DIR=/home/minimonk/.espressif/tools/esp-rom-elfs/20220823/
ESP_IDF_VERSION=5.0
PATH=/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/bin:/home/minimonk/src/esp/esp-at/esp-idf/tools:$PATH
IDF_DEACTIVATE_FILE_PATH=/tmp/tmpf5mgwjzridf_10771

PATH is /home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/bin:/home/minimonk/src/esp/esp-at/esp-idf/tools:$PATH:/home/minimonk/src/esp/esp-idf/components/espcoredump:/home/minimonk/src/esp/esp-idf/components/partition_table:/home/minimonk/src/esp/esp-idf/components/app_update:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/python_env/idf5.3_py3.10_env/bin:/home/minimonk/src/esp/esp-idf/tools:/home/minimonk/.local/bin:/home/minimonk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
IDF_PYTHON_ENV_PATH is /home/minimonk/.espressif/python_env/idf5.3_py3.10_env
Ready to install ESP-AT python packages..
Requirement already satisfied: setuptools>=21 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r requirements.txt (line 4)) (69.0.2)
Collecting cryptography<35,>=2.1.4 (from -r requirements.txt (line 9))
  Using cached cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
Requirement already satisfied: pycryptodome==3.15.0 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r requirements.txt (line 10)) (3.15.0)
Requirement already satisfied: idf-component-manager==1.4.1 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r requirements.txt (line 11)) (1.4.1)
Requirement already satisfied: pyyaml in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r requirements.txt (line 14)) (6.0.1)
Requirement already satisfied: xlrd in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r requirements.txt (line 15)) (2.0.1)
Requirement already satisfied: configparser in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from -r requirements.txt (line 16)) (6.0.0)
Requirement already satisfied: cachecontrol[filecache] in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.13.1)
Requirement already satisfied: click in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (8.0.4)
Requirement already satisfied: colorama in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.4.6)
Requirement already satisfied: packaging in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (23.2)
Requirement already satisfied: pyparsing in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.0.9)
Requirement already satisfied: requests in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (2.31.0)
Requirement already satisfied: requests-file in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.5.1)
Requirement already satisfied: requests-toolbelt in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.0.0)
Requirement already satisfied: schema in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (0.7.5)
Requirement already satisfied: six in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.16.0)
Requirement already satisfied: tqdm in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (4.66.1)
Requirement already satisfied: urllib3<2 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.26.18)
Requirement already satisfied: cffi>=1.12 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (1.16.0)
Requirement already satisfied: pycparser in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cffi>=1.12->cryptography<35,>=2.1.4->-r requirements.txt (line 9)) (2.21)
Requirement already satisfied: msgpack>=0.5.2 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cachecontrol[filecache]->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (1.0.7)
Requirement already satisfied: filelock>=3.8.0 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from cachecontrol[filecache]->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.13.1)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (3.6)
Requirement already satisfied: certifi>=2017.4.17 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from requests->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (2023.11.17)
Requirement already satisfied: contextlib2>=0.5.5 in /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (from schema->idf-component-manager==1.4.1->-r requirements.txt (line 11)) (21.6.0)
Installing collected packages: cryptography
  Attempting uninstall: cryptography
    Found existing installation: cryptography 36.0.2
    Uninstalling cryptography-36.0.2:
      Successfully uninstalled cryptography-36.0.2
Successfully installed cryptography-3.4.8

All done! You can now run:

  ./build.py build

 

$ ./build.py build
Platform name:ESP32 Module name:WROOM-32 Silence:0
submodules check completed for updates.
mbedtls_dynamic_buffer.patch does not need to be applied.
patches check completed for updates.
Ready to set up environment variables..
PATH is /home/minimonk/src/esp/esp-idf/components/espcoredump:/home/minimonk/src/esp/esp-idf/components/partition_table:/home/minimonk/src/esp/esp-idf/components/app_update:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/python_env/idf5.3_py3.10_env/bin:/home/minimonk/src/esp/esp-idf/tools:/home/minimonk/.local/bin:/home/minimonk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
IDF_PYTHON_ENV_PATH is /home/minimonk/.espressif/python_env/idf5.3_py3.10_env
sys.platform is linux
Not using an unsupported version of tool xtensa-esp-elf-gdb found in PATH: 12.1_20231023.
Not using an unsupported version of tool xtensa-esp32-elf found in PATH: esp-13.2.0_20230928-13.2.0.
Not using an unsupported version of tool openocd-esp32 found in PATH: v0.12.0-esp32-20230921.
export str is OPENOCD_SCRIPTS=/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts
ESP_ROM_ELF_DIR=/home/minimonk/.espressif/tools/esp-rom-elfs/20220823/
ESP_IDF_VERSION=5.0
PATH=/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/bin:/home/minimonk/src/esp/esp-at/esp-idf/tools:$PATH
IDF_DEACTIVATE_FILE_PATH=/tmp/tmphrjbiveridf_10816

PATH is /home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/bin:/home/minimonk/src/esp/esp-at/esp-idf/tools:$PATH:/home/minimonk/src/esp/esp-idf/components/espcoredump:/home/minimonk/src/esp/esp-idf/components/partition_table:/home/minimonk/src/esp/esp-idf/components/app_update:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/python_env/idf5.3_py3.10_env/bin:/home/minimonk/src/esp/esp-idf/tools:/home/minimonk/.local/bin:/home/minimonk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
IDF_PYTHON_ENV_PATH is /home/minimonk/.espressif/python_env/idf5.3_py3.10_env
Executing action: all (aliases: build)
Running cmake in directory /home/minimonk/src/esp/esp-at/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=0 /home/minimonk/src/esp/esp-at"...
silence:0 sdkconfig:/home/minimonk/src/esp/esp-at/module_config/module_esp32_default/sdkconfig.defaults
esp-at branch: master
esp-at docs version: latest
-- Found Git: /usr/bin/git (found version "2.34.1") 
-- Component directory /home/minimonk/src/esp/esp-at/components/fs_image does not contain a CMakeLists.txt file. No component will be added
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
Dependencies lock doesn't exist, solving dependencies.
NOTICE: Skipping optional dependency: espressif/cmake_utilities
NOTICE: Skipping optional dependency: espressif/bootloader_support_plus
...Updating lock file at /home/minimonk/src/esp/esp-at/dependencies.lock
Processing 3 dependencies:
[1/3] espressif/esp_websocket_client (1.2.1)
[2/3] espressif/mdns (1.2.2)
[3/3] idf (5.0.4)
NOTICE: Skipping optional dependency: espressif/bootloader_support_plus
NOTICE: Skipping optional dependency: espressif/cmake_utilities
-- Project sdkconfig file /home/minimonk/src/esp/esp-at/sdkconfig
Loading defaults file /home/minimonk/src/esp/esp-at/module_config/module_esp32_default/sdkconfig.defaults...
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Found Python3: /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/bin/python (found version "3.10.12") found components: Interpreter 
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "esp-at" version: v3.2.0.0-82-ga02beacc
-- Adding linker script /home/minimonk/src/esp/esp-at/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.api.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.libgcc.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-data.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.syscalls.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-funcs.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
silence:0, ld core:/home/minimonk/src/esp/esp-at/components/at/lib/libesp32_at_core.a
Parsing CSV input...
Verifying table...
-- Components: app_trace app_update at bootloader bootloader_support bt cmock console customized_partitions cxx decoder driver efuse esp-tls esp_adc esp_app_format esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__esp_websocket_client espressif__mdns esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/minimonk/src/esp/esp-at/esp-idf/components/app_trace /home/minimonk/src/esp/esp-at/esp-idf/components/app_update /home/minimonk/src/esp/esp-at/components/at /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader_support /home/minimonk/src/esp/esp-at/esp-idf/components/bt /home/minimonk/src/esp/esp-at/esp-idf/components/cmock /home/minimonk/src/esp/esp-at/esp-idf/components/console /home/minimonk/src/esp/esp-at/components/customized_partitions /home/minimonk/src/esp/esp-at/esp-idf/components/cxx /home/minimonk/src/esp/esp-at/components/decoder /home/minimonk/src/esp/esp-at/esp-idf/components/driver /home/minimonk/src/esp/esp-at/esp-idf/components/efuse /home/minimonk/src/esp/esp-at/esp-idf/components/esp-tls /home/minimonk/src/esp/esp-at/esp-idf/components/esp_adc /home/minimonk/src/esp/esp-at/esp-idf/components/esp_app_format /home/minimonk/src/esp/esp-at/esp-idf/components/esp_common /home/minimonk/src/esp/esp-at/esp-idf/components/esp_eth /home/minimonk/src/esp/esp-at/esp-idf/components/esp_event /home/minimonk/src/esp/esp-at/esp-idf/components/esp_gdbstub /home/minimonk/src/esp/esp-at/esp-idf/components/esp_hid /home/minimonk/src/esp/esp-at/esp-idf/components/esp_http_client /home/minimonk/src/esp/esp-at/esp-idf/components/esp_http_server /home/minimonk/src/esp/esp-at/esp-idf/components/esp_https_ota /home/minimonk/src/esp/esp-at/esp-idf/components/esp_https_server /home/minimonk/src/esp/esp-at/esp-idf/components/esp_hw_support /home/minimonk/src/esp/esp-at/esp-idf/components/esp_lcd /home/minimonk/src/esp/esp-at/esp-idf/components/esp_local_ctrl /home/minimonk/src/esp/esp-at/esp-idf/components/esp_netif /home/minimonk/src/esp/esp-at/esp-idf/components/esp_partition /home/minimonk/src/esp/esp-at/esp-idf/components/esp_phy /home/minimonk/src/esp/esp-at/esp-idf/components/esp_pm /home/minimonk/src/esp/esp-at/esp-idf/components/esp_psram /home/minimonk/src/esp/esp-at/esp-idf/components/esp_ringbuf /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom /home/minimonk/src/esp/esp-at/esp-idf/components/esp_system /home/minimonk/src/esp/esp-at/esp-idf/components/esp_timer /home/minimonk/src/esp/esp-at/esp-idf/components/esp_wifi /home/minimonk/src/esp/esp-at/esp-idf/components/espcoredump /home/minimonk/src/esp/esp-at/managed_components/espressif__esp_websocket_client /home/minimonk/src/esp/esp-at/managed_components/espressif__mdns /home/minimonk/src/esp/esp-at/esp-idf/components/esptool_py /home/minimonk/src/esp/esp-at/esp-idf/components/fatfs /home/minimonk/src/esp/esp-at/esp-idf/components/freertos /home/minimonk/src/esp/esp-at/esp-idf/components/hal /home/minimonk/src/esp/esp-at/esp-idf/components/heap /home/minimonk/src/esp/esp-at/esp-idf/components/http_parser /home/minimonk/src/esp/esp-at/esp-idf/components/idf_test /home/minimonk/src/esp/esp-at/esp-idf/components/ieee802154 /home/minimonk/src/esp/esp-at/esp-idf/components/json /home/minimonk/src/esp/esp-at/esp-idf/components/log /home/minimonk/src/esp/esp-at/esp-idf/components/lwip /home/minimonk/src/esp/esp-at/main /home/minimonk/src/esp/esp-at/esp-idf/components/mbedtls /home/minimonk/src/esp/esp-at/esp-idf/components/mqtt /home/minimonk/src/esp/esp-at/esp-idf/components/newlib /home/minimonk/src/esp/esp-at/esp-idf/components/nvs_flash /home/minimonk/src/esp/esp-at/esp-idf/components/openthread /home/minimonk/src/esp/esp-at/esp-idf/components/partition_table /home/minimonk/src/esp/esp-at/esp-idf/components/perfmon /home/minimonk/src/esp/esp-at/esp-idf/components/protobuf-c /home/minimonk/src/esp/esp-at/esp-idf/components/protocomm /home/minimonk/src/esp/esp-at/esp-idf/components/pthread /home/minimonk/src/esp/esp-at/esp-idf/components/sdmmc /home/minimonk/src/esp/esp-at/esp-idf/components/soc /home/minimonk/src/esp/esp-at/esp-idf/components/spi_flash /home/minimonk/src/esp/esp-at/esp-idf/components/spiffs /home/minimonk/src/esp/esp-at/esp-idf/components/tcp_transport /home/minimonk/src/esp/esp-at/esp-idf/components/ulp /home/minimonk/src/esp/esp-at/esp-idf/components/unity /home/minimonk/src/esp/esp-at/esp-idf/components/usb /home/minimonk/src/esp/esp-at/esp-idf/components/vfs /home/minimonk/src/esp/esp-at/esp-idf/components/wear_levelling /home/minimonk/src/esp/esp-at/esp-idf/components/wifi_provisioning /home/minimonk/src/esp/esp-at/esp-idf/components/wpa_supplicant /home/minimonk/src/esp/esp-at/esp-idf/components/xtensa
-- Configuring done (7.0s)
-- Generating done (0.4s)
-- Build files have been written to: /home/minimonk/src/esp/esp-at/build
Running ninja in directory /home/minimonk/src/esp/esp-at/build
Executing "ninja all"...
[6/1180] Generating ../../partition_table/partition-table.binPartition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
phy_init,data,phy,0xf000,4K,
otadata,data,ota,0x10000,8K,
nvs,data,nvs,0x12000,56K,
at_customize,64,0,0x20000,896K,
ota_0,app,ota_0,0x100000,1536K,
ota_1,app,ota_1,0x280000,1536K,
*******************************************************************************
[12/1180] Running utility command for customized_bin
Creating NVS binary with version: V2 - Multipage Blob Support Enabled

Created NVS binary: ===> /home/minimonk/src/esp/esp-at/build/customized_partitions/mfg_nvs.bin
[325/1180] Performing configure step for 'bootloader'-- Found Git: /usr/bin/git (found version "2.34.1") 
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /home/minimonk/src/esp/esp-at/sdkconfig
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of time_t
-- Check size of time_t - done
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- App "bootloader" version: v5.0.4-dirty
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.api.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.libgcc.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-funcs.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader_support /home/minimonk/src/esp/esp-at/esp-idf/components/efuse /home/minimonk/src/esp/esp-at/esp-idf/components/esp_app_format /home/minimonk/src/esp/esp-at/esp-idf/components/esp_common /home/minimonk/src/esp/esp-at/esp-idf/components/esp_hw_support /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom /home/minimonk/src/esp/esp-at/esp-idf/components/esp_system /home/minimonk/src/esp/esp-at/esp-idf/components/esptool_py /home/minimonk/src/esp/esp-at/esp-idf/components/freertos /home/minimonk/src/esp/esp-at/esp-idf/components/hal /home/minimonk/src/esp/esp-at/esp-idf/components/log /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader/subproject/main /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader/subproject/components/micro-ecc /home/minimonk/src/esp/esp-at/esp-idf/components/newlib /home/minimonk/src/esp/esp-at/esp-idf/components/partition_table /home/minimonk/src/esp/esp-at/esp-idf/components/soc /home/minimonk/src/esp/esp-at/esp-idf/components/spi_flash /home/minimonk/src/esp/esp-at/esp-idf/components/xtensa
-- Configuring done (6.9s)
-- Generating done (0.1s)
-- Build files have been written to: /home/minimonk/src/esp/esp-at/build/bootloader
[101/102] Generating binary image from built executableesptool.py v4.7.0
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Generated /home/minimonk/src/esp/esp-at/build/bootloader/bootloader.bin
[102/102] cd /home/minimonk/src/esp/esp-at/build/bootloade...me/minimonk/src/esp/esp-at/build/bootloader/bootloader.binBootloader binary size 0x68b0 bytes. 0x750 bytes (7%) free.
[1178/1180] Generating binary image from built executableesptool.py v4.7.0
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated /home/minimonk/src/esp/esp-at/build/esp-at.bin
[1179/1180] cd /home/minimonk/src/esp/esp-at/build/esp-idf...n-table.bin /home/minimonk/src/esp/esp-at/build/esp-at.binFAILED: esp-idf/esptool_py/CMakeFiles/app_check_size /home/minimonk/src/esp/esp-at/build/esp-idf/esptool_py/CMakeFiles/app_check_size 
cd /home/minimonk/src/esp/esp-at/build/esp-idf/esptool_py && /home/minimonk/.espressif/python_env/idf5.3_py3.10_env/bin/python /home/minimonk/src/esp/esp-at/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/minimonk/src/esp/esp-at/build/partition_table/partition-table.bin /home/minimonk/src/esp/esp-at/build/esp-at.bin
Error: All app partitions are too small for binary esp-at.bin size 0x184580:
  - Part 'ota_0' 0/16 @ 0x100000 size 0x180000 (overflow 0x4580)
  - Part 'ota_1' 0/17 @ 0x280000 size 0x180000 (overflow 0x4580)
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/minimonk/src/esp/esp-at/build/log/idf_py_stderr_output_11148 and /home/minimonk/src/esp/esp-at/build/log/idf_py_stdout_output_11148
A fatal error occurred: idf.py build failed

 

잘 안되네.. 빡세고만..

build.py를 실행해서 설정된 모델은 아래 파일을 삭제하고 설정하면 된다.

$ vi build.py 
$ find . -name module_info.json
./build/module_info.json

 

silence mode 끄면 메시지가 많아져서 용량이 커지나 보다 -_-

$ ./build.py build
Platform name:
1. PLATFORM_ESP32
2. PLATFORM_ESP32C3
3. PLATFORM_ESP32C2
4. PLATFORM_ESP32C6
choose(range[1,4]):1

Module name:
1. WROOM-32
2. WROVER-32
3. PICO-D4
4. SOLO-1
5. MINI-1 (description: ESP32-U4WDH chip inside)
6. ESP32-SDIO
7. ESP32-D2WD (description: 2MB flash, No OTA)
choose(range[1,7]):1

Enable silence mode to remove some logs and reduce the firmware size?
0. No
1. Yes
choose(range[0,1]):1
Platform name:ESP32 Module name:WROOM-32 Silence:1
submodules check completed for updates.
mbedtls_dynamic_buffer.patch does not need to be applied.
patches check completed for updates.
Ready to set up environment variables..
PATH is /home/minimonk/src/esp/esp-idf/components/espcoredump:/home/minimonk/src/esp/esp-idf/components/partition_table:/home/minimonk/src/esp/esp-idf/components/app_update:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/python_env/idf5.3_py3.10_env/bin:/home/minimonk/src/esp/esp-idf/tools:/home/minimonk/.local/bin:/home/minimonk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
IDF_PYTHON_ENV_PATH is /home/minimonk/.espressif/python_env/idf5.3_py3.10_env
sys.platform is linux
Not using an unsupported version of tool xtensa-esp-elf-gdb found in PATH: 12.1_20231023.
Not using an unsupported version of tool xtensa-esp32-elf found in PATH: esp-13.2.0_20230928-13.2.0.
Not using an unsupported version of tool openocd-esp32 found in PATH: v0.12.0-esp32-20230921.
export str is OPENOCD_SCRIPTS=/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts
ESP_ROM_ELF_DIR=/home/minimonk/.espressif/tools/esp-rom-elfs/20220823/
ESP_IDF_VERSION=5.0
PATH=/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/bin:/home/minimonk/src/esp/esp-at/esp-idf/tools:$PATH
IDF_DEACTIVATE_FILE_PATH=/tmp/tmphrnvyazvidf_30112

PATH is /home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/bin:/home/minimonk/src/esp/esp-at/esp-idf/tools:$PATH:/home/minimonk/src/esp/esp-idf/components/espcoredump:/home/minimonk/src/esp/esp-idf/components/partition_table:/home/minimonk/src/esp/esp-idf/components/app_update:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/minimonk/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/minimonk/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/minimonk/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/minimonk/.espressif/python_env/idf5.3_py3.10_env/bin:/home/minimonk/src/esp/esp-idf/tools:/home/minimonk/.local/bin:/home/minimonk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
IDF_PYTHON_ENV_PATH is /home/minimonk/.espressif/python_env/idf5.3_py3.10_env
Executing action: all (aliases: build)
Running ninja in directory /home/minimonk/src/esp/esp-at/build
Executing "ninja all"...
[0/1] Re-running CMake...silence:1 sdkconfig:/home/minimonk/src/esp/esp-at/module_config/module_esp32_default/sdkconfig_silence.defaults
esp-at branch: master
esp-at docs version: latest
-- Component directory /home/minimonk/src/esp/esp-at/components/fs_image does not contain a CMakeLists.txt file. No component will be added
-- Building ESP-IDF components for target esp32
NOTICE: Skipping optional dependency: espressif/cmake_utilities
NOTICE: Skipping optional dependency: espressif/bootloader_support_plus
Processing 3 dependencies:
[3/3] idf (5.0.4)NOTICE: Skipping optional dependency: espressif/bootloader_support_plus
NOTICE: Skipping optional dependency: espressif/cmake_utilities
-- Project sdkconfig file /home/minimonk/src/esp/esp-at/sdkconfig
Loading defaults file /home/minimonk/src/esp/esp-at/module_config/module_esp32_default/sdkconfig_silence.defaults...
-- App "esp-at" version: v3.2.0.0-82-ga02beacc
-- Adding linker script /home/minimonk/src/esp/esp-at/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.api.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.libgcc.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-data.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.syscalls.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-funcs.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
silence:1, ld core:/home/minimonk/src/esp/esp-at/components/at/lib/libesp32_at_core_silence.a
Parsing CSV input...
Verifying table...
-- Components: app_trace app_update at bootloader bootloader_support bt cmock console customized_partitions cxx decoder driver efuse esp-tls esp_adc esp_app_format esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump espressif__esp_websocket_client espressif__mdns esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: /home/minimonk/src/esp/esp-at/esp-idf/components/app_trace /home/minimonk/src/esp/esp-at/esp-idf/components/app_update /home/minimonk/src/esp/esp-at/components/at /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader_support /home/minimonk/src/esp/esp-at/esp-idf/components/bt /home/minimonk/src/esp/esp-at/esp-idf/components/cmock /home/minimonk/src/esp/esp-at/esp-idf/components/console /home/minimonk/src/esp/esp-at/components/customized_partitions /home/minimonk/src/esp/esp-at/esp-idf/components/cxx /home/minimonk/src/esp/esp-at/components/decoder /home/minimonk/src/esp/esp-at/esp-idf/components/driver /home/minimonk/src/esp/esp-at/esp-idf/components/efuse /home/minimonk/src/esp/esp-at/esp-idf/components/esp-tls /home/minimonk/src/esp/esp-at/esp-idf/components/esp_adc /home/minimonk/src/esp/esp-at/esp-idf/components/esp_app_format /home/minimonk/src/esp/esp-at/esp-idf/components/esp_common /home/minimonk/src/esp/esp-at/esp-idf/components/esp_eth /home/minimonk/src/esp/esp-at/esp-idf/components/esp_event /home/minimonk/src/esp/esp-at/esp-idf/components/esp_gdbstub /home/minimonk/src/esp/esp-at/esp-idf/components/esp_hid /home/minimonk/src/esp/esp-at/esp-idf/components/esp_http_client /home/minimonk/src/esp/esp-at/esp-idf/components/esp_http_server /home/minimonk/src/esp/esp-at/esp-idf/components/esp_https_ota /home/minimonk/src/esp/esp-at/esp-idf/components/esp_https_server /home/minimonk/src/esp/esp-at/esp-idf/components/esp_hw_support /home/minimonk/src/esp/esp-at/esp-idf/components/esp_lcd /home/minimonk/src/esp/esp-at/esp-idf/components/esp_local_ctrl /home/minimonk/src/esp/esp-at/esp-idf/components/esp_netif /home/minimonk/src/esp/esp-at/esp-idf/components/esp_partition /home/minimonk/src/esp/esp-at/esp-idf/components/esp_phy /home/minimonk/src/esp/esp-at/esp-idf/components/esp_pm /home/minimonk/src/esp/esp-at/esp-idf/components/esp_psram /home/minimonk/src/esp/esp-at/esp-idf/components/esp_ringbuf /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom /home/minimonk/src/esp/esp-at/esp-idf/components/esp_system /home/minimonk/src/esp/esp-at/esp-idf/components/esp_timer /home/minimonk/src/esp/esp-at/esp-idf/components/esp_wifi /home/minimonk/src/esp/esp-at/esp-idf/components/espcoredump /home/minimonk/src/esp/esp-at/managed_components/espressif__esp_websocket_client /home/minimonk/src/esp/esp-at/managed_components/espressif__mdns /home/minimonk/src/esp/esp-at/esp-idf/components/esptool_py /home/minimonk/src/esp/esp-at/esp-idf/components/fatfs /home/minimonk/src/esp/esp-at/esp-idf/components/freertos /home/minimonk/src/esp/esp-at/esp-idf/components/hal /home/minimonk/src/esp/esp-at/esp-idf/components/heap /home/minimonk/src/esp/esp-at/esp-idf/components/http_parser /home/minimonk/src/esp/esp-at/esp-idf/components/idf_test /home/minimonk/src/esp/esp-at/esp-idf/components/ieee802154 /home/minimonk/src/esp/esp-at/esp-idf/components/json /home/minimonk/src/esp/esp-at/esp-idf/components/log /home/minimonk/src/esp/esp-at/esp-idf/components/lwip /home/minimonk/src/esp/esp-at/main /home/minimonk/src/esp/esp-at/esp-idf/components/mbedtls /home/minimonk/src/esp/esp-at/esp-idf/components/mqtt /home/minimonk/src/esp/esp-at/esp-idf/components/newlib /home/minimonk/src/esp/esp-at/esp-idf/components/nvs_flash /home/minimonk/src/esp/esp-at/esp-idf/components/openthread /home/minimonk/src/esp/esp-at/esp-idf/components/partition_table /home/minimonk/src/esp/esp-at/esp-idf/components/perfmon /home/minimonk/src/esp/esp-at/esp-idf/components/protobuf-c /home/minimonk/src/esp/esp-at/esp-idf/components/protocomm /home/minimonk/src/esp/esp-at/esp-idf/components/pthread /home/minimonk/src/esp/esp-at/esp-idf/components/sdmmc /home/minimonk/src/esp/esp-at/esp-idf/components/soc /home/minimonk/src/esp/esp-at/esp-idf/components/spi_flash /home/minimonk/src/esp/esp-at/esp-idf/components/spiffs /home/minimonk/src/esp/esp-at/esp-idf/components/tcp_transport /home/minimonk/src/esp/esp-at/esp-idf/components/ulp /home/minimonk/src/esp/esp-at/esp-idf/components/unity /home/minimonk/src/esp/esp-at/esp-idf/components/usb /home/minimonk/src/esp/esp-at/esp-idf/components/vfs /home/minimonk/src/esp/esp-at/esp-idf/components/wear_levelling /home/minimonk/src/esp/esp-at/esp-idf/components/wifi_provisioning /home/minimonk/src/esp/esp-at/esp-idf/components/wpa_supplicant /home/minimonk/src/esp/esp-at/esp-idf/components/xtensa
-- Configuring done (4.9s)
-- Generating done (0.4s)
-- Build files have been written to: /home/minimonk/src/esp/esp-at/build
[8/1147] Running utility command for customized_bin
Creating NVS binary with version: V2 - Multipage Blob Support Enabled

Created NVS binary: ===> /home/minimonk/src/esp/esp-at/build/customized_partitions/mfg_nvs.bin
[0/1] Re-running CMake...-- Building ESP-IDF components for target esp32
-- Project sdkconfig file /home/minimonk/src/esp/esp-at/sdkconfig
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- App "bootloader" version: v5.0.4-dirty
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.api.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.libgcc.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-funcs.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader_support /home/minimonk/src/esp/esp-at/esp-idf/components/efuse /home/minimonk/src/esp/esp-at/esp-idf/components/esp_app_format /home/minimonk/src/esp/esp-at/esp-idf/components/esp_common /home/minimonk/src/esp/esp-at/esp-idf/components/esp_hw_support /home/minimonk/src/esp/esp-at/esp-idf/components/esp_rom /home/minimonk/src/esp/esp-at/esp-idf/components/esp_system /home/minimonk/src/esp/esp-at/esp-idf/components/esptool_py /home/minimonk/src/esp/esp-at/esp-idf/components/freertos /home/minimonk/src/esp/esp-at/esp-idf/components/hal /home/minimonk/src/esp/esp-at/esp-idf/components/log /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader/subproject/main /home/minimonk/src/esp/esp-at/esp-idf/components/bootloader/subproject/components/micro-ecc /home/minimonk/src/esp/esp-at/esp-idf/components/newlib /home/minimonk/src/esp/esp-at/esp-idf/components/partition_table /home/minimonk/src/esp/esp-at/esp-idf/components/soc /home/minimonk/src/esp/esp-at/esp-idf/components/spi_flash /home/minimonk/src/esp/esp-at/esp-idf/components/xtensa
-- Configuring done (5.5s)
-- Generating done (0.1s)
-- Build files have been written to: /home/minimonk/src/esp/esp-at/build/bootloader
[94/95] Generating binary image from built executableesptool.py v4.7.0
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Generated /home/minimonk/src/esp/esp-at/build/bootloader/bootloader.bin
[95/95] cd /home/minimonk/src/esp/esp-at/build/bootloader/...me/minimonk/src/esp/esp-at/build/bootloader/bootloader.binBootloader binary size 0x6360 bytes. 0xca0 bytes (11%) free.
[1145/1147] Generating binary image from built executableesptool.py v4.7.0
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated /home/minimonk/src/esp/esp-at/build/esp-at.bin
[1146/1147] cd /home/minimonk/src/esp/esp-at/build/esp-idf...n-table.bin /home/minimonk/src/esp/esp-at/build/esp-at.binesp-at.bin binary size 0x1621a0 bytes. Smallest app partition is 0x180000 bytes. 0x1de60 bytes (8%) free.
[1147/1147] Running utility command for factory_bin0x1000,bootloader/bootloader.bin
0x100000,esp-at.bin
0x8000,partition_table/partition-table.bin
0x10000,ota_data_initial.bin
0x20000,at_customize.bin
0x21000,customized_partitions/mfg_nvs.bin
Create /home/minimonk/src/esp/esp-at/build/factory/factory_WROOM-32.bin for WROOM-32 finished

Project build complete. To flash, run this command:
/home/minimonk/.espressif/python_env/idf5.3_py3.10_env/bin/python esp-idf/components/esptool_py/esptool/esptool.py -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32  write_flash --flash_mode dio --flash_size 4MB --flash_freq 40m 0x1000 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/ota_data_initial.bin 0x20000 build/at_customize.bin 0x21000 build/customized_partitions/mfg_nvs.bin 0x100000 build/esp-at.bin
or run 'idf.py -p (PORT) flash'

 

보드는 안가지고 있어서 나중에 구워봐야 할 듯.

그러고 보니.. 포트 안바꾸고 했네 -_-

 

+

리눅스 i5-2520m 에서 빌드하는데 clean / build 하니 1분 30초대..

윈도우에서 하는게 문제인 듯? G4400T 이긴 하지만 너무 차이나네

or run 'idf.py -p (PORT) flash'

real 1m38.058s
user 4m4.487s
sys 0m46.621s

'embeded > esp32' 카테고리의 다른 글

esp32 wifi/bt on linux  (0) 2024.08.13
esp32 at 소스 빌드(윈도우)  (0) 2023.12.19
esp-idf on linux  (0) 2023.12.19
esp32 idf on windows  (0) 2023.12.18
esp32 uart 포트 바꾸기  (0) 2023.12.16
Posted by 구차니
embeded/esp322023. 12. 19. 15:35

하라는대로 하는 중

install.sh를 통해 esp32를 하면 esp32-c/h/s2/s3 쪽은 지원하지 않으니 all을 하면 다 설치할 수도 있다고 한다.

나야 esp32만 쓸꺼나 상관없음

$ sudo apt-get install git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0

$ git clone https://github.com/espressif/esp-idf.git

~/src/esp$ cd esp-idf/

~/src/esp/esp-idf$ ./install.sh esp32
All done! You can now run:

  . ./export.sh

~/src/esp/esp-idf$ . ./export.sh
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

[링크 : https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html]

'embeded > esp32' 카테고리의 다른 글

esp32 at 소스 빌드(윈도우)  (0) 2023.12.19
esp32 at source 빌드(리눅스)  (0) 2023.12.19
esp32 idf on windows  (0) 2023.12.18
esp32 uart 포트 바꾸기  (0) 2023.12.16
esp32-cam에 AT 펌웨어 넣기만 성공  (0) 2023.12.15
Posted by 구차니