summaryrefslogtreecommitdiffstats
path: root/bsps (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-15bsp/tms570: Add header guardsSebastian Huber1-0/+5
Update #4982.
2024-01-15bsp/tms570: The TMS570LC4357 has no TCRAM modulesSebastian Huber2-0/+6
Update #4982.
2024-01-15bsp/tms570: Initialize SRAM on demandSebastian Huber1-10/+27
Update #4982.
2024-01-15bsp/tms570: Use asm code for tms570_memory_init()Sebastian Huber1-14/+21
Make sure that we do not use the stack for this function. Update #4982.
2024-01-15bsp/tms570: Honor DBGRST for TMS570LC4357Tyler Miller2-0/+22
Update #4982.
2024-01-15bsp/tms570: Remove reset source handlingSebastian Huber1-47/+0
Do not clear SYSESR and let the application handle the reset source. Update #4982.
2024-01-15bsp/tms570: Add HCLKCNTL registerTyler Miller1-2/+4
Update #4982.
2024-01-15bsp/tms570: TMS570LC4x Errata DEVICE#60Tyler Miller1-2/+7
Update #4982.
2024-01-15bsp/tms570: Add errata SSWF021#45 handlingSebastian Huber4-0/+437
Update #4982.
2024-01-15bsp/tms570: Conditionalize TMS570LS3137 errataSebastian Huber1-0/+4
Update #4982.
2024-01-15bsp/tms570: Simplify expressionSebastian Huber1-11/+12
Update #4982.
2024-01-15bsp/tms570: Add TMS570LC4357 power supportTyler Miller2-5/+25
Update #4982.
2024-01-15bsp/tms570: Add TMS570LC4357 pin config supportTyler Miller3-39/+12
Update #4982.
2024-01-15bsp/tms570: Remove double pin configurationTyler Miller1-10/+0
Do not set pins to the default function before the actual setting is applied. If a pin setting needs to be done in a certain order, then this should be done explicitly through multiple calls to tms570_bsp_pinmmr_config(). Update #4982.
2024-01-15bsp/tms570: Add tms570_pbist_run_and_check()Tyler Miller3-54/+33
Update #4982.
2024-01-15bsp/tms570: Add TMS570LC4357 PBIST supportTyler Miller1-19/+32
Update #4982.
2024-01-15bsp/tms570: Fix PBIST clock enableSebastian Huber1-2/+2
Bit 1 of the PACT is reserved (writes have no effect). Update #4982.
2024-01-15bsp/tms570: Add TMS570LC4357 BSP variantsSebastian Huber2-0/+54
Update #4982.
2024-01-15bsp/tms570: Add linkcmds.memorySebastian Huber9-89/+19
Remove obsolete tms570ls3137_hdk_with_loader BSP variant. With the new memory origin/size build options this variant is no longer required. Update #4982.
2024-01-15bsp/tms570: Avoid vector overlay memory regionSebastian Huber3-9/+24
Reserve the space in a section. This makes it possible to use a common memory region definition. Update #4982.
2024-01-15bsp/tms570: Add TM27 supportSebastian Huber1-1/+128
Update #4982.
2024-01-15bsp/tms570: Avoid spurious interruptsSebastian Huber1-2/+10
Update #4982.
2024-01-15bsp/tms570: Implement interrupt is enabled/pendingSebastian Huber1-6/+40
Update #4982.
2024-01-15bsp/tms570: Implement set/get interrupt prioritySebastian Huber2-53/+140
Update #4982.
2024-01-15bsp/tms570: Avoid errno for debug consoleSebastian Huber1-1/+1
Update #4982.
2024-01-15bsp/tms570: Fix bsp_reset()Sebastian Huber1-1/+9
Update #4982.
2024-01-15bsp/tms570: Rename tms570_initialize_and_clear()Sebastian Huber3-3/+3
Rename tms570_initialize_and_clear() in tms570_pom_initialize_and_clear(). Update #4982.
2024-01-15bsp/tms570: Add bsp_restart()Sebastian Huber2-0/+44
Update #4982.
2024-01-15bsp/tms570: Use new pin defineSebastian Huber1-1/+1
Update #4982.
2024-01-15bsp/tms570: Relicense to BSD-2-ClauseSebastian Huber72-183/+1232
Change license to BSD-2-Clause according to file history and contributor agreements. Add Doxygen file comments. Update #3053. Update #3707. Update #4982.
2024-01-15bsp/tms570: Remove empty <bsp/tms570-vim.h>Sebastian Huber2-49/+1
Update #4982.
2024-01-15bsp/tms570: Remove empty <bsp/tms570-sci.h>Sebastian Huber6-48/+56
Update #4982.
2024-01-15bsp/tms570: Remove empty <bsp/tms570-rti.h>Sebastian Huber3-48/+2
Update #4982.
2024-01-15bsps/arm: Use shared empty bsp_start_hook_0()Sebastian Huber7-29/+42
Update #4982.
2024-01-10libio: Clean up usage of rtems_termios_device_modeKinsey Moore18-30/+34
This cleans up outputUsesInterrupts usage with rtems_termios_device_mode enum values. The outputUsesInterrupts member was typed as an int, named as if it were a boolean value, and used as if it were a rtems_termios_device_mode enum. In this patch, values assigned to outputUsesInterrupts have been converted to the corresponding rtems_termios_device_mode enum value, conversions from deviceOutputUsesInterrupts have been made explicit, and uses of rtems_termios_device_mode enum values with deviceOutputUsesInterrupts have been converted to booleans.
2024-01-10bsps/aarch64/cache: Clean up unused fuctionsKinsey Moore1-27/+2
When the CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS definition was added to AArch64 cache management, it obsoleted the *_1_data/instruction_line functions. These have been removed since they are no longer referenced. The AArch64_instruction_cache_inner_shareable_invalidate_all function is only used when RTEMS_SMP is defined, so only define it in that circumstance.
2024-01-08xparameters.h: fix typo in commentBernd Moessner1-1/+1
2023-12-19tm27: Add optional TM27_INTERRUPT_VECTOR_DEFAULTSebastian Huber2-0/+3
Let the BSP define TM27_INTERRUPT_VECTOR_DEFAULT to more efficiently and reliably get the TM27 default interrupt vector. Update #3716.
2023-12-14bsps/xnandpsu: Allow manipulation of BBTKinsey Moore2-0/+87
Expose functions to directly manipulate the bad block table (BBT). These functions are necessary to correct possible BBT corruption caused by bugs in the BBT management layer.
2023-12-14bsps/xnandpsu: Constrain block erasure to deviceKinsey Moore1-0/+4
The XNandPsu_EraseBlock function takes a target device and a block offset for erasure. Ensure the block offset is within the size of the target device.
2023-12-14bsps/xnandpsu: Mark correct reserved blocksKinsey Moore1-0/+4
When marking the trailing blocks on a device as reserved for Bad Block Table usage, ensure that the correct blocks are marked. This resolves an off-by-one error that was marking one block too low and leaving the last block in the device unmarked.
2023-12-14bsps/xnandpsu: Write BBT to correct locationKinsey Moore1-0/+5
When writing out the Bad Block Table, write it to the targeted device and ensure the block is appropriately mapped to the targeted device.
2023-12-14bsps/xnandpsu: Detect missing BBTsKinsey Moore1-0/+3
Mark the BBT descriptor as invalid before scanning to ensure that missing BBTs are detected and written correctly if necessary.
2023-12-14bsps/xnandpsu: Read correct BBT sizeKinsey Moore1-0/+4
The Bad Block Table is a per-device catalog of the dispositions of each block in the device. Only read enough data to determine the dispositions of blocks for the device being read.
2023-12-14bsps/xnandpsu: Fix BBT mapping functionsKinsey Moore1-0/+32
The xnandpsu driver includes functionality to map back and forth between the flash-based BBT and the memory-based BBT with the values in each being a bitwise inversion of each other. This resolves several bugs in this process and simplifies the inversion from operating on the block representation to operating on the entire BBT entry (4 blocks, 2 bits per block, one byte total). Bugs resolved in XNandPsu_ConvertBbt(): * The calculation of memory BBT entry offset was off by a factor of 4 * The entry offset into the flash BBT has been removed since each flash BBT directly describes the flash space it is contained within and has no reference to other devices in the chip Bugs resolved in XNandPsu_WriteBbt(): * The BBT length calculated was reduced to NumTargetBlocks from NumBlocks since only the relevant portion of the in-memory BBT should be written to the flash-based BBT space * An offset was applied to values retrieved from the in-memory BBT so that only the relevant portion was converted and written to the flash-based BBT
2023-12-14bsps/zynqmp/jffs2: Use BBT information directlyKinsey Moore1-1/+23
The XNandPsu_IsBlockBad() function is insufficient for JFFS2 to determine whether a block is usable since the function does not report reserved blocks. JFFS2 is also unable to use the last 4 blocks of each target attached to the NAND controller since they are reserved for the Bad Block Table (BBT), but not necessarily marked as such.
2023-12-14bsps/arm/stm32f4: Enable USART RX interruptsJacob Killelea1-7/+63
Hi all, this is my first email patch submission and my first contribution to RTEMS, so please give any feedback you have! This patch enables interrupt driven data reception on USART ports on STM32F4 series chips. This feature is gated behind the config flag BSP_CONSOLE_USE_INTERRUPTS. If this flag is not set to True, the older polling implementation will be used. I tested this feature on STM32F401CE (blackpill) and STM32 Nucleo F411RE boards, with both capable of keeping up with a 115200 baud continous data stream. With the older polling implementation, both would drop bytes at 9600 baud. In addition, I updated the implementation of usart_set_attributes to support changing the baud rate of the USART port based on the input speed.
2023-12-06bsp/tms570: Do not use POM for internal flashSebastian Huber1-3/+2
2023-12-06bsp/tms570: Improve POM handlingSebastian Huber5-2/+14
Place the vector table in the start section so that the overlay can be avoided if we execute from internal flash. The problem is that when the POM is enabled, the ECC cannot be enabled for the internal flash.
2023-12-06bsp/tms570: Adjust BSP_OSCILATOR_CLOCKSebastian Huber1-0/+5