Files
rtems/bsps/m68k/mcf5225x
Shashvat Jain 9c4dc7b01f m68k/mcf5225x:Add per-section compilation and linking support(GCI 2018)
The size of the sample executables without this option were:

   text    data     bss     dec     hex filename
  71984    1104    4080   77168   12d70 ./base_sp.exe
 201872    2112    8944  212928   33fc0 ./capture.exe
 104464    1472    4192  110128   1ae30 ./hello.exe
 249584    5984   10864  266432   410c0 ./loopback.exe
  40032     304    2768   43104    a860 ./minimum.exe
  95360    1584    4208  101152   18b20 ./nsecs.exe
 179760    1872    4816  186448   2d850 ./paranoia.exe
 432912   12048   35568  480528   75510 ./pppd.exe
  74992    1136    4112   80240   13970 ./ticker.exe
  74832    1088    7952   83872   147a0 ./unlimited.exe

The size of the sample executables with this option were:

   text    data     bss     dec     hex filename
  67456    1104    4000   72560   11b70 ./base_sp.exe
 188272    2096    8912  199280   30a70 ./capture.exe
  95536    1472    4160  101168   18b30 ./hello.exe
 233568    5984   10784  250336   3d1e0 ./loopback.exe
  39264     304    2736   42304    a540 ./minimum.exe
  89392    1584    4128   95104   17380 ./nsecs.exe
 171120    1872    4784  177776   2b670 ./paranoia.exe
 420336   12048   35488  467872   723a0 ./pppd.exe
  70208    1136    4032   75376   12670 ./ticker.exe
  73152    1088    7920   82160   140f0 ./unlimited.exe

Closes #2568
2018-11-28 18:58:13 -06:00
..
2018-04-20 13:52:19 +02:00

Description: embed-it dpu
============================================================================
CPU: MCF52259, ??MHz
SRAM: 64K
FLASH: 512K

This is a embed-it board that uses the MCF52258 Coldfire CPU. 
This board is running at ??MHz scaled from the internal relocation 8MHz oscillator.



OLD-STUFF from MCF52235 EVB ... we have to change it ...
============================================================================
NOTES:

Currently this BSP must be configured with most RTEMS features turned
off as RAM usage is too high.

Configure as follows:
configure --target=m68k-rtems4.XXX --enable-rtemsbsp=mcf52235 ...

To get the tests to compile (but not run) change the linkcmds to specify
a larger sram memory region (256K works).  This of course will let you 
compile all tests, but many or most of them wont run.

See testsuites/samples/minumum for an example of what type of config flags
you need for this BSP!

In you project before you include confdefs.h, define some or all of the
following:

#define CONFIGURE_INIT_TASK_STACK_SIZE x
#define CONFIGURE_MINIMUM_TASK_STACK_SIZE x
#define CONFIGURE_INTERRUPT_STACK_SIZE x

Note that the default stack size is 1K
Note that the default number of priorities is 15

============================================================================
TODO:

*) Add drivers for I2C, ADC, FEC
*) Support for LWIP
*) Update the coverhd.h (calling overheads) page 21 of the BSP guide
*) Recover the 1K stack space reserved in linkcmds used for board startup.

============================================================================

      Interrupt map

+-----+-----------------------------------------------------------------------+
|     |                                PRIORITY                               |
+-----+--------+--------+--------+--------+--------+--------+--------+--------+
|LEVEL|    7   |    6   |    5   |    4   |    3   |    2   |    1   |    0   |
+-----+--------+--------+--------+--------+--------+--------+--------+--------+
|  7  |        |        |        |        |        |        |        |        |
+-----+--------+--------+--------+--------+--------+--------+--------+--------+
|  6  |        |        |        |        |        |        |        |        |
+-----+--------+--------+--------+--------+--------+--------+--------+--------+
|  5  |        |        |        |        |        |        |        |        |
+-----+--------+--------+--------+--------+--------+--------+--------+--------+
|  4  |        |        |        |        |        |        |        |   PIT  |
+-----+--------+--------+--------+--------+--------+--------+--------+--------+
|  3  | UART 0 | UART 1 | UART 2 |        |        |        |        |        |
+-----+--------+--------+--------+--------+--------+--------+--------+--------+
|  2  |        |        |        |        |        |        |        |        |
+-----+--------+--------+--------+--------+--------+--------+--------+--------+
|  1  |        |        |        |        |        |        |        |        |
+-----+--------+--------+--------+--------+--------+--------+--------+--------+ 

============================================================================

*** TIME TEST 1 ***
rtems_semaphore_create 8
rtems_semaphore_delete 10
rtems_semaphore_obtain: available 3
rtems_semaphore_obtain: not available -- NO_WAIT 3
rtems_semaphore_release: no waiting tasks 7
*** END OF TEST 1 ***


*** TIME TEST OVERHEAD ***
rtems_shutdown_executive 0
rtems_task_create 0
rtems_task_ident 0
rtems_task_start 0
rtems_task_restart 0
rtems_task_delete 0
rtems_task_suspend 0
rtems_task_resume 0
rtems_task_set_priority 0
rtems_task_mode 0
rtems_task_wake_when 0
rtems_task_wake_after 0
rtems_interrupt_catch 0
rtems_clock_get 0
rtems_clock_set 0
rtems_clock_tick 0
<pause>
rtems_timer_create 0
rtems_timer_delete 0
rtems_timer_ident 0
rtems_timer_fire_after 0
rtems_timer_fire_when 1
rtems_timer_reset 0
rtems_timer_cancel 0
rtems_semaphore_create 0
rtems_semaphore_delete 0
rtems_semaphore_ident 0
rtems_semaphore_obtain 0
rtems_semaphore_release 0
rtems_message_queue_create 0
rtems_message_queue_ident 0
rtems_message_queue_delete 0
rtems_message_queue_send 0
rtems_message_queue_urgent 0
rtems_message_queue_broadcast 0
rtems_message_queue_receive 0
rtems_message_queue_flush 0
<pause>
rtems_event_send 0
rtems_event_receive 0
rtems_signal_catch 0
rtems_signal_send 0
rtems_partition_create 0
rtems_partition_ident 0
rtems_partition_delete 0
rtems_partition_get_buffer 0
rtems_partition_return_buffer 0
rtems_region_create 0
rtems_region_ident 0
rtems_region_delete 0
rtems_region_get_segment 0
rtems_region_return_segment 0
rtems_port_create 0
rtems_port_ident 0
rtems_port_delete 0
rtems_port_external_to_internal 0
rtems_port_internal_to_external 0
<pause>
rtems_io_initialize 0
rtems_io_open 0
rtems_io_close 0
rtems_io_read 0
rtems_io_write 0
rtems_io_control 0
rtems_fatal_error_occurred 0
rtems_rate_monotonic_create 0
rtems_rate_monotonic_ident 0
rtems_rate_monotonic_delete 0
rtems_rate_monotonic_cancel 0
rtems_rate_monotonic_period 0
rtems_multiprocessing_announce 0
*** END OF TIME OVERHEAD ***