forked from Imagelibrary/rtems
not large enough to support high baud rates. brg_spd[] is an array which stores the baud rates, for which one of the 4 available BRG dividers has been set. The array is used for deciding if a BRG devider may be reused. > 1. What baud_rate and divisor is causing this to fail? divisor is dependent on the system clock (Cpu_table.clock_speed), and gets calculated in m860_get_brg_cd. m860_get_brg_clk fails for any baudrates > (2^16-1), as those baudrates are truncated to 16 bit which is the size of a short. In fact, as it has been a short and not an unsigned short, it will fail at any baudrate >(2^15-1). In any case, it failed for my application, which required 250000 Baud.
# # $Id$ # This is the README file for libcpu. This directory contains reusable libraries which are CPU dependent but not target board dependent. For example, the HPPA has an on chip interval timer which may be used by all HPPA bsp's. Another example might be the Intel i960CA has on-chip DMA which could be supported in a library and placed in lib/libcpu/i960. This level of support will make it easier for others developing embedded applications on a given CPU.