Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
Browse files Browse the repository at this point in the history
… fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! feat: add esp-idf compilation feature
  • Loading branch information
pulsastrix committed Jun 13, 2024
1 parent be65d4a commit dddb683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcoap-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn main() {
.clang_arg("-target")
.clang_arg("xtensa") // Will need to be adjusted for RISC-V ESPs, workaround according to https://github.com/esp-rs/esp-idf-sys/blob/7a0747614cdd3a65cf4ac8094bbeebfee980dbb2/build/build.rs#L119
.clang_arg("-DESP_PLATFORM")
.clang_arg(format!("-I{}/components/lwip/include", esp_idf_path)
.clang_arg(format!("-I{}/components/lwip/include", esp_idf_path))
.clang_arg(format!("-I{}/managed_components/espressif__coap/libcoap/include", esp_idf_buildroot.to_string_lossy()));
//for arg in &esp_clang_args {
// println!("cargo:warning={}", arg);
Expand Down

0 comments on commit dddb683

Please sign in to comment.