waterloo-rocketry / cansw_processor_stm

1 stars 0 forks source link

Implement basic logging functionality #9

Closed celery6 closed 2 months ago

celery6 commented 2 months ago

some notes

Joe-Joe-Joe-Joe commented 2 months ago

Have you tested on the hardware yet?

celery6 commented 2 months ago

Tested latest changes, works well. Tested spamming logs in all tasks and buffers don't get full with the current osDelay(1000), but they do get full with shorter osDelays. To be optimized later ig!

merged master but didn't initialize task in main.

Joe-Joe-Joe-Joe commented 2 months ago

When you say "buffers get full" I'm assuming what you mean is that buffers fill up faster than they can be dumped over UART?

celery6 commented 2 months ago

Yes

Joe-Joe-Joe-Joe commented 2 months ago

try bumping baud rate to 500000 I know for a fact the chip supports it, idk if the programmer will bottleneck us there tho