aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/include/serial_usb.h2
-rw-r--r--os/hal/include/usb.h10
-rw-r--r--os/hal/ports/STM32/SPIv2/spi_lld.c6
-rw-r--r--os/hal/ports/STM32/USARTv2/uart_lld.c6
-rw-r--r--os/hal/ports/STM32/can_lld.c4
-rw-r--r--os/hal/ports/STM32/can_lld.h6
-rw-r--r--os/hal/ports/STM32F0xx/adc_lld.c2
-rw-r--r--os/hal/ports/STM32F0xx/adc_lld.h2
-rw-r--r--os/hal/ports/STM32F0xx/stm32_dma.c8
-rw-r--r--os/hal/ports/STM32F30x/adc_lld.c4
-rw-r--r--os/hal/ports/STM32F30x/adc_lld.h2
-rw-r--r--os/hal/ports/STM32F30x/stm32_dma.c8
-rw-r--r--os/hal/ports/STM32F4xx/adc_lld.h2
-rw-r--r--os/hal/ports/STM32F4xx/stm32_dma.c8
-rw-r--r--os/hal/src/serial_usb.c2
-rw-r--r--os/hal/src/usb.c10
-rw-r--r--os/rt/include/chvt.h10
-rw-r--r--os/rt/ports/ARMCMx/chcore_v7m.c2
-rw-r--r--os/rt/src/chsys.c8
-rw-r--r--os/rt/src/chthreads.c2
-rw-r--r--os/various/chprintf.c2
-rw-r--r--os/various/shell.c6
22 files changed, 59 insertions, 53 deletions
diff --git a/os/hal/include/serial_usb.h b/os/hal/include/serial_usb.h
index 5d1a14127..fb4ab25d5 100644
--- a/os/hal/include/serial_usb.h
+++ b/os/hal/include/serial_usb.h
@@ -218,7 +218,7 @@ extern "C" {
void sduStart(SerialUSBDriver *sdup, const SerialUSBConfig *config);
void sduStop(SerialUSBDriver *sdup);
void sduConfigureHookI(SerialUSBDriver *sdup);
- bool_t sduRequestsHook(USBDriver *usbp);
+ bool sduRequestsHook(USBDriver *usbp);
void sduDataTransmitted(USBDriver *usbp, usbep_t ep);
void sduDataReceived(USBDriver *usbp, usbep_t ep);
void sduInterruptTransmitted(USBDriver *usbp, usbep_t ep);
diff --git a/os/hal/include/usb.h b/os/hal/include/usb.h
index e474a470f..ef470bf23 100644
--- a/os/hal/include/usb.h
+++ b/os/hal/include/usb.h
@@ -319,7 +319,7 @@ typedef void (*usbeventcb_t)(USBDriver *usbp, usbevent_t event);
* @retval FALSE Request not recognized by the handler.
* @retval TRUE Request handled.
*/
-typedef bool_t (*usbreqhandler_t)(USBDriver *usbp);
+typedef bool (*usbreqhandler_t)(USBDriver *usbp);
/**
* @brief Type of an USB descriptor-retrieving callback.
@@ -553,10 +553,10 @@ extern "C" {
input_queue_t *iqp, size_t n);
void usbPrepareQueuedTransmit(USBDriver *usbp, usbep_t ep,
output_queue_t *oqp, size_t n);
- bool_t usbStartReceiveI(USBDriver *usbp, usbep_t ep);
- bool_t usbStartTransmitI(USBDriver *usbp, usbep_t ep);
- bool_t usbStallReceiveI(USBDriver *usbp, usbep_t ep);
- bool_t usbStallTransmitI(USBDriver *usbp, usbep_t ep);
+ bool usbStartReceiveI(USBDriver *usbp, usbep_t ep);
+ bool usbStartTransmitI(USBDriver *usbp, usbep_t ep);
+ bool usbStallReceiveI(USBDriver *usbp, usbep_t ep);
+ bool usbStallTransmitI(USBDriver *usbp, usbep_t ep);
void _usb_reset(USBDriver *usbp);
void _usb_ep0setup(USBDriver *usbp, usbep_t ep);
void _usb_ep0in(USBDriver *usbp, usbep_t ep);
diff --git a/os/hal/ports/STM32/SPIv2/spi_lld.c b/os/hal/ports/STM32/SPIv2/spi_lld.c
index 3cbcc0fc0..e21f80074 100644
--- a/os/hal/ports/STM32/SPIv2/spi_lld.c
+++ b/os/hal/ports/STM32/SPIv2/spi_lld.c
@@ -216,7 +216,7 @@ void spi_lld_start(SPIDriver *spip) {
if (spip->state == SPI_STOP) {
#if STM32_SPI_USE_SPI1
if (&SPID1 == spip) {
- bool_t b;
+ bool b;
b = dmaStreamAllocate(spip->dmarx,
STM32_SPI_SPI1_IRQ_PRIORITY,
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
@@ -232,7 +232,7 @@ void spi_lld_start(SPIDriver *spip) {
#endif
#if STM32_SPI_USE_SPI2
if (&SPID2 == spip) {
- bool_t b;
+ bool b;
b = dmaStreamAllocate(spip->dmarx,
STM32_SPI_SPI2_IRQ_PRIORITY,
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
@@ -248,7 +248,7 @@ void spi_lld_start(SPIDriver *spip) {
#endif
#if STM32_SPI_USE_SPI3
if (&SPID3 == spip) {
- bool_t b;
+ bool b;
b = dmaStreamAllocate(spip->dmarx,
STM32_SPI_SPI3_IRQ_PRIORITY,
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
diff --git a/os/hal/ports/STM32/USARTv2/uart_lld.c b/os/hal/ports/STM32/USARTv2/uart_lld.c
index 0b85a294c..54a187a39 100644
--- a/os/hal/ports/STM32/USARTv2/uart_lld.c
+++ b/os/hal/ports/STM32/USARTv2/uart_lld.c
@@ -391,7 +391,7 @@ void uart_lld_start(UARTDriver *uartp) {
if (uartp->state == UART_STOP) {
#if STM32_UART_USE_USART1
if (&UARTD1 == uartp) {
- bool_t b;
+ bool b;
b = dmaStreamAllocate(uartp->dmarx,
STM32_UART_USART1_IRQ_PRIORITY,
(stm32_dmaisr_t)uart_lld_serve_rx_end_irq,
@@ -411,7 +411,7 @@ void uart_lld_start(UARTDriver *uartp) {
#if STM32_UART_USE_USART2
if (&UARTD2 == uartp) {
- bool_t b;
+ bool b;
b = dmaStreamAllocate(uartp->dmarx,
STM32_UART_USART2_IRQ_PRIORITY,
(stm32_dmaisr_t)uart_lld_serve_rx_end_irq,
@@ -431,7 +431,7 @@ void uart_lld_start(UARTDriver *uartp) {
#if STM32_UART_USE_USART3
if (&UARTD3 == uartp) {
- bool_t b;
+ bool b;
b = dmaStreamAllocate(uartp->dmarx,
STM32_UART_USART3_IRQ_PRIORITY,
(stm32_dmaisr_t)uart_lld_serve_rx_end_irq,
diff --git a/os/hal/ports/STM32/can_lld.c b/os/hal/ports/STM32/can_lld.c
index a53a8fe27..266f87504 100644
--- a/os/hal/ports/STM32/can_lld.c
+++ b/os/hal/ports/STM32/can_lld.c
@@ -484,7 +484,7 @@ void can_lld_stop(CANDriver *canp) {
*
* @notapi
*/
-bool_t can_lld_is_tx_empty(CANDriver *canp, canmbx_t mailbox) {
+bool can_lld_is_tx_empty(CANDriver *canp, canmbx_t mailbox) {
switch (mailbox) {
case CAN_ANY_MAILBOX:
@@ -557,7 +557,7 @@ void can_lld_transmit(CANDriver *canp,
*
* @notapi
*/
-bool_t can_lld_is_rx_nonempty(CANDriver *canp, canmbx_t mailbox) {
+bool can_lld_is_rx_nonempty(CANDriver *canp, canmbx_t mailbox) {
switch (mailbox) {
case CAN_ANY_MAILBOX:
diff --git a/os/hal/ports/STM32/can_lld.h b/os/hal/ports/STM32/can_lld.h
index 9f3797029..27da0b3b6 100644
--- a/os/hal/ports/STM32/can_lld.h
+++ b/os/hal/ports/STM32/can_lld.h
@@ -341,13 +341,11 @@ extern "C" {
void can_lld_init(void);
void can_lld_start(CANDriver *canp);
void can_lld_stop(CANDriver *canp);
- bool_t can_lld_is_tx_empty(CANDriver *canp,
- canmbx_t mailbox);
+ bool can_lld_is_tx_empty(CANDriver *canp, canmbx_t mailbox);
void can_lld_transmit(CANDriver *canp,
canmbx_t mailbox,
const CANTxFrame *crfp);
- bool_t can_lld_is_rx_nonempty(CANDriver *canp,
- canmbx_t mailbox);
+ bool can_lld_is_rx_nonempty(CANDriver *canp, canmbx_t mailbox);
void can_lld_receive(CANDriver *canp,
canmbx_t mailbox,
CANRxFrame *ctfp);
diff --git a/os/hal/ports/STM32F0xx/adc_lld.c b/os/hal/ports/STM32F0xx/adc_lld.c
index 1c4ffce7f..b2aae96f1 100644
--- a/os/hal/ports/STM32F0xx/adc_lld.c
+++ b/os/hal/ports/STM32F0xx/adc_lld.c
@@ -179,7 +179,7 @@ void adc_lld_start(ADCDriver *adcp) {
if (adcp->state == ADC_STOP) {
#if STM32_ADC_USE_ADC1
if (&ADCD1 == adcp) {
- bool_t b;
+ bool b;
b = dmaStreamAllocate(adcp->dmastp,
STM32_ADC_ADC1_DMA_IRQ_PRIORITY,
(stm32_dmaisr_t)adc_lld_serve_rx_interrupt,
diff --git a/os/hal/ports/STM32F0xx/adc_lld.h b/os/hal/ports/STM32F0xx/adc_lld.h
index 635dcefaa..bddb6453a 100644
--- a/os/hal/ports/STM32F0xx/adc_lld.h
+++ b/os/hal/ports/STM32F0xx/adc_lld.h
@@ -194,7 +194,7 @@ typedef struct {
/**
* @brief Enables the circular buffer mode for the group.
*/
- bool_t circular;
+ bool circular;
/**
* @brief Number of the analog channels belonging to the conversion group.
*/
diff --git a/os/hal/ports/STM32F0xx/stm32_dma.c b/os/hal/ports/STM32F0xx/stm32_dma.c
index 623c9d11b..f803f0506 100644
--- a/os/hal/ports/STM32F0xx/stm32_dma.c
+++ b/os/hal/ports/STM32F0xx/stm32_dma.c
@@ -223,10 +223,10 @@ void dmaInit(void) {
*
* @special
*/
-bool_t dmaStreamAllocate(const stm32_dma_stream_t *dmastp,
- uint32_t priority,
- stm32_dmaisr_t func,
- void *param) {
+bool dmaStreamAllocate(const stm32_dma_stream_t *dmastp,
+ uint32_t priority,
+ stm32_dmaisr_t func,
+ void *param) {
osalDbgCheck(dmastp != NULL);
diff --git a/os/hal/ports/STM32F30x/adc_lld.c b/os/hal/ports/STM32F30x/adc_lld.c
index d516cf21b..ff8eb0fec 100644
--- a/os/hal/ports/STM32F30x/adc_lld.c
+++ b/os/hal/ports/STM32F30x/adc_lld.c
@@ -370,7 +370,7 @@ void adc_lld_start(ADCDriver *adcp) {
if (adcp->state == ADC_STOP) {
#if STM32_ADC_USE_ADC1
if (&ADCD1 == adcp) {
- bool_t b;
+ bool b;
b = dmaStreamAllocate(adcp->dmastp,
STM32_ADC_ADC12_DMA_IRQ_PRIORITY,
(stm32_dmaisr_t)adc_lld_serve_dma_interrupt,
@@ -382,7 +382,7 @@ void adc_lld_start(ADCDriver *adcp) {
#if STM32_ADC_USE_ADC3
if (&ADCD3 == adcp) {
- bool_t b;
+ bool b;
b = dmaStreamAllocate(adcp->dmastp,
STM32_ADC_ADC34_DMA_IRQ_PRIORITY,
(stm32_dmaisr_t)adc_lld_serve_dma_interrupt,
diff --git a/os/hal/ports/STM32F30x/adc_lld.h b/os/hal/ports/STM32F30x/adc_lld.h
index 66c725cdd..1c9ac03e4 100644
--- a/os/hal/ports/STM32F30x/adc_lld.h
+++ b/os/hal/ports/STM32F30x/adc_lld.h
@@ -389,7 +389,7 @@ typedef struct {
/**
* @brief Enables the circular buffer mode for the group.
*/
- bool_t circular;
+ bool circular;
/**
* @brief Number of the analog channels belonging to the conversion group.
*/
diff --git a/os/hal/ports/STM32F30x/stm32_dma.c b/os/hal/ports/STM32F30x/stm32_dma.c
index eb73f1b37..9b912e8fb 100644
--- a/os/hal/ports/STM32F30x/stm32_dma.c
+++ b/os/hal/ports/STM32F30x/stm32_dma.c
@@ -373,10 +373,10 @@ void dmaInit(void) {
*
* @special
*/
-bool_t dmaStreamAllocate(const stm32_dma_stream_t *dmastp,
- uint32_t priority,
- stm32_dmaisr_t func,
- void *param) {
+bool dmaStreamAllocate(const stm32_dma_stream_t *dmastp,
+ uint32_t priority,
+ stm32_dmaisr_t func,
+ void *param) {
osalDbgCheck(dmastp != NULL);
diff --git a/os/hal/ports/STM32F4xx/adc_lld.h b/os/hal/ports/STM32F4xx/adc_lld.h
index c8f0570eb..6b6530a61 100644
--- a/os/hal/ports/STM32F4xx/adc_lld.h
+++ b/os/hal/ports/STM32F4xx/adc_lld.h
@@ -345,7 +345,7 @@ typedef struct {
/**
* @brief Enables the circular buffer mode for the group.
*/
- bool_t circular;
+ bool circular;
/**
* @brief Number of the analog channels belonging to the conversion group.
*/
diff --git a/os/hal/ports/STM32F4xx/stm32_dma.c b/os/hal/ports/STM32F4xx/stm32_dma.c
index a3bb26b0d..af3513954 100644
--- a/os/hal/ports/STM32F4xx/stm32_dma.c
+++ b/os/hal/ports/STM32F4xx/stm32_dma.c
@@ -454,10 +454,10 @@ void dmaInit(void) {
*
* @special
*/
-bool_t dmaStreamAllocate(const stm32_dma_stream_t *dmastp,
- uint32_t priority,
- stm32_dmaisr_t func,
- void *param) {
+bool dmaStreamAllocate(const stm32_dma_stream_t *dmastp,
+ uint32_t priority,
+ stm32_dmaisr_t func,
+ void *param) {
osalDbgCheck(dmastp != NULL);
diff --git a/os/hal/src/serial_usb.c b/os/hal/src/serial_usb.c
index b8764a51a..7a9476250 100644
--- a/os/hal/src/serial_usb.c
+++ b/os/hal/src/serial_usb.c
@@ -289,7 +289,7 @@ void sduConfigureHookI(SerialUSBDriver *sdup) {
* @retval TRUE Message handled internally.
* @retval FALSE Message not handled.
*/
-bool_t sduRequestsHook(USBDriver *usbp) {
+bool sduRequestsHook(USBDriver *usbp) {
if ((usbp->setup[0] & USB_RTYPE_TYPE_MASK) == USB_RTYPE_TYPE_CLASS) {
switch (usbp->setup[1]) {
diff --git a/os/hal/src/usb.c b/os/hal/src/usb.c
index 906981db2..a84702b5b 100644
--- a/os/hal/src/usb.c
+++ b/os/hal/src/usb.c
@@ -77,7 +77,7 @@ static void set_address(USBDriver *usbp) {
* @retval FALSE Request not recognized by the handler or error.
* @retval TRUE Request handled.
*/
-static bool_t default_handler(USBDriver *usbp) {
+static bool default_handler(USBDriver *usbp) {
const USBDescriptor *dp;
/* Decoding the request.*/
@@ -471,7 +471,7 @@ void usbPrepareQueuedTransmit(USBDriver *usbp, usbep_t ep,
*
* @iclass
*/
-bool_t usbStartReceiveI(USBDriver *usbp, usbep_t ep) {
+bool usbStartReceiveI(USBDriver *usbp, usbep_t ep) {
osalDbgCheckClassI();
osalDbgCheck(usbp != NULL);
@@ -498,7 +498,7 @@ bool_t usbStartReceiveI(USBDriver *usbp, usbep_t ep) {
*
* @iclass
*/
-bool_t usbStartTransmitI(USBDriver *usbp, usbep_t ep) {
+bool usbStartTransmitI(USBDriver *usbp, usbep_t ep) {
osalDbgCheckClassI();
osalDbgCheck(usbp != NULL);
@@ -523,7 +523,7 @@ bool_t usbStartTransmitI(USBDriver *usbp, usbep_t ep) {
*
* @iclass
*/
-bool_t usbStallReceiveI(USBDriver *usbp, usbep_t ep) {
+bool usbStallReceiveI(USBDriver *usbp, usbep_t ep) {
osalDbgCheckClassI();
osalDbgCheck(usbp != NULL);
@@ -547,7 +547,7 @@ bool_t usbStallReceiveI(USBDriver *usbp, usbep_t ep) {
*
* @iclass
*/
-bool_t usbStallTransmitI(USBDriver *usbp, usbep_t ep) {
+bool usbStallTransmitI(USBDriver *usbp, usbep_t ep) {
osalDbgCheckClassI();
osalDbgCheck(usbp != NULL);
diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h
index d4948f1d6..447c4deee 100644
--- a/os/rt/include/chvt.h
+++ b/os/rt/include/chvt.h
@@ -257,7 +257,7 @@ static inline bool chVTIsSystemTimeWithin(systime_t start, systime_t end) {
/**
* @brief Returns @p true if the specified timer is armed.
* @pre The timer must have been initialized using @p chVTObjectInit()
- * or @p chVTSetI() (or @p chVTSetI() variants).
+ * or @p chVTDoSetI().
*
* @param[in] vtp the @p virtual_timer_t structure pointer
* @return true if the timer is armed.
@@ -274,6 +274,8 @@ static inline bool chVTIsArmedI(virtual_timer_t *vtp) {
/**
* @brief Disables a Virtual Timer.
* @note The timer is first checked and disabled only if armed.
+ * @pre The timer must have been initialized using @p chVTObjectInit()
+ * or @p chVTDoSetI().
*
* @param[in] vtp the @p virtual_timer_t structure pointer
*
@@ -288,6 +290,8 @@ static inline void chVTResetI(virtual_timer_t *vtp) {
/**
* @brief Disables a Virtual Timer.
* @note The timer is first checked and disabled only if armed.
+ * @pre The timer must have been initialized using @p chVTObjectInit()
+ * or @p chVTDoSetI().
*
* @param[in] vtp the @p virtual_timer_t structure pointer
*
@@ -304,6 +308,8 @@ static inline void chVTReset(virtual_timer_t *vtp) {
* @brief Enables a virtual timer.
* @details If the virtual timer was already enabled then it is re-enabled
* using the new parameters.
+ * @pre The timer must have been initialized using @p chVTObjectInit()
+ * or @p chVTDoSetI().
*
* @param[in] vtp the @p virtual_timer_t structure pointer
* @param[in] delay the number of ticks before the operation timeouts.
@@ -326,6 +332,8 @@ static inline void chVTSetI(virtual_timer_t *vtp, systime_t delay,
* @brief Enables a virtual timer.
* @details If the virtual timer was already enabled then it is re-enabled
* using the new parameters.
+ * @pre The timer must have been initialized using @p chVTObjectInit()
+ * or @p chVTDoSetI().
*
* @param[in] vtp the @p virtual_timer_t structure pointer
* @param[in] delay the number of ticks before the operation timeouts.
diff --git a/os/rt/ports/ARMCMx/chcore_v7m.c b/os/rt/ports/ARMCMx/chcore_v7m.c
index 49826c48c..ff9219ac6 100644
--- a/os/rt/ports/ARMCMx/chcore_v7m.c
+++ b/os/rt/ports/ARMCMx/chcore_v7m.c
@@ -71,7 +71,7 @@ void SVC_Handler(void) {
#if CORTEX_USE_FPU
/* Restoring the special register FPCCR.*/
FPU->FPCCR = (uint32_t)ctxp->fpccr;
- FPU->FPCAR = FPU->FPCAR + sizeof (struct extctx);
+ FPU->FPCAR = FPU->FPCAR + sizeof (struct port_extctx);
#endif
/* Writing back the modified PSP value.*/
diff --git a/os/rt/src/chsys.c b/os/rt/src/chsys.c
index c0be6422b..94f1afd51 100644
--- a/os/rt/src/chsys.c
+++ b/os/rt/src/chsys.c
@@ -261,7 +261,7 @@ void chSysRestoreStatusX(syssts_t sts) {
}
}
-#if CH_PORT_SUPPORTS_RT || defined(__DOXYGEN__)
+#if PORT_SUPPORTS_RT || defined(__DOXYGEN__)
/**
* @brief Realtime window test.
* @details This function verifies if the current realtime counter value
@@ -270,7 +270,7 @@ void chSysRestoreStatusX(syssts_t sts) {
* @note When start==end then the function returns always true because the
* whole time range is specified.
* @note This function is only available if the port layer supports the
- * option @p CH_PORT_SUPPORTS_RT.
+ * option @p PORT_SUPPORTS_RT.
*
* @param[in] cnt the counter value to be tested
* @param[in] start the start of the time window (inclusive)
@@ -291,7 +291,7 @@ bool chSysIsCounterWithinX(rtcnt_t cnt, rtcnt_t start, rtcnt_t end) {
* @note The real delay is always few cycles in excess of the specified
* value.
* @note This function is only available if the port layer supports the
- * option @p CH_PORT_SUPPORTS_RT.
+ * option @p PORT_SUPPORTS_RT.
*
* @param[in] cycles number of cycles
*
@@ -303,6 +303,6 @@ void chSysPolledDelayX(rtcnt_t cycles) {
while (chSysIsCounterWithinX(chSysGetRealtimeCounterX(), start, end))
;
}
-#endif /* CH_PORT_SUPPORTS_RT */
+#endif /* PORT_SUPPORTS_RT */
/** @} */
diff --git a/os/rt/src/chthreads.c b/os/rt/src/chthreads.c
index 35f53a072..042d90c5e 100644
--- a/os/rt/src/chthreads.c
+++ b/os/rt/src/chthreads.c
@@ -181,7 +181,7 @@ thread_t *chThdCreateI(void *wsp, size_t size,
thread_t *tp = wsp;
chDbgCheckClassI();
- chDbgCheck((wsp != NULL) && (size >= THD_WA_SIZE(0)) &&
+ chDbgCheck((wsp != NULL) && (size >= THD_WORKING_AREA_SIZE(0)) &&
(prio <= HIGHPRIO) && (pf != NULL));
PORT_SETUP_CONTEXT(tp, wsp, size, pf, arg);
diff --git a/os/various/chprintf.c b/os/various/chprintf.c
index d712b98ab..787b6c7ab 100644
--- a/os/various/chprintf.c
+++ b/os/various/chprintf.c
@@ -109,7 +109,7 @@ void chprintf(BaseSequentialStream *chp, const char *fmt, ...) {
va_list ap;
char *p, *s, c, filler;
int i, precision, width;
- bool_t is_long, left_align;
+ bool is_long, left_align;
long l;
#if CHPRINTF_USE_FLOAT
float f;
diff --git a/os/various/shell.c b/os/various/shell.c
index 907d6c187..62ffc5ce1 100644
--- a/os/various/shell.c
+++ b/os/various/shell.c
@@ -76,7 +76,7 @@ static void cmd_info(BaseSequentialStream *chp, int argc, char *argv[]) {
#ifdef PORT_COMPILER_NAME
chprintf(chp, "Compiler: %s\r\n", PORT_COMPILER_NAME);
#endif
- chprintf(chp, "Architecture: %s\r\n", CH_ARCHITECTURE_NAME);
+ chprintf(chp, "Architecture: %s\r\n", PORT_ARCHITECTURE_NAME);
#ifdef PORT_CORE_VARIANT_NAME
chprintf(chp, "Core Variant: %s\r\n", PORT_CORE_VARIANT_NAME);
#endif
@@ -115,7 +115,7 @@ static ShellCommand local_commands[] = {
{NULL, NULL}
};
-static bool_t cmdexec(const ShellCommand *scp, BaseSequentialStream *chp,
+static bool cmdexec(const ShellCommand *scp, BaseSequentialStream *chp,
char *name, int argc, char *argv[]) {
while (scp->sc_name != NULL) {
@@ -248,7 +248,7 @@ thread_t *shellCreateStatic(const ShellConfig *scp, void *wsp,
* @retval TRUE the channel was reset or CTRL-D pressed.
* @retval FALSE operation successful.
*/
-bool_t shellGetLine(BaseSequentialStream *chp, char *line, unsigned size) {
+bool shellGetLine(BaseSequentialStream *chp, char *line, unsigned size) {
char *p = line;
while (TRUE) {