Commit Graph

6 Commits

Author SHA1 Message Date
Caleb Connolly
75e30f8d09 Revert "Use scope-based memory management for malloc, free, open, close, etc."
This commit introduced a lot of changes and seems to have caused a few
issues, including breaking crc32 generation. Revert it for now with the
intention to reimplement some of the improvements.

This reverts commit 9d7600df51.
2023-06-23 13:30:08 +01:00
Eric Curtin
9d7600df51 Use scope-based memory management for malloc, free, open, close, etc.
If we are using C++, we might as well use scope-based memory management
for these things, cleaner and less error prone. Also removed
unnecessary gotos.
2023-05-29 01:26:29 +00:00
alefnode
df63d7c21c Fix to << uint32_t has not been declared >> 2023-05-04 09:15:29 +02:00
Caleb Connolly
6fc95a16ee add root check 2022-06-04 15:57:54 +01:00
Caleb Connolly
4c49647382 cleanup, stub out tests
not sure how best to write tests, probably a larger test framework on
a board farm to test on real devices will be more sensible.
2022-06-04 15:51:22 +01:00
Caleb Connolly
55612452e0 its ALIIIIIIVE
not yet properly tested, but it seems to mostly work just fine. Slot
switching and marking boot as successful at least just work!
2022-06-04 04:42:40 +01:00