summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* i2c: Fix EEPROM driver program timeout handlingSebastian Huber2017-10-021-4/+13
| | | | | | | | The RTEMS_MILLISECONDS_TO_TICKS() macro doesn't round up. Do not use it to calculate the program timeout in ticks. Check program done condition after the timeout check to account for pre-emptions. Close #3162.
* i2c: Send MSB of address first for EEPROMsSebastian Huber2017-10-021-12/+21
| | | | Close #3161.
* dosfs: Fix fat_file_update()Sebastian Huber2017-09-061-5/+3
| | | | | | Do not update the non-existant meta-data of the root directory. Close #2944.
* dosfs: Fix find name next entry preparationSebastian Huber2017-09-061-25/+50
| | | | Close #2964.
* dosfs: Fix msdos_dir_read()Sebastian Huber2017-09-061-27/+28
| | | | | | Set a proper name buffer length for each converter invocation. Close #2987.
* testsuite/dl: Add C++ by default for DL tests which use C++.Chris Johns2017-08-235-32/+21
| | | | | | | - Add AM C++ support to the testsuite configure.ac script. - Fix the dependences in the DL tests. Closes #3024.
* libmisc/shell: Make some internal shell functions public.Chris Johns2017-08-233-19/+35
| | | | | | | | | | - Add 'rtems_shell_init_environment()' so a user can create the shell environment without needing to run a shell. - Move 'rtems_shell_lookup_topic', 'rtems_shell_can_see_cmd', and 'rtems_shell_execute_cmd' from the internal interface to the public interface. Closes #3104.
* confdefs: Fix POSIX keys configurationSebastian Huber2017-08-221-1/+2
| | | | | | | Remove the OBJECTS_UNLIMITED_OBJECTS flag for the memory size configuration. Close #3105.
* arm: Validate IT[7:0] bit field of PSRSebastian Huber2017-08-101-1/+29
| | | | Close #3093.
* arm: Fix CPU context validation for Cortex-R4Sebastian Huber2017-08-102-10/+4
| | | | | | Do not touch the FPSCR[QC] bit since this is DNM/RAZ on Cortex-R4. Close #3092.
* arm: Fix ARMv7-M interrupt processing4.11.2Sebastian Huber2017-07-072-30/+48
| | | | | | | | | | | | Right after a "msr basepri_max, %[basepri]" instruction an interrupt service may still take place (observed at least on Cortex-M7). However, pendable service calls that are activated during this interrupt service may be delayed until interrupts are enable again. The _ARMV7M_Pendable_service_call() did not check that a thread dispatch is allowed. Move this test from _ARMV7M_Interrupt_service_leave() to _ARMV7M_Pendable_service_call(). Close #3060.
* bsps/arm: Fix bit field offset in GIC supportSebastian Huber2017-05-111-1/+1
| | | | Close #3002.
* libdl: Back port C++ exception throw and catch from 4.12.Chris Johns2017-04-0462-275/+4754
| | | | Closes #2956.
* dosfs: Fix file name searchSebastian Huber2017-03-212-18/+17
| | | | | | | Do not use our long file name entry count to optimize the file name search. The Unicode comparison must be taken into account. Close #2939.
* dosfs: Fix race condition msdos_dir_read()Sebastian Huber2017-03-211-5/+5
| | | | | | Obtain file system instance lock before member access. Close #2937.
* dosfs: Rename fat_entries to lfn_entriesSebastian Huber2017-03-211-20/+20
| | | | | The name "fat_entries" for long file name directory entries is quite misleading.
* dosfs: Fix long file name paddingSebastian Huber2017-03-211-3/+3
| | | | Close #2934.
* dosfs: msdos_filename_utf8_to_short_name_for_saveSebastian Huber2017-03-211-15/+10
| | | | Simplify.
* dosfs: Fix msdos_add_file()Sebastian Huber2017-03-211-245/+155
| | | | | | Make sure that long file names work accross cluster boundaries. Close #2929.
* dosfs: Simplify msdos_add_file()Sebastian Huber2017-03-211-4/+2
| | | | Update #2929.
* dosfs: Add and use msdos_lfn_checksum()Sebastian Huber2017-03-213-22/+25
| | | | Update #2929.
* dosfs: Simplify fat_file_open()Sebastian Huber2017-03-211-3/+1
| | | | Update #2929.
* dosfs: Simplify msdos_creat_node()Sebastian Huber2017-03-211-21/+14
| | | | Update #2929.
* dosfs: Fix fat_file_write()Sebastian Huber2017-03-2110-36/+183
| | | | | | | | Remove forced overwrite which leads to file data corruption. The logic to determine a forced overwrite was fundamentally broken. For simplity, disable this feature. Close #2622.
* dosfs: Fix msdos_utf8_normalize_and_fold()Sebastian Huber2017-03-212-5/+22
| | | | | | | | It is all right in case the result uses the full destination buffer. Without this fix the handling of a maximum 8.3 short file name is broken. Close #2928.
* libio: Fix deadlock in location managementSebastian Huber2017-03-218-15/+19
| | | | | | | | Perform a context-dependent deferred location release to avoid a deadlock on the file system instance locks, for example during a chdir(). Close #2936.
* Config (.cfg) files are only valid if deeper than 5.Chris Johns2017-03-211-1/+1
| | | | Closes #2827.
* termios: Fix infinite loop in receive pathSebastian Huber2017-02-281-5/+9
| | | | | | | In canonical mode, the raw input buffer or the canonical buffer may overflow without an end of line. Avoid an infinite loop in this case. Update #2915.
* termios: Protect raw input buffer with device lockSebastian Huber2017-02-281-16/+36
| | | | | | | Use the device lock to protect the raw input buffer management, e.g. tail, head and buffer content updates. Update #2914.
* termios: Simplify rtems_termios_read_tty()Sebastian Huber2017-02-281-9/+4
| | | | | | Remove dead code. Update #2914.
* dosfs: Fix FAT32 formatterSebastian Huber2017-02-281-2/+2
| | | | | | | | | The second FAT entry contains a bit to indicate if the FAT32 filesystem is not dirty and a bit to indicate if there was no IO error. Set both bits for a fresh filesystem. This prevents a warning if mounted on Windows. Update #2913.
* dosfs: Directories should have a file size of 0Sebastian Huber2017-02-281-1/+6
| | | | Update #2755.
* Remove old CVS keywordsNick Withers2017-02-152-2/+2
| | | | Close #2388.
* Fix exception handler for supporting FPUSudarshan Rajagopalan2017-02-151-4/+4
| | | | Close #2401.
* dosfs: Fix msdos_find_file_in_directory()Sebastian Huber2017-02-142-1/+23
| | | | | | For a filename match the entry must match without anything remaining. Update #2908.
* Change version to 4.11.1.99Sebastian Huber2017-01-264-4/+4
| | | | Update #2886.
* GRETH: Interrupt Handler Uses Wrong EventsChristian Spindeldreier2017-01-121-1/+1
| | | | closes #2796.
* Remove texinfo format documentation. Replaced by Sphinx formatted documentation.Joel Sherrill2017-01-11339-145987/+1
| | | | updates #2812.
* virtex4, virtex5 bsp.h: Use BSP_INTERRUPT_STACK_SIZE not user space ↵4.11.14.11.0Tim Cussins2016-11-032-2/+2
| | | | | | CONFIGURE_INTERRUPT_STACK_SIZE closes #2801.
* sptests/spclock_err02: Update screen fileSebastian Huber2016-11-021-18/+22
|
* bsps/arm: do not introduce CPU_CACHE_LINE_BYTES in 4.11 and correct ↵Pavel Pisa2016-10-031-4/+2
| | | | CPU_STRUCTURE_ALIGNMENT.
* libdl/rtl-obj.c: synchronize cache should not depend on CPU_CACHE_LINE_BYTES.Pavel Pisa2016-10-031-3/+6
| | | | | | | | | | The CPU_CACHE_LINE_BYTES has been introduced after 4.11 branch fork and is not available for all architectures on RTEMS 4.11. Use of rtems_cache_get_maximal_line_size() is more descriptive choice. The min/max data/instruction cache line size is not critical there, value is used for optimization only to use single operation for decently following sections.
* arm/tms570: document BSP setup with included hardware initialization.Pavel Pisa2016-10-021-22/+100
|
* arm/tms570: update bootstrap generated preinstall.amPavel Pisa2016-10-021-0/+13
|
* arm/tms570: include TMS570_USE_HWINIT_STARTUP option to select bare metal ↵Pavel Pisa2016-10-022-0/+26
| | | | startup and selftest.
* arm/tms570: include hardware initialization and selftest based on Ti ↵Pavel Pisa2016-10-0216-0/+3519
| | | | | | | | | | | | | | | | | | | | HalCoGen generated files. The configuration is specific for TMS570LS3137 based HDK. Pins configuration can be easily changed in rtems/c/src/lib/libbsp/arm/tms570/hwinit/init_pinmux.c file. The list tms570_selftest_par_list in the file rtems/c/src/lib/libbsp/arm/tms570/hwinit/bspstarthooks-hwinit.c specifies peripherals which health status is examined by parity self-test at BSP start-up. It can be easily modified for other TMS570 family members variants same as the selection of other tests in bspstarthooks-hwinit.c.
* arm/tms570: define base addresses of all TMS570LS3137 SPI interfaces.Pavel Pisa2016-10-021-1/+5
| | | | | | | | Generated header file ti_herc/reg_spi.h contains complete registers and fields set for Ti MibSPI peripheral. Care has to be taken that only TMS570_SPI1, TMS570_SPI3 and TMS570_SPI5 are of this complete multibuffer type. TMS570_SPI2 and TMS570_SPI4 have substantial part of registers removed but else they are compatible.
* bsp/tms570: ensure that change of SCI baudrate is not applied in the middle ↵Pavel Pisa2016-10-021-2/+23
| | | | | | | | | | | | | | | | | | | of character Tx. The rtems_monitor_task() setups/updates termios attributes of the opened TTY and if there is ongoing some other output it leads to the stuck. It would be better to use some termios API function which would call drainOutput() in rtems/cpukit/libcsupport/src/termios.c. But functionality is not accessible outside of core termios implementation. The loop waiting for last character to be sent has to be there anyway because hardware does not provide Tx machine/shift register empty interrupt. Closes #2794
* bsp/tms570: regenerate preinstall makefile by bootstrap -p.Pavel Pisa2016-10-021-0/+8
|
* bsp/tms570: include complete peripheral initialization to SCI driver.Pavel Pisa2016-10-021-2/+36
| | | | Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>