fbuild 1.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fbuild might be problematic. Click here for more details.
- fbuild/__init__.py +0 -0
- fbuild/assets/example.txt +1 -0
- fbuild/build/__init__.py +117 -0
- fbuild/build/archive_creator.py +186 -0
- fbuild/build/binary_generator.py +444 -0
- fbuild/build/build_component_factory.py +131 -0
- fbuild/build/build_state.py +325 -0
- fbuild/build/build_utils.py +98 -0
- fbuild/build/compilation_executor.py +422 -0
- fbuild/build/compiler.py +165 -0
- fbuild/build/compiler_avr.py +574 -0
- fbuild/build/configurable_compiler.py +612 -0
- fbuild/build/configurable_linker.py +637 -0
- fbuild/build/flag_builder.py +186 -0
- fbuild/build/library_dependency_processor.py +185 -0
- fbuild/build/linker.py +708 -0
- fbuild/build/orchestrator.py +67 -0
- fbuild/build/orchestrator_avr.py +656 -0
- fbuild/build/orchestrator_esp32.py +797 -0
- fbuild/build/orchestrator_teensy.py +543 -0
- fbuild/build/source_compilation_orchestrator.py +220 -0
- fbuild/build/source_scanner.py +516 -0
- fbuild/cli.py +566 -0
- fbuild/cli_utils.py +312 -0
- fbuild/config/__init__.py +16 -0
- fbuild/config/board_config.py +457 -0
- fbuild/config/board_loader.py +92 -0
- fbuild/config/ini_parser.py +209 -0
- fbuild/config/mcu_specs.py +88 -0
- fbuild/daemon/__init__.py +34 -0
- fbuild/daemon/client.py +929 -0
- fbuild/daemon/compilation_queue.py +293 -0
- fbuild/daemon/daemon.py +474 -0
- fbuild/daemon/daemon_context.py +196 -0
- fbuild/daemon/error_collector.py +263 -0
- fbuild/daemon/file_cache.py +332 -0
- fbuild/daemon/lock_manager.py +270 -0
- fbuild/daemon/logging_utils.py +149 -0
- fbuild/daemon/messages.py +301 -0
- fbuild/daemon/operation_registry.py +288 -0
- fbuild/daemon/process_tracker.py +366 -0
- fbuild/daemon/processors/__init__.py +12 -0
- fbuild/daemon/processors/build_processor.py +157 -0
- fbuild/daemon/processors/deploy_processor.py +327 -0
- fbuild/daemon/processors/monitor_processor.py +146 -0
- fbuild/daemon/request_processor.py +401 -0
- fbuild/daemon/status_manager.py +216 -0
- fbuild/daemon/subprocess_manager.py +316 -0
- fbuild/deploy/__init__.py +17 -0
- fbuild/deploy/deployer.py +67 -0
- fbuild/deploy/deployer_esp32.py +314 -0
- fbuild/deploy/monitor.py +495 -0
- fbuild/interrupt_utils.py +34 -0
- fbuild/packages/__init__.py +53 -0
- fbuild/packages/archive_utils.py +1098 -0
- fbuild/packages/arduino_core.py +412 -0
- fbuild/packages/cache.py +249 -0
- fbuild/packages/downloader.py +366 -0
- fbuild/packages/framework_esp32.py +538 -0
- fbuild/packages/framework_teensy.py +346 -0
- fbuild/packages/github_utils.py +96 -0
- fbuild/packages/header_trampoline_cache.py +394 -0
- fbuild/packages/library_compiler.py +203 -0
- fbuild/packages/library_manager.py +549 -0
- fbuild/packages/library_manager_esp32.py +413 -0
- fbuild/packages/package.py +163 -0
- fbuild/packages/platform_esp32.py +383 -0
- fbuild/packages/platform_teensy.py +312 -0
- fbuild/packages/platform_utils.py +131 -0
- fbuild/packages/platformio_registry.py +325 -0
- fbuild/packages/sdk_utils.py +231 -0
- fbuild/packages/toolchain.py +436 -0
- fbuild/packages/toolchain_binaries.py +196 -0
- fbuild/packages/toolchain_esp32.py +484 -0
- fbuild/packages/toolchain_metadata.py +185 -0
- fbuild/packages/toolchain_teensy.py +404 -0
- fbuild/platform_configs/esp32.json +150 -0
- fbuild/platform_configs/esp32c2.json +144 -0
- fbuild/platform_configs/esp32c3.json +143 -0
- fbuild/platform_configs/esp32c5.json +151 -0
- fbuild/platform_configs/esp32c6.json +151 -0
- fbuild/platform_configs/esp32p4.json +149 -0
- fbuild/platform_configs/esp32s3.json +151 -0
- fbuild/platform_configs/imxrt1062.json +56 -0
- fbuild-1.1.0.dist-info/METADATA +447 -0
- fbuild-1.1.0.dist-info/RECORD +93 -0
- fbuild-1.1.0.dist-info/WHEEL +5 -0
- fbuild-1.1.0.dist-info/entry_points.txt +5 -0
- fbuild-1.1.0.dist-info/licenses/LICENSE +21 -0
- fbuild-1.1.0.dist-info/top_level.txt +2 -0
- fbuild_lint/__init__.py +0 -0
- fbuild_lint/ruff_plugins/__init__.py +0 -0
- fbuild_lint/ruff_plugins/keyboard_interrupt_checker.py +158 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ESP32-C3",
|
|
3
|
+
"description": "Configuration for ESP32-C3 MCU extracted from PlatformIO",
|
|
4
|
+
"mcu": "esp32c3",
|
|
5
|
+
"architecture": "riscv32",
|
|
6
|
+
|
|
7
|
+
"compiler_flags": {
|
|
8
|
+
"common": [
|
|
9
|
+
"-Os",
|
|
10
|
+
"-ffunction-sections",
|
|
11
|
+
"-fdata-sections",
|
|
12
|
+
"-Wno-error=unused-function",
|
|
13
|
+
"-Wno-error=unused-variable",
|
|
14
|
+
"-Wno-error=unused-but-set-variable",
|
|
15
|
+
"-Wno-error=deprecated-declarations",
|
|
16
|
+
"-Wno-error=extra",
|
|
17
|
+
"-Wno-unused-parameter",
|
|
18
|
+
"-Wno-sign-compare",
|
|
19
|
+
"-Wno-enum-conversion",
|
|
20
|
+
"-gdwarf-4",
|
|
21
|
+
"-ggdb",
|
|
22
|
+
"-nostartfiles",
|
|
23
|
+
"-freorder-blocks",
|
|
24
|
+
"-Wwrite-strings",
|
|
25
|
+
"-fstack-protector",
|
|
26
|
+
"-fstrict-volatile-bitfields",
|
|
27
|
+
"-fno-jump-tables",
|
|
28
|
+
"-fno-tree-switch-conversion",
|
|
29
|
+
"-MMD"
|
|
30
|
+
],
|
|
31
|
+
"c": [
|
|
32
|
+
"-march=rv32imc_zicsr_zifencei",
|
|
33
|
+
"-std=gnu17",
|
|
34
|
+
"-Wno-old-style-declaration",
|
|
35
|
+
"-Wno-strict-prototypes"
|
|
36
|
+
],
|
|
37
|
+
"cxx": [
|
|
38
|
+
"-march=rv32imc_zicsr_zifencei",
|
|
39
|
+
"-std=gnu++2b",
|
|
40
|
+
"-fexceptions",
|
|
41
|
+
"-fno-rtti",
|
|
42
|
+
"-fuse-cxa-atexit"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
"linker_flags": [
|
|
47
|
+
"-nostartfiles",
|
|
48
|
+
"-march=rv32imc_zicsr_zifencei",
|
|
49
|
+
"-Wl,--cref",
|
|
50
|
+
"-Wl,--defsym=IDF_TARGET_ESP32C3=0",
|
|
51
|
+
"-Wl,--no-warn-rwx-segments",
|
|
52
|
+
"-Wl,--orphan-handling=warn",
|
|
53
|
+
"-fno-rtti",
|
|
54
|
+
"-fno-lto",
|
|
55
|
+
"-Wl,--gc-sections",
|
|
56
|
+
"-Wl,--warn-common",
|
|
57
|
+
"-Wl,--wrap=log_printf",
|
|
58
|
+
"-Wl,--undefined=FreeRTOS_openocd_params",
|
|
59
|
+
"-u", "nvs_sec_provider_include_impl",
|
|
60
|
+
"-u", "_Z5setupv",
|
|
61
|
+
"-u", "_Z4loopv",
|
|
62
|
+
"-u", "esp_app_desc",
|
|
63
|
+
"-u", "esp_efuse_startup_include_func",
|
|
64
|
+
"-u", "start_app",
|
|
65
|
+
"-u", "__ubsan_include",
|
|
66
|
+
"-u", "esp_system_include_startup_funcs",
|
|
67
|
+
"-u", "__assert_func",
|
|
68
|
+
"-u", "esp_security_init_include_impl",
|
|
69
|
+
"-u", "esp_sleep_gpio_include",
|
|
70
|
+
"-u", "app_main",
|
|
71
|
+
"-u", "esp_libc_include_heap_impl",
|
|
72
|
+
"-u", "esp_libc_include_reent_syscalls_impl",
|
|
73
|
+
"-u", "esp_libc_include_syscalls_impl",
|
|
74
|
+
"-u", "esp_libc_include_pthread_impl",
|
|
75
|
+
"-u", "esp_libc_include_assert_impl",
|
|
76
|
+
"-u", "esp_libc_include_getentropy_impl",
|
|
77
|
+
"-u", "esp_libc_include_init_funcs",
|
|
78
|
+
"-u", "esp_libc_init_funcs",
|
|
79
|
+
"-u", "pthread_include_pthread_impl",
|
|
80
|
+
"-u", "pthread_include_pthread_cond_var_impl",
|
|
81
|
+
"-u", "pthread_include_pthread_local_storage_impl",
|
|
82
|
+
"-u", "pthread_include_pthread_rwlock_impl",
|
|
83
|
+
"-u", "pthread_include_pthread_semaphore_impl",
|
|
84
|
+
"-u", "__cxa_guard_dummy",
|
|
85
|
+
"-u", "__cxx_init_dummy",
|
|
86
|
+
"-u", "esp_timer_init_include_func",
|
|
87
|
+
"-u", "uart_vfs_include_dev_init",
|
|
88
|
+
"-u", "include_esp_phy_override",
|
|
89
|
+
"-u", "usb_serial_jtag_vfs_include_dev_init",
|
|
90
|
+
"-u", "usb_serial_jtag_connection_monitor_include",
|
|
91
|
+
"-u", "esp_vfs_include_console_register",
|
|
92
|
+
"-u", "vfs_include_syscalls_impl",
|
|
93
|
+
"-u", "esp_vfs_include_nullfs_register",
|
|
94
|
+
"-u", "esp_system_include_coredump_init"
|
|
95
|
+
],
|
|
96
|
+
|
|
97
|
+
"linker_scripts": [
|
|
98
|
+
"rom.api.ld",
|
|
99
|
+
"esp32c3.peripherals.ld",
|
|
100
|
+
"esp32c3.rom.ld",
|
|
101
|
+
"esp32c3.rom.api.ld",
|
|
102
|
+
"esp32c3.rom.bt_funcs.ld",
|
|
103
|
+
"esp32c3.rom.libgcc.ld",
|
|
104
|
+
"esp32c3.rom.version.ld",
|
|
105
|
+
"esp32c3.rom.ble_cca.ld",
|
|
106
|
+
"esp32c3.rom.ble_test.ld",
|
|
107
|
+
"esp32c3.rom.eco3.ld",
|
|
108
|
+
"esp32c3.rom.eco3_bt_funcs.ld",
|
|
109
|
+
"esp32c3.rom.libc.ld",
|
|
110
|
+
"esp32c3.rom.libc-suboptimal_for_misaligned_mem.ld",
|
|
111
|
+
"esp32c3.rom.newlib.ld",
|
|
112
|
+
"memory.ld",
|
|
113
|
+
"sections.ld"
|
|
114
|
+
],
|
|
115
|
+
|
|
116
|
+
"defines": [
|
|
117
|
+
"ESP32_ARDUINO_LIB_BUILDER",
|
|
118
|
+
["ESP_MDNS_VERSION_NUMBER", "\"1.9.0\""],
|
|
119
|
+
"ESP_PLATFORM",
|
|
120
|
+
["IDF_VER", "\"v5.5.1-710-g8410210c9a\""],
|
|
121
|
+
["MBEDTLS_CONFIG_FILE", "\"mbedtls/esp_config.h\""],
|
|
122
|
+
["MD5_ENABLED", "1"],
|
|
123
|
+
["OPENTHREAD_CONFIG_FILE", "\"openthread-core-esp32x-spinel-config.h\""],
|
|
124
|
+
["OPENTHREAD_PROJECT_LIB_CONFIG_FILE", "\"openthread-core-esp32x-spinel-config.h\""],
|
|
125
|
+
["SERIAL_FLASHER_BOOT_HOLD_TIME_MS", "50"],
|
|
126
|
+
["SERIAL_FLASHER_RESET_HOLD_TIME_MS", "100"],
|
|
127
|
+
["SOC_MMU_PAGE_SIZE", "CONFIG_MMU_PAGE_SIZE"],
|
|
128
|
+
["SOC_XTAL_FREQ_MHZ", "CONFIG_XTAL_FREQ"],
|
|
129
|
+
"UNITY_INCLUDE_CONFIG_H",
|
|
130
|
+
"_GLIBCXX_HAVE_POSIX_SEMAPHORE",
|
|
131
|
+
"_GLIBCXX_USE_POSIX_SEMAPHORE",
|
|
132
|
+
"_GNU_SOURCE",
|
|
133
|
+
"_POSIX_READER_WRITER_LOCKS",
|
|
134
|
+
"TF_LITE_STATIC_MEMORY",
|
|
135
|
+
["CHIP_CONFIG_SOFTWARE_VERSION_NUMBER", "0"],
|
|
136
|
+
["CHIP_DNSSD_DEFAULT_PLATFORM", "true"],
|
|
137
|
+
["CHIP_DNSSD_DEFAULT_NONE", "false"],
|
|
138
|
+
["CHIP_DNSSD_DEFAULT_MINIMAL", "false"],
|
|
139
|
+
"ARDUINO_ARCH_ESP32",
|
|
140
|
+
"CHIP_HAVE_CONFIG_H",
|
|
141
|
+
["ESP32", "ESP32"]
|
|
142
|
+
]
|
|
143
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ESP32-C5",
|
|
3
|
+
"description": "Configuration for ESP32-C5 MCU extracted from PlatformIO",
|
|
4
|
+
"mcu": "esp32c5",
|
|
5
|
+
"architecture": "riscv32",
|
|
6
|
+
|
|
7
|
+
"compiler_flags": {
|
|
8
|
+
"common": [
|
|
9
|
+
"-Os",
|
|
10
|
+
"-ffunction-sections",
|
|
11
|
+
"-fdata-sections",
|
|
12
|
+
"-Wno-error=unused-function",
|
|
13
|
+
"-Wno-error=unused-variable",
|
|
14
|
+
"-Wno-error=unused-but-set-variable",
|
|
15
|
+
"-Wno-error=deprecated-declarations",
|
|
16
|
+
"-Wno-error=extra",
|
|
17
|
+
"-Wno-unused-parameter",
|
|
18
|
+
"-Wno-sign-compare",
|
|
19
|
+
"-Wno-enum-conversion",
|
|
20
|
+
"-gdwarf-4",
|
|
21
|
+
"-ggdb",
|
|
22
|
+
"-nostartfiles",
|
|
23
|
+
"-freorder-blocks",
|
|
24
|
+
"-Wwrite-strings",
|
|
25
|
+
"-fstack-protector",
|
|
26
|
+
"-fstrict-volatile-bitfields",
|
|
27
|
+
"-fno-jump-tables",
|
|
28
|
+
"-fno-tree-switch-conversion",
|
|
29
|
+
"-MMD"
|
|
30
|
+
],
|
|
31
|
+
"c": [
|
|
32
|
+
"-march=rv32imac_zicsr_zifencei",
|
|
33
|
+
"-std=gnu17",
|
|
34
|
+
"-Wno-old-style-declaration",
|
|
35
|
+
"-Wno-strict-prototypes"
|
|
36
|
+
],
|
|
37
|
+
"cxx": [
|
|
38
|
+
"-march=rv32imac_zicsr_zifencei",
|
|
39
|
+
"-std=gnu++2b",
|
|
40
|
+
"-fexceptions",
|
|
41
|
+
"-fno-rtti",
|
|
42
|
+
"-fuse-cxa-atexit"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
"linker_flags": [
|
|
47
|
+
"-nostartfiles",
|
|
48
|
+
"-march=rv32imac_zicsr_zifencei",
|
|
49
|
+
"-Wl,--cref",
|
|
50
|
+
"-Wl,--defsym=IDF_TARGET_ESP32C5=0",
|
|
51
|
+
"-Wl,--no-warn-rwx-segments",
|
|
52
|
+
"-Wl,--orphan-handling=warn",
|
|
53
|
+
"-fno-rtti",
|
|
54
|
+
"-fno-lto",
|
|
55
|
+
"-Wl,--gc-sections",
|
|
56
|
+
"-Wl,--warn-common",
|
|
57
|
+
"-Wl,--wrap=log_printf",
|
|
58
|
+
"-Wl,--undefined=FreeRTOS_openocd_params",
|
|
59
|
+
"-u", "nvs_sec_provider_include_impl",
|
|
60
|
+
"-u", "_Z5setupv",
|
|
61
|
+
"-u", "_Z4loopv",
|
|
62
|
+
"-u", "esp_app_desc",
|
|
63
|
+
"-u", "esp_efuse_startup_include_func",
|
|
64
|
+
"-u", "start_app",
|
|
65
|
+
"-u", "__ubsan_include",
|
|
66
|
+
"-u", "esp_system_include_startup_funcs",
|
|
67
|
+
"-u", "tlsf_set_rom_patches",
|
|
68
|
+
"-u", "esp_rom_include_multi_heap_patch",
|
|
69
|
+
"-u", "__assert_func",
|
|
70
|
+
"-u", "esp_security_init_include_impl",
|
|
71
|
+
"-u", "rv_core_critical_regs_save",
|
|
72
|
+
"-u", "rv_core_critical_regs_restore",
|
|
73
|
+
"-u", "esp_sleep_gpio_include",
|
|
74
|
+
"-u", "app_main",
|
|
75
|
+
"-u", "esp_libc_include_heap_impl",
|
|
76
|
+
"-u", "esp_libc_include_reent_syscalls_impl",
|
|
77
|
+
"-u", "esp_libc_include_syscalls_impl",
|
|
78
|
+
"-u", "esp_libc_include_pthread_impl",
|
|
79
|
+
"-u", "esp_libc_include_assert_impl",
|
|
80
|
+
"-u", "esp_libc_include_getentropy_impl",
|
|
81
|
+
"-u", "esp_libc_include_init_funcs",
|
|
82
|
+
"-u", "esp_libc_init_funcs",
|
|
83
|
+
"-u", "pthread_include_pthread_impl",
|
|
84
|
+
"-u", "pthread_include_pthread_cond_var_impl",
|
|
85
|
+
"-u", "pthread_include_pthread_local_storage_impl",
|
|
86
|
+
"-u", "pthread_include_pthread_rwlock_impl",
|
|
87
|
+
"-u", "pthread_include_pthread_semaphore_impl",
|
|
88
|
+
"-u", "__cxa_guard_dummy",
|
|
89
|
+
"-u", "__cxx_init_dummy",
|
|
90
|
+
"-u", "esp_timer_init_include_func",
|
|
91
|
+
"-u", "uart_vfs_include_dev_init",
|
|
92
|
+
"-u", "include_esp_phy_override",
|
|
93
|
+
"-u", "usb_serial_jtag_vfs_include_dev_init",
|
|
94
|
+
"-u", "usb_serial_jtag_connection_monitor_include",
|
|
95
|
+
"-u", "esp_vfs_include_console_register",
|
|
96
|
+
"-u", "vfs_include_syscalls_impl",
|
|
97
|
+
"-u", "esp_vfs_include_nullfs_register",
|
|
98
|
+
"-u", "esp_system_include_coredump_init"
|
|
99
|
+
],
|
|
100
|
+
|
|
101
|
+
"linker_scripts": [
|
|
102
|
+
"memory.ld",
|
|
103
|
+
"sections.ld",
|
|
104
|
+
"rom.api.ld",
|
|
105
|
+
"esp32c5.peripherals.ld",
|
|
106
|
+
"esp32c5.rom.ld",
|
|
107
|
+
"esp32c5.rom.api.ld",
|
|
108
|
+
"esp32c5.rom.rvfp.ld",
|
|
109
|
+
"esp32c5.rom.wdt.ld",
|
|
110
|
+
"esp32c5.rom.systimer.ld",
|
|
111
|
+
"esp32c5.rom.version.ld",
|
|
112
|
+
"esp32c5.rom.phy.ld",
|
|
113
|
+
"esp32c5.rom.coexist.ld",
|
|
114
|
+
"esp32c5.rom.net80211.ld",
|
|
115
|
+
"esp32c5.rom.pp.ld",
|
|
116
|
+
"esp32c5.rom.libc.ld",
|
|
117
|
+
"esp32c5.rom.libc-suboptimal_for_misaligned_mem.ld",
|
|
118
|
+
"esp32c5.rom.newlib.ld",
|
|
119
|
+
"esp32c5.rom.newlib-normal.ld",
|
|
120
|
+
"esp32c5.rom.heap.ld"
|
|
121
|
+
],
|
|
122
|
+
|
|
123
|
+
"defines": [
|
|
124
|
+
"ESP32_ARDUINO_LIB_BUILDER",
|
|
125
|
+
["ESP_MDNS_VERSION_NUMBER", "\"1.9.0\""],
|
|
126
|
+
"ESP_PLATFORM",
|
|
127
|
+
["IDF_VER", "\"v5.5.1-710-g8410210c9a\""],
|
|
128
|
+
["MBEDTLS_CONFIG_FILE", "\"mbedtls/esp_config.h\""],
|
|
129
|
+
["MD5_ENABLED", "1"],
|
|
130
|
+
["OPENTHREAD_CONFIG_FILE", "\"openthread-core-esp32x-ftd-config.h\""],
|
|
131
|
+
["OPENTHREAD_FTD", "1"],
|
|
132
|
+
["OPENTHREAD_PROJECT_LIB_CONFIG_FILE", "\"openthread-core-esp32x-ftd-config.h\""],
|
|
133
|
+
["SERIAL_FLASHER_BOOT_HOLD_TIME_MS", "50"],
|
|
134
|
+
["SERIAL_FLASHER_RESET_HOLD_TIME_MS", "100"],
|
|
135
|
+
["SOC_MMU_PAGE_SIZE", "CONFIG_MMU_PAGE_SIZE"],
|
|
136
|
+
["SOC_XTAL_FREQ_MHZ", "CONFIG_XTAL_FREQ"],
|
|
137
|
+
"UNITY_INCLUDE_CONFIG_H",
|
|
138
|
+
"_GLIBCXX_HAVE_POSIX_SEMAPHORE",
|
|
139
|
+
"_GLIBCXX_USE_POSIX_SEMAPHORE",
|
|
140
|
+
"_GNU_SOURCE",
|
|
141
|
+
"_POSIX_READER_WRITER_LOCKS",
|
|
142
|
+
"TF_LITE_STATIC_MEMORY",
|
|
143
|
+
["CHIP_CONFIG_SOFTWARE_VERSION_NUMBER", "0"],
|
|
144
|
+
["CHIP_DNSSD_DEFAULT_PLATFORM", "true"],
|
|
145
|
+
["CHIP_DNSSD_DEFAULT_NONE", "false"],
|
|
146
|
+
["CHIP_DNSSD_DEFAULT_MINIMAL", "false"],
|
|
147
|
+
"ARDUINO_ARCH_ESP32",
|
|
148
|
+
"CHIP_HAVE_CONFIG_H",
|
|
149
|
+
["ESP32", "ESP32"]
|
|
150
|
+
]
|
|
151
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ESP32-C6",
|
|
3
|
+
"description": "Configuration for ESP32-C6 MCU extracted from PlatformIO",
|
|
4
|
+
"mcu": "esp32c6",
|
|
5
|
+
"architecture": "riscv32",
|
|
6
|
+
|
|
7
|
+
"compiler_flags": {
|
|
8
|
+
"common": [
|
|
9
|
+
"-Os",
|
|
10
|
+
"-ffunction-sections",
|
|
11
|
+
"-fdata-sections",
|
|
12
|
+
"-Wno-error=unused-function",
|
|
13
|
+
"-Wno-error=unused-variable",
|
|
14
|
+
"-Wno-error=unused-but-set-variable",
|
|
15
|
+
"-Wno-error=deprecated-declarations",
|
|
16
|
+
"-Wno-error=extra",
|
|
17
|
+
"-Wno-unused-parameter",
|
|
18
|
+
"-Wno-sign-compare",
|
|
19
|
+
"-Wno-enum-conversion",
|
|
20
|
+
"-gdwarf-4",
|
|
21
|
+
"-ggdb",
|
|
22
|
+
"-nostartfiles",
|
|
23
|
+
"-freorder-blocks",
|
|
24
|
+
"-Wwrite-strings",
|
|
25
|
+
"-fstack-protector",
|
|
26
|
+
"-fstrict-volatile-bitfields",
|
|
27
|
+
"-fno-jump-tables",
|
|
28
|
+
"-fno-tree-switch-conversion",
|
|
29
|
+
"-MMD"
|
|
30
|
+
],
|
|
31
|
+
"c": [
|
|
32
|
+
"-march=rv32imac_zicsr_zifencei",
|
|
33
|
+
"-std=gnu17",
|
|
34
|
+
"-Wno-old-style-declaration",
|
|
35
|
+
"-Wno-strict-prototypes"
|
|
36
|
+
],
|
|
37
|
+
"cxx": [
|
|
38
|
+
"-march=rv32imac_zicsr_zifencei",
|
|
39
|
+
"-std=gnu++2b",
|
|
40
|
+
"-fexceptions",
|
|
41
|
+
"-fno-rtti",
|
|
42
|
+
"-fuse-cxa-atexit"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
"linker_flags": [
|
|
47
|
+
"-nostartfiles",
|
|
48
|
+
"-march=rv32imac_zicsr_zifencei",
|
|
49
|
+
"-Wl,--cref",
|
|
50
|
+
"-Wl,--defsym=IDF_TARGET_ESP32C6=0",
|
|
51
|
+
"-Wl,--no-warn-rwx-segments",
|
|
52
|
+
"-Wl,--orphan-handling=warn",
|
|
53
|
+
"-fno-rtti",
|
|
54
|
+
"-fno-lto",
|
|
55
|
+
"-Wl,--gc-sections",
|
|
56
|
+
"-Wl,--warn-common",
|
|
57
|
+
"-Wl,--wrap=log_printf",
|
|
58
|
+
"-Wl,--undefined=FreeRTOS_openocd_params",
|
|
59
|
+
"-u", "nvs_sec_provider_include_impl",
|
|
60
|
+
"-u", "_Z5setupv",
|
|
61
|
+
"-u", "_Z4loopv",
|
|
62
|
+
"-u", "esp_app_desc",
|
|
63
|
+
"-u", "esp_efuse_startup_include_func",
|
|
64
|
+
"-u", "start_app",
|
|
65
|
+
"-u", "__ubsan_include",
|
|
66
|
+
"-u", "esp_system_include_startup_funcs",
|
|
67
|
+
"-u", "tlsf_set_rom_patches",
|
|
68
|
+
"-u", "esp_rom_include_multi_heap_patch",
|
|
69
|
+
"-u", "__assert_func",
|
|
70
|
+
"-u", "esp_security_init_include_impl",
|
|
71
|
+
"-u", "rv_core_critical_regs_save",
|
|
72
|
+
"-u", "rv_core_critical_regs_restore",
|
|
73
|
+
"-u", "esp_sleep_gpio_include",
|
|
74
|
+
"-u", "app_main",
|
|
75
|
+
"-u", "esp_libc_include_heap_impl",
|
|
76
|
+
"-u", "esp_libc_include_reent_syscalls_impl",
|
|
77
|
+
"-u", "esp_libc_include_syscalls_impl",
|
|
78
|
+
"-u", "esp_libc_include_pthread_impl",
|
|
79
|
+
"-u", "esp_libc_include_assert_impl",
|
|
80
|
+
"-u", "esp_libc_include_getentropy_impl",
|
|
81
|
+
"-u", "esp_libc_include_init_funcs",
|
|
82
|
+
"-u", "esp_libc_init_funcs",
|
|
83
|
+
"-u", "pthread_include_pthread_impl",
|
|
84
|
+
"-u", "pthread_include_pthread_cond_var_impl",
|
|
85
|
+
"-u", "pthread_include_pthread_local_storage_impl",
|
|
86
|
+
"-u", "pthread_include_pthread_rwlock_impl",
|
|
87
|
+
"-u", "pthread_include_pthread_semaphore_impl",
|
|
88
|
+
"-u", "__cxa_guard_dummy",
|
|
89
|
+
"-u", "__cxx_init_dummy",
|
|
90
|
+
"-u", "esp_timer_init_include_func",
|
|
91
|
+
"-u", "uart_vfs_include_dev_init",
|
|
92
|
+
"-u", "include_esp_phy_override",
|
|
93
|
+
"-u", "usb_serial_jtag_vfs_include_dev_init",
|
|
94
|
+
"-u", "usb_serial_jtag_connection_monitor_include",
|
|
95
|
+
"-u", "esp_vfs_include_console_register",
|
|
96
|
+
"-u", "vfs_include_syscalls_impl",
|
|
97
|
+
"-u", "esp_vfs_include_nullfs_register",
|
|
98
|
+
"-u", "esp_system_include_coredump_init"
|
|
99
|
+
],
|
|
100
|
+
|
|
101
|
+
"linker_scripts": [
|
|
102
|
+
"memory.ld",
|
|
103
|
+
"sections.ld",
|
|
104
|
+
"rom.api.ld",
|
|
105
|
+
"esp32c6.peripherals.ld",
|
|
106
|
+
"esp32c6.rom.ld",
|
|
107
|
+
"esp32c6.rom.api.ld",
|
|
108
|
+
"esp32c6.rom.rvfp.ld",
|
|
109
|
+
"esp32c6.rom.wdt.ld",
|
|
110
|
+
"esp32c6.rom.systimer.ld",
|
|
111
|
+
"esp32c6.rom.version.ld",
|
|
112
|
+
"esp32c6.rom.phy.ld",
|
|
113
|
+
"esp32c6.rom.coexist.ld",
|
|
114
|
+
"esp32c6.rom.net80211.ld",
|
|
115
|
+
"esp32c6.rom.pp.ld",
|
|
116
|
+
"esp32c6.rom.libc.ld",
|
|
117
|
+
"esp32c6.rom.libc-suboptimal_for_misaligned_mem.ld",
|
|
118
|
+
"esp32c6.rom.newlib.ld",
|
|
119
|
+
"esp32c6.rom.newlib-normal.ld",
|
|
120
|
+
"esp32c6.rom.heap.ld"
|
|
121
|
+
],
|
|
122
|
+
|
|
123
|
+
"defines": [
|
|
124
|
+
"ESP32_ARDUINO_LIB_BUILDER",
|
|
125
|
+
["ESP_MDNS_VERSION_NUMBER", "\"1.9.0\""],
|
|
126
|
+
"ESP_PLATFORM",
|
|
127
|
+
["IDF_VER", "\"v5.5.1-710-g8410210c9a\""],
|
|
128
|
+
["MBEDTLS_CONFIG_FILE", "\"mbedtls/esp_config.h\""],
|
|
129
|
+
["MD5_ENABLED", "1"],
|
|
130
|
+
["OPENTHREAD_CONFIG_FILE", "\"openthread-core-esp32x-ftd-config.h\""],
|
|
131
|
+
["OPENTHREAD_FTD", "1"],
|
|
132
|
+
["OPENTHREAD_PROJECT_LIB_CONFIG_FILE", "\"openthread-core-esp32x-ftd-config.h\""],
|
|
133
|
+
["SERIAL_FLASHER_BOOT_HOLD_TIME_MS", "50"],
|
|
134
|
+
["SERIAL_FLASHER_RESET_HOLD_TIME_MS", "100"],
|
|
135
|
+
["SOC_MMU_PAGE_SIZE", "CONFIG_MMU_PAGE_SIZE"],
|
|
136
|
+
["SOC_XTAL_FREQ_MHZ", "CONFIG_XTAL_FREQ"],
|
|
137
|
+
"UNITY_INCLUDE_CONFIG_H",
|
|
138
|
+
"_GLIBCXX_HAVE_POSIX_SEMAPHORE",
|
|
139
|
+
"_GLIBCXX_USE_POSIX_SEMAPHORE",
|
|
140
|
+
"_GNU_SOURCE",
|
|
141
|
+
"_POSIX_READER_WRITER_LOCKS",
|
|
142
|
+
"TF_LITE_STATIC_MEMORY",
|
|
143
|
+
["CHIP_CONFIG_SOFTWARE_VERSION_NUMBER", "0"],
|
|
144
|
+
["CHIP_DNSSD_DEFAULT_PLATFORM", "true"],
|
|
145
|
+
["CHIP_DNSSD_DEFAULT_NONE", "false"],
|
|
146
|
+
["CHIP_DNSSD_DEFAULT_MINIMAL", "false"],
|
|
147
|
+
"ARDUINO_ARCH_ESP32",
|
|
148
|
+
"CHIP_HAVE_CONFIG_H",
|
|
149
|
+
["ESP32", "ESP32"]
|
|
150
|
+
]
|
|
151
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ESP32-P4",
|
|
3
|
+
"description": "Configuration for ESP32-P4 MCU extracted from PlatformIO",
|
|
4
|
+
"mcu": "esp32p4",
|
|
5
|
+
"architecture": "riscv32",
|
|
6
|
+
|
|
7
|
+
"compiler_flags": {
|
|
8
|
+
"common": [
|
|
9
|
+
"-Os",
|
|
10
|
+
"-ffunction-sections",
|
|
11
|
+
"-fdata-sections",
|
|
12
|
+
"-Wno-error=unused-function",
|
|
13
|
+
"-Wno-error=unused-variable",
|
|
14
|
+
"-Wno-error=unused-but-set-variable",
|
|
15
|
+
"-Wno-error=deprecated-declarations",
|
|
16
|
+
"-Wno-error=extra",
|
|
17
|
+
"-Wno-unused-parameter",
|
|
18
|
+
"-Wno-sign-compare",
|
|
19
|
+
"-Wno-enum-conversion",
|
|
20
|
+
"-gdwarf-4",
|
|
21
|
+
"-ggdb",
|
|
22
|
+
"-nostartfiles",
|
|
23
|
+
"-freorder-blocks",
|
|
24
|
+
"-Wwrite-strings",
|
|
25
|
+
"-fstack-protector",
|
|
26
|
+
"-fstrict-volatile-bitfields",
|
|
27
|
+
"-fno-jump-tables",
|
|
28
|
+
"-fno-tree-switch-conversion",
|
|
29
|
+
"-MMD"
|
|
30
|
+
],
|
|
31
|
+
"c": [
|
|
32
|
+
"-march=rv32imafc_zicsr_zifencei",
|
|
33
|
+
"-mabi=ilp32f",
|
|
34
|
+
"-std=gnu17",
|
|
35
|
+
"-Wno-old-style-declaration",
|
|
36
|
+
"-Wno-strict-prototypes"
|
|
37
|
+
],
|
|
38
|
+
"cxx": [
|
|
39
|
+
"-march=rv32imafc_zicsr_zifencei",
|
|
40
|
+
"-mabi=ilp32f",
|
|
41
|
+
"-std=gnu++2b",
|
|
42
|
+
"-fexceptions",
|
|
43
|
+
"-fno-rtti",
|
|
44
|
+
"-fuse-cxa-atexit"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
"linker_flags": [
|
|
49
|
+
"-nostartfiles",
|
|
50
|
+
"-march=rv32imafc_zicsr_zifencei",
|
|
51
|
+
"-mabi=ilp32f",
|
|
52
|
+
"-Wl,--cref",
|
|
53
|
+
"-Wl,--defsym=IDF_TARGET_ESP32P4=0",
|
|
54
|
+
"-Wl,--no-warn-rwx-segments",
|
|
55
|
+
"-Wl,--orphan-handling=warn",
|
|
56
|
+
"-fno-rtti",
|
|
57
|
+
"-fno-lto",
|
|
58
|
+
"-Wl,--gc-sections",
|
|
59
|
+
"-Wl,--warn-common",
|
|
60
|
+
"-Wl,--wrap=log_printf",
|
|
61
|
+
"-Wl,--undefined=FreeRTOS_openocd_params",
|
|
62
|
+
"-u", "nvs_sec_provider_include_impl",
|
|
63
|
+
"-u", "_Z5setupv",
|
|
64
|
+
"-u", "_Z4loopv",
|
|
65
|
+
"-u", "esp_app_desc",
|
|
66
|
+
"-u", "esp_efuse_startup_include_func",
|
|
67
|
+
"-u", "start_app",
|
|
68
|
+
"-u", "__ubsan_include",
|
|
69
|
+
"-u", "esp_system_include_startup_funcs",
|
|
70
|
+
"-u", "tlsf_set_rom_patches",
|
|
71
|
+
"-u", "esp_rom_include_multi_heap_patch",
|
|
72
|
+
"-u", "__assert_func",
|
|
73
|
+
"-u", "esp_security_init_include_impl",
|
|
74
|
+
"-u", "rv_core_critical_regs_save",
|
|
75
|
+
"-u", "rv_core_critical_regs_restore",
|
|
76
|
+
"-u", "esp_sleep_gpio_include",
|
|
77
|
+
"-u", "app_main",
|
|
78
|
+
"-u", "esp_libc_include_heap_impl",
|
|
79
|
+
"-u", "esp_libc_include_reent_syscalls_impl",
|
|
80
|
+
"-u", "esp_libc_include_syscalls_impl",
|
|
81
|
+
"-u", "esp_libc_include_pthread_impl",
|
|
82
|
+
"-u", "esp_libc_include_assert_impl",
|
|
83
|
+
"-u", "esp_libc_include_getentropy_impl",
|
|
84
|
+
"-u", "esp_libc_include_init_funcs",
|
|
85
|
+
"-u", "esp_libc_init_funcs",
|
|
86
|
+
"-u", "pthread_include_pthread_impl",
|
|
87
|
+
"-u", "pthread_include_pthread_cond_var_impl",
|
|
88
|
+
"-u", "pthread_include_pthread_local_storage_impl",
|
|
89
|
+
"-u", "pthread_include_pthread_rwlock_impl",
|
|
90
|
+
"-u", "pthread_include_pthread_semaphore_impl",
|
|
91
|
+
"-u", "__cxa_guard_dummy",
|
|
92
|
+
"-u", "__cxx_init_dummy",
|
|
93
|
+
"-u", "esp_timer_init_include_func",
|
|
94
|
+
"-u", "uart_vfs_include_dev_init",
|
|
95
|
+
"-u", "include_esp_phy_override",
|
|
96
|
+
"-u", "usb_serial_jtag_vfs_include_dev_init",
|
|
97
|
+
"-u", "usb_serial_jtag_connection_monitor_include",
|
|
98
|
+
"-u", "esp_vfs_include_console_register",
|
|
99
|
+
"-u", "vfs_include_syscalls_impl",
|
|
100
|
+
"-u", "esp_vfs_include_nullfs_register",
|
|
101
|
+
"-u", "esp_system_include_coredump_init"
|
|
102
|
+
],
|
|
103
|
+
|
|
104
|
+
"linker_scripts": [
|
|
105
|
+
"memory.ld",
|
|
106
|
+
"sections.ld",
|
|
107
|
+
"rom.api.ld",
|
|
108
|
+
"esp32p4.peripherals.ld",
|
|
109
|
+
"esp32p4.rom.ld",
|
|
110
|
+
"esp32p4.rom.api.ld",
|
|
111
|
+
"esp32p4.rom.eco5.ld",
|
|
112
|
+
"esp32p4.rom.eco5.rvfp.ld",
|
|
113
|
+
"esp32p4.rom.eco5.libgcc.ld",
|
|
114
|
+
"esp32p4.rom.eco5.newlib.ld",
|
|
115
|
+
"esp32p4.rom.eco5.libc.ld",
|
|
116
|
+
"esp32p4.rom.wdt.ld",
|
|
117
|
+
"esp32p4.rom.systimer.ld",
|
|
118
|
+
"esp32p4.rom.version.ld"
|
|
119
|
+
],
|
|
120
|
+
|
|
121
|
+
"defines": [
|
|
122
|
+
"ESP32_ARDUINO_LIB_BUILDER",
|
|
123
|
+
["ESP_MDNS_VERSION_NUMBER", "\"1.9.0\""],
|
|
124
|
+
"ESP_PLATFORM",
|
|
125
|
+
["IDF_VER", "\"v5.5.1-710-g8410210c9a\""],
|
|
126
|
+
["MBEDTLS_CONFIG_FILE", "\"mbedtls/esp_config.h\""],
|
|
127
|
+
["MD5_ENABLED", "1"],
|
|
128
|
+
["OPENTHREAD_CONFIG_FILE", "\"openthread-core-esp32x-ftd-config.h\""],
|
|
129
|
+
["OPENTHREAD_FTD", "1"],
|
|
130
|
+
["OPENTHREAD_PROJECT_LIB_CONFIG_FILE", "\"openthread-core-esp32x-ftd-config.h\""],
|
|
131
|
+
["SERIAL_FLASHER_BOOT_HOLD_TIME_MS", "50"],
|
|
132
|
+
["SERIAL_FLASHER_RESET_HOLD_TIME_MS", "100"],
|
|
133
|
+
["SOC_MMU_PAGE_SIZE", "CONFIG_MMU_PAGE_SIZE"],
|
|
134
|
+
["SOC_XTAL_FREQ_MHZ", "CONFIG_XTAL_FREQ"],
|
|
135
|
+
"UNITY_INCLUDE_CONFIG_H",
|
|
136
|
+
"_GLIBCXX_HAVE_POSIX_SEMAPHORE",
|
|
137
|
+
"_GLIBCXX_USE_POSIX_SEMAPHORE",
|
|
138
|
+
"_GNU_SOURCE",
|
|
139
|
+
"_POSIX_READER_WRITER_LOCKS",
|
|
140
|
+
"TF_LITE_STATIC_MEMORY",
|
|
141
|
+
["CHIP_CONFIG_SOFTWARE_VERSION_NUMBER", "0"],
|
|
142
|
+
["CHIP_DNSSD_DEFAULT_PLATFORM", "true"],
|
|
143
|
+
["CHIP_DNSSD_DEFAULT_NONE", "false"],
|
|
144
|
+
["CHIP_DNSSD_DEFAULT_MINIMAL", "false"],
|
|
145
|
+
"ARDUINO_ARCH_ESP32",
|
|
146
|
+
"CHIP_HAVE_CONFIG_H",
|
|
147
|
+
["ESP32", "ESP32"]
|
|
148
|
+
]
|
|
149
|
+
}
|