Purpose of the PR
This PR integrates a transmit buffer using the fram chip using a circular buffer that doesn't allow for overwriting of data. It also modifies the fram implementation to allow for more intuitive use of the address space. The available space can be modified with the FRAM_BUFFER_START and FRAM_BUFFER_END defines. I made it up to the user to allocate space for their libraries.
Development EnvironmentLinux redwood 6.6.22-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 06:20:33 +0000 x86_64 GNU/Linux
Debugger: ST-Link V3
PlatformIO Core, version 6.1.13
Flash the main firmware and manually decode measurements from TTN
Additional Context
I am able to decode the measurements with the library, but there is an issue when enabling the webhook on TTN when uploading to Dirtviz. I am planning on addressing this when I write the protobuf implementation for the leaf wetness sensor where I have to modify Dirtviz anyways.
Name/Affiliation/Title N/A, maintainer
Purpose of the PR This PR integrates a transmit buffer using the fram chip using a circular buffer that doesn't allow for overwriting of data. It also modifies the fram implementation to allow for more intuitive use of the address space. The available space can be modified with the
FRAM_BUFFER_START
andFRAM_BUFFER_END
defines. I made it up to the user to allocate space for their libraries.Development Environment
Linux redwood 6.6.22-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 06:20:33 +0000 x86_64 GNU/Linux
Debugger: ST-Link V3 PlatformIO Core, version 6.1.13Pkg List
Test Procedure
test_fifo
Additional Context I am able to decode the measurements with the library, but there is an issue when enabling the webhook on TTN when uploading to Dirtviz. I am planning on addressing this when I write the protobuf implementation for the leaf wetness sensor where I have to modify Dirtviz anyways.
Closes #41