diff options
author | 2020-07-21 14:10:50 +0000 | |
---|---|---|
committer | 2020-07-21 14:10:50 +0000 | |
commit | 1ac145307c2d3a7668660108bc80484f4c0463ff (patch) | |
tree | 36790471bea81835117034b071bbe65a00338a3d /cortex-m-rt/examples/data_overflow.rs | |
parent | 89832a7e1d467e75ac6093fe9560fd1dec65c51f (diff) | |
parent | ce049059f5b7e1b396f9d73eb069356f654a1789 (diff) | |
download | cortex-m-1ac145307c2d3a7668660108bc80484f4c0463ff.tar.gz cortex-m-1ac145307c2d3a7668660108bc80484f4c0463ff.tar.zst cortex-m-1ac145307c2d3a7668660108bc80484f4c0463ff.zip |
Merge #270
270: Add GitHub actions for CI r=adamgreig a=therealprof
This changes CI from Travis CI to GHA which should not only vastly simplify the maintenance (by getting rid of pulling custom binaries from japaric's repository) but also speeds up the CI process and adds rustfmt as well as clippy checks for good measure.
There's still room for optimisation but this has taken me long enough and plenty of sweat to get to this stage so my recommendation would be to merge it.
Co-authored-by: Daniel Egger <daniel@eggers-club.de>
Diffstat (limited to 'cortex-m-rt/examples/data_overflow.rs')
-rw-r--r-- | cortex-m-rt/examples/data_overflow.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cortex-m-rt/examples/data_overflow.rs b/cortex-m-rt/examples/data_overflow.rs index ea48b23..a84ec12 100644 --- a/cortex-m-rt/examples/data_overflow.rs +++ b/cortex-m-rt/examples/data_overflow.rs @@ -13,11 +13,11 @@ use core::ptr; use rt::entry; // This large static array uses most of .rodata -static RODATA: [u8; 48*1024] = [1u8; 48*1024]; +static RODATA: [u8; 48 * 1024] = [1u8; 48 * 1024]; // This large mutable array causes .data to use the rest of FLASH // without also overflowing RAM. -static mut DATA: [u8; 16*1024] = [1u8; 16*1024]; +static mut DATA: [u8; 16 * 1024] = [1u8; 16 * 1024]; #[entry] fn main() -> ! { |