feat: add M95M02-only GAS and EEPROM profiles
Expose the existing registers through Modbus and service CAN using one GAS provider only in M95M02 builds. Include the EEPROM layout/driver, LOAD protection and calibration, firmware identity and shared CCS build workflow. Add transport/profile and SCI8 validation tests, documentation and the checked M95M02 firmware image.
This commit is contained in:
@@ -39,8 +39,6 @@ void main()
|
||||
{
|
||||
int i,j,mask;
|
||||
static unsigned int cancount[2], cancell[2], rscount;
|
||||
static int preCstart=1,preCstop=1;
|
||||
int umpstart,umpstop;
|
||||
RS_DATA * rs;
|
||||
int presbyt=0;
|
||||
|
||||
@@ -83,6 +81,7 @@ void main()
|
||||
|
||||
clear_mem();
|
||||
ump_log_init();
|
||||
Load_control_init(); /* Explicit initialization before IRQ. */
|
||||
set_cntrl_addr(Mode,16);
|
||||
timer_Init();
|
||||
EnableInterrupts();
|
||||
@@ -178,27 +177,8 @@ void main()
|
||||
presbyt = bTermoCal;
|
||||
}
|
||||
|
||||
if(Desk==dsk_LOAD)
|
||||
{
|
||||
umpstart = cUMPstart;
|
||||
umpstop = cUMPreset;
|
||||
|
||||
if(umpstart & !preCstart)
|
||||
{
|
||||
set_START_DPTB(); set_RES_OUT_2();
|
||||
IMPowse = READY_FREQ;
|
||||
}
|
||||
preCstart = umpstart;
|
||||
|
||||
if(umpstop & !preCstop)
|
||||
{
|
||||
set_STOP_DPTB(); clear_RES_OUT_2();
|
||||
IMPowse = READY_FREQ;
|
||||
}
|
||||
preCstop = umpstop;
|
||||
|
||||
if(!IMPowse) { clear_START_DPTB(); clear_STOP_DPTB(); }
|
||||
}
|
||||
/* Timer1 owns START/STOP/permission and the DAC ramp together.
|
||||
* Main must not re-enable the output during a protected reload. */
|
||||
|
||||
/* Ñíèìîê ïîñëå îáíîâëåíèÿ âõîäîâ è ôîðìèðîâàíèÿ ïóñêîâûõ âûõîäîâ. */
|
||||
ump_log_io();
|
||||
|
||||
Reference in New Issue
Block a user