Giter Site home page Giter Site logo

copterust / fcfs-rtfm Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 2.0 282 KB

experimenting with cortex-m-rtfm before porting f3-eva to it

Home Page: https://github.com/copterust/f3-eva

Rust 91.29% GDB 1.68% Makefile 2.02% Python 4.83% Gnuplot 0.19%
drone quadcopter rust uav

fcfs-rtfm's People

Contributors

bofh avatar dependabot[bot] avatar little-arhat avatar vickenty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fcfs-rtfm's Issues

Bloat

with-mpu branch without --release flag doesn't fit into nucleo board (STM32F303K8 has 64K of flash):

>>= cargo bloat --crates
Compiling ...
Analyzing target/thumbv7em-none-eabihf/debug/fcfs-rtfm

File  .text    Size Name
1.2%  43.9% 34.5KiB std
0.4%  13.1% 10.3KiB alt_stm32f30x_hal
0.3%  11.4%  9.0KiB mpu9250
0.3%   9.2%  7.2KiB stm32f30x
0.2%   5.7%  4.5KiB nalgebra
0.1%   4.1%  3.2KiB cortex_m_semihosting
0.1%   2.6%  2.1KiB cortex_m
0.1%   2.4%  1.9KiB [Unknown]
0.1%   2.3%  1.8KiB embedded_hal
0.0%   1.4%  1.1KiB fcfs_rtfm
0.0%   0.9%    690B hash32
0.0%   0.7%    582B cortex_m_rt
0.0%   0.5%    404B num_traits
0.0%   0.5%    396B generic_array
0.0%   0.3%    256B typenum
0.0%   0.2%    194B rtfm
0.0%   0.2%    136B panic_semihosting
0.0%   0.2%    136B panic_halt
0.0%   0.1%    108B cast
0.0%   0.1%     82B alga
2.7% 100.0% 78.5KiB .text section size, the file size is 2.8MiB

Note: numbers above are a result of guesswork. They are not 100% correct and never will be.

With --release it's somewhat better:

>>= cargo bloat --crates --release
Compiling ...
Analyzing target/thumbv7em-none-eabihf/release/fcfs-rtfm

File  .text    Size Name
5.4%  81.7% 28.0KiB std
0.9%  13.1%  4.5KiB [Unknown]
0.1%   1.8%    622B cortex_m_rt
0.1%   1.7%    608B mpu9250
0.0%   0.7%    228B nalgebra
0.0%   0.4%    152B cortex_m_semihosting
0.0%   0.3%    108B panic_halt
0.0%   0.3%     96B alt_stm32f30x_hal
6.6% 100.0% 34.2KiB .text section size, the file size is 517.2KiB

need to investigate

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.