Jean-François Milants
e038703efe
Refactor pvPortRealloc() to improve readability.
2023-05-18 19:58:09 +02:00
Jean-François Milants
9e808a65ec
Add pvPortRealloc() in heap_4_infinitime.c. An implementation of realloc() is needed by NimBLE.
2023-05-18 19:58:09 +02:00
Jean-François Milants
1df3d1a14d
Copy the memory manager heap_4.c from the FreeRTOS distribution to the InfiniTime project codebase. This will allow to implement custom functionalities that are not available in the original implementation.
2023-05-18 19:58:09 +02:00
JF002
c0b0f8cb73
Remove debug defines (DEBUG & DEBUG_NRF_USER) from the build. These debug can be useful for debugging purposes but not in production (release). ( #400 )
...
This reduces the size of the binary by about 6KB!
This also removes filepath that were embedded into the binary (.bin) file.
2021-06-01 21:02:15 +02:00
Jean-François Milants
01e194426d
Fix IRQ management in FreeRTOS to avoid crash and deadlock in BLE stack.
2021-02-14 14:42:30 +01:00
JF
b8f9d70667
Use PRIMASK instead of BASEPRI for critical sections in FreeRTOS. This is needed by NimBLE to be able to mask radio interrupt (which has priority 0).
2020-06-19 22:11:21 +02:00
JF
238cda0b90
Apply fix for errata 87 (FPU issue).
2020-06-19 22:10:30 +02:00
JF
bbe4e500c3
Improve power consumption and SLEEP mode :
...
- Disable IDLE hook (it would wake the device up as soon as possible).
- Logger task sleep for 100ms (disable logging for better battery life)
- Logging is disabled by default
- Apply fix for ERRATA 87 (clear FPU interrupt before going to sleep). Ports files from FreeRTOS are now in the sources (they where in the SDK before)
2020-01-05 11:09:07 +01:00