[PATCH] BSP for TMS570LS31x Hercules Development Kit from TI (TMS570LS3137)

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Aug 14 05:39:19 UTC 2014


Hello,

its nice that you use the new Termios device API.  I would be happy to receive 
comments if you found something odd about it.

Contains the current GCC 4.8 or 4.9 branch HEAD all what is necessary for your BSP?

I recently committed a patch for the Cortex-M floating point unit.  There are 
probably now some conflicts with your Cortex-R floating point code.

On 13/08/14 21:48, Premysl Houdek wrote:
> +/**
> + * @brief Optimized idle task.
> + *
> + * This idle task sets the power mode to idle.  This causes the processor
> + * clock to be stopped, while on-chip peripherals remain active.
> + * Any enabled interrupt from a peripheral or an external interrupt source
> + *  will cause the processor to resume execution.
> + *
> + * To enable the idle task use the following in the system configuration:
> + *
> + * @code
> + * #include <bsp.h>
> + *
> + * #define CONFIGURE_INIT
> + *
> + * #define CONFIGURE_IDLE_TASK_BODY bsp_idle_thread
> + *
> + * #include <confdefs.h>
> + * @endcode
> + */
> +void*bsp_idle_thread( uintptr_t ignored );
> +
> +#define BSP_CONSOLE_UART_BASE 0x4000C000U
> +
> +/**
> + * @brief Restarts the bsp with "addr" address
> + * @param addr Address used to restart the bsp
> + */
> +void bsp_restart( const void *addr );

This is probably superfluous copy and paste stuff.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list