Skip to content

Commit

Permalink
Fix build.rs in project readme (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanB7 committed Feb 22, 2023
1 parent b53e66d commit 07aae04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ info provided by your apps `build.rs`:
b.freertos("path/to/FreeRTOS-Kernel");
b.freertos_config("src"); // Location of `FreeRTOSConfig.h`
b.freertos_port("GCC/ARM_CM3"); // Port dir relativ to 'FreeRTOS-Kernel/portable'
b.heap("heap4.c"); // Set the heap_?.c allocator to use from
b.heap("heap_4.c"); // Set the heap_?.c allocator to use from
// 'FreeRTOS-Kernel/portable/MemMang' (Default: heap_4.c)
// b.get_cc().file("More.c"); // Optional additional C-Code to be compiled
b.compile().unwrap_or_else(|e| { panic!(e.to_string()) });
b.compile().unwrap_or_else(|e| { panic!("{}", e.to_string()) });
}
```

Expand Down

0 comments on commit 07aae04

Please sign in to comment.