Ignore:
Timestamp:
Jan 11, 2016, 11:44:56 AM (8 years ago)
Author:
mmatsu
Message:

カーネル 1.9.2 に追従,シリアルポートIDの1と2を入れ替え

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp_fm/asp/target/cqfrkfm3_gcc/target_syssvc.h

    r129 r150  
    9090 *  ƒ{[ƒŒ[ƒg
    9191 */
     92#ifndef BPS_SETTING
    9293#define BPS_SETTING             (115200)
     94#endif
     95#ifndef BPS_SETTING_SIO1
     96#define BPS_SETTING_SIO1 BPS_SETTING
     97#endif
     98#ifndef BPS_SETTING_SIO2
     99#define BPS_SETTING_SIO2 BPS_SETTING
     100#endif
     101#ifndef BPS_SETTING_SIO3
     102#define BPS_SETTING_SIO3 BPS_SETTING
     103#endif
     104#define MFS4_BPS_SETTING (((SysFrePCLK2 + ((uint32_t)BPS_SETTING_SIO1 / 2)) / (uint32_t)BPS_SETTING_SIO1) - 1)
     105#define MFS0_BPS_SETTING (((SysFrePCLK2 + ((uint32_t)BPS_SETTING_SIO2 / 2)) / (uint32_t)BPS_SETTING_SIO2) - 1)
     106#define MFS3_BPS_SETTING (((SysFrePCLK2 + ((uint32_t)BPS_SETTING_SIO3 / 2)) / (uint32_t)BPS_SETTING_SIO3) - 1)
    93107
    94108/*
Note: See TracChangeset for help on using the changeset viewer.