TsuReX / base

0 stars 0 forks source link

Restructuring #1

Open TsuReX opened 4 years ago

TsuReX commented 4 years ago

Make the following architecture reorganisation: soc ->core -->include ->peripheral -->milandr --->include ->driver -->milandr --->include ---->milandr_uart.h (platform specific) ---->milandr_i2c.h (platform specific) --->source ---->console.c (The code should be general but not platform specific. Isn't it?) ---->milandr_uart.c (platform specific) ---->milandr_i2c.c (platform specific) include ->console.h ->ina3221.h ->uart.h (general) ->i2c.h (general) ->ringbuf.h ->lxframe.h ->timer.h ->timeout.h source ->console.c ->ina3221.c ->ringbuf.c ->lxframe.c ->timer.c ->timeout.c

TsuReX commented 3 years ago

Reorganisation was made in following way core ->cortex-a ->cortex-m -->include --->core_cm3.h soc ->milandr ->nxp ->st ->ti -->tm4c --->include ---->TM4C1233E6PM.h ---->adc.h --->source ---->adc.c lib ->debug -->include --->debug.h -->source --->debug.c ->ringbuf -->include --->ringbuf.h -->source --->ringbuf.c ->time.h ->time.c ->systimer.h ->systimer.c (there are some thoughts that all system dependent files should be placed somewhere in cortex-m directory)

TsuReX commented 3 years ago

Where should be placed console.h file and console.c files for each implementation?