Commit Graph

3 Commits

Author SHA1 Message Date
Yann MAGNIN 693d9b0d8f vxkernel 0.6.0-25 : switch to CMake ! (WIP)
@note
  This commit doesn't provide the complet CMake support, because many
  improvements need to be done in the vxSDK. You can only build the SDL2 board
  by hardcoding environment variables (the `vxsdk.toml file is not fonctional`)
  The "shared" forms of the library will be handled as a Virtual Dynamic Shared
  Object (vDSO) and will be common for all board. This is not supported yet.

@add
> [CMakeLists.txt]
  ¦ support project architecture
  ¦ support project configuration file
  ¦ support SDL2 board (static-only)
> [scripts]
  ¦ provide proper API
  ¦ proper isolate the board manipulation
  ¦ proper isolate the "library format" selection (static or vdso)
  ¦ generate a CMake file instead of Makefile one

@update
> [common]
  ¦ rename 'board/' to 'boards/'
  ¦ move 'assets/', 'src/' and 'include' in 'kernel/'
  ¦ remove old makefile
  ¦ in 'boards/<board-name>' proper isolate :
    ¦ board description : `board.toml`
    ¦ board file to install : e.i `fxcg50.ld`
    ¦ board source file : `src`
    ¦ board include : `include`
> [configure]
  ¦ proper refacto the script
  ¦ proper isolation between vxSDK use and user

@fix
> [kernel/src]
  ¦ [drivers/common/sdl2]
    ¦ [keyboard] remove unused object
    ¦ [keyboard] proper table size declaration
    ¦ [sdl2] fix return value
    ¦ [timer] fix return value
  ¦ [modules]
    ¦ [dstack] fix return value
    ¦ [hypervisor] fix return value
2022-11-27 10:39:06 +01:00
Yann MAGNIN ca4e598d28 VxKernel 0.6.0-24 : Add SDL2 support (fake board)
@add
<> board/sdl2
  | [board] add DMA module support
  | [board] add RTC module support
<> src/driver/mpu/x86/sdl2
  | [dma] add fake DMA driver
  | [rtc] add fake RTC driver

@update
<> driver/mpu/x86/sdl2
  | [keyboard] add key more information
  | [keyboard] display keymap when the driver is installed
  | [keyboard] allow event pop even if the `event` argument is NULL
  | [timer] display driver installation logs
  | [window] display driver installation logs
  | [window] display VRAM in x2
<> driver/mpu/sh/sh7305/
  | [keysc] allow event pop even if the `event` argument is NULL

@fix
<> board/sdl2
  | [initialize] fix constructor priority
  | [initialize] fix constructor logs
<> driver/mpu/sh/sh7305/
  | [keysc] fix safety with event NULL
  | [rtc] fix file organization
2022-08-26 10:30:46 +02:00
Yann MAGNIN 9e1ed3cf58 VxKernel 0.6.0-22 : Add SDL2 support (fake board) (WIP)
@add
<> src/driver/mpu/x86/sdl2
  | [sdl2] move SDL2 initialisation
  | [timer] add fake timer driver

@update
<> src/driver/mpu/x86/sdl2
  | [window] remove SDL2 initialisation

@fix
<> include/vhex/defs
  | [call] fix 64bits support
<> src/timer
  | [fps] fix negative margin
  | [fps] fix named fields
<> src/driver/mpu/sh/sh7305/tmu
  | [fps] fix elapsed time calculation
  | [fps] fix syncronisation waiting
  | [profiling] fix hardware time search
  | [profiling] fix safety guard for all primitives
  | [profiling] fix tmu_prof_quit()
  | [tmu] fix power symbols
  | [tmu] fix power primitives
<> src/display
  | [dtext] fix text register invalid write
2022-08-25 13:03:55 +02:00