mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-18 16:53:45 +00:00
1f761d7fbb
* maxim crc function * one wire template device and ds1990 classes * 3 fields for addr * cyfral emulator lib * add cyfral read mode, refract rendering and events * add ADC1_IN14, add adc interrupt * cyfral read mode * rename and move api-hal includes folder * build onewire libs only if we build app * start in mode 0
37 lines
No EOL
755 B
C
37 lines
No EOL
755 B
C
#include <stdbool.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <cmsis_os.h>
|
|
|
|
#define configTOTAL_HEAP_SIZE ((size_t)(8192 * 16))
|
|
#define configAPPLICATION_ALLOCATED_HEAP 0
|
|
#define portBYTE_ALIGNMENT 8
|
|
|
|
#if portBYTE_ALIGNMENT == 8
|
|
#define portBYTE_ALIGNMENT_MASK (0x0007)
|
|
#endif
|
|
|
|
/* No test marker by default. */
|
|
#ifndef mtCOVERAGE_TEST_MARKER
|
|
#define mtCOVERAGE_TEST_MARKER()
|
|
#endif
|
|
|
|
/* No tracing by default. */
|
|
#ifndef traceMALLOC
|
|
#define traceMALLOC(pvReturn, xWantedSize)
|
|
#endif
|
|
|
|
/* No tracing by default. */
|
|
#ifndef traceFREE
|
|
#define traceFREE(pvReturn, xBlockSize)
|
|
#endif
|
|
|
|
/* No assert by default. */
|
|
#ifndef configASSERT
|
|
#define configASSERT(var)
|
|
#endif
|
|
|
|
bool prvHeapInit(void);
|
|
|
|
void acquire_memalloc_mutex();
|
|
void release_memalloc_mutex(); |