Commit Graph
8 Commits
Author SHA1 Message Date
Oskar Weigl b38fd2be9c Only inline short functions 2020-09-05 15:25:32 -07:00
Unknown 9e1e054f0a Bring several functions from utils.cpp into utils.hpp for inlining 2020-09-05 00:30:12 -04:00
Oskar Weigl 600832f8cf drop flag fno-finite-math-only, and implement explicit nan check function 2020-09-04 20:31:58 -07:00
Oskar Weigl ec63f956f9 no need for special fma function, the compiler knows 2020-09-04 20:17:35 -07:00
Oskar Weigl 412329d71a change to cmath by default 2020-09-04 19:46:12 -07:00
Oskar Weigl fb7d1d2961 change fabsf to std abs 2020-09-04 18:27:14 -07:00
Samuel Sadok 71cc825ba2 Move complexity out of CubeMX autogenerated code
Where viable, customizations in the CubeMX code (mostly the USER
CODE sections) are moved to our own files (primarily main.cpp and
board.cpp).

This will minimize code duplication when adding a new, completely
separate instance of the CubeMX files. The USB code still contains a
large amount of customization which is not touched by this commit and
should be refactored separately later on.

The entry point is now in main.cpp (moved from the CubeMX-generated
main.c). This increases control over the boot process while also
improving code organization.
2020-07-21 12:55:10 +02:00
Unknown 1bdea53ec8 Improve testability 2020-01-08 22:11:50 -05:00