Feature/add memap cstack usage ports (#661)
* Added memap, avstack, and checkstackusage tools to STM32F4xx Makefile and CMake builds to calculate CSTACK depth and RAM usage * Added memap, cstack, and ram-usage recipes to stm32f10x port Makefile. Added Cmake build. * Removed local dlmstp.c module from stm32f10x port, and used the common datalink dlmstp.c module with MS/TP extended frames and zero-config support. * Added .nm and .su to .gitignore to skip the analysis file residue.
This commit is contained in:
+14
-13
@@ -36,33 +36,34 @@ extern "C" {
|
||||
|
||||
void rs485_init(
|
||||
void);
|
||||
|
||||
void rs485_rts_enable(
|
||||
bool enable);
|
||||
bool rs485_rts_enabled(
|
||||
void);
|
||||
|
||||
bool rs485_byte_available(
|
||||
uint8_t * data_register);
|
||||
bool rs485_receive_error(
|
||||
void);
|
||||
void rs485_bytes_send(
|
||||
uint8_t * buffer, /* data to send */
|
||||
uint16_t nbytes); /* number of bytes of data */
|
||||
uint8_t * buffer,
|
||||
uint16_t nbytes);
|
||||
|
||||
uint32_t rs485_baud_rate(
|
||||
void);
|
||||
bool rs485_baud_rate_set(
|
||||
uint32_t baud);
|
||||
/* a granular approach */
|
||||
void rs485_byte_send(
|
||||
uint8_t data_register);
|
||||
bool rs485_byte_sent(
|
||||
void);
|
||||
bool rs485_frame_sent(
|
||||
void);
|
||||
bool rs485_turnaround_elapsed(
|
||||
void);
|
||||
|
||||
uint32_t rs485_silence_milliseconds(
|
||||
void);
|
||||
void rs485_silence_reset(
|
||||
void);
|
||||
bool rs485_silence_elapsed(
|
||||
uint32_t interval);
|
||||
|
||||
uint32_t rs485_bytes_transmitted(
|
||||
void);
|
||||
uint32_t rs485_bytes_received(
|
||||
void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user