├── .gitignore ├── LICENSE ├── ReadMe.md ├── application └── usermain.c ├── boot ├── boot2.c ├── reset_hdr.c └── vector_tbl.c ├── changelog.md ├── device ├── adc │ ├── adc_rp2040.c │ ├── adc_sysdep.h │ └── dev_adc.h ├── devmgr │ ├── device.c │ ├── device.h │ └── device_tbl.c └── i2c │ ├── dev_i2c.h │ ├── i2c_rp2040.c │ └── i2c_sysdep.h ├── include ├── apidef.h ├── config.h ├── error.h ├── gpio.h ├── knldef.h ├── sysdef.h ├── syslib.h ├── trykernel.h └── typedef.h ├── kernel ├── context.c ├── dispatch.S ├── eventflag.c ├── gpio.c ├── inittsk.c ├── interrupt.c ├── messagebuf.c ├── scheduler.c ├── semaphore.c ├── syslib.c ├── systimer.c ├── task_mange.c ├── task_queue.c └── task_sync.c └── linker └── pico_memmap.ld /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/LICENSE -------------------------------------------------------------------------------- /ReadMe.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/ReadMe.md -------------------------------------------------------------------------------- /application/usermain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/application/usermain.c -------------------------------------------------------------------------------- /boot/boot2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/boot/boot2.c -------------------------------------------------------------------------------- /boot/reset_hdr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/boot/reset_hdr.c -------------------------------------------------------------------------------- /boot/vector_tbl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/boot/vector_tbl.c -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/changelog.md -------------------------------------------------------------------------------- /device/adc/adc_rp2040.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/device/adc/adc_rp2040.c -------------------------------------------------------------------------------- /device/adc/adc_sysdep.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/device/adc/adc_sysdep.h -------------------------------------------------------------------------------- /device/adc/dev_adc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/device/adc/dev_adc.h -------------------------------------------------------------------------------- /device/devmgr/device.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/device/devmgr/device.c -------------------------------------------------------------------------------- /device/devmgr/device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/device/devmgr/device.h -------------------------------------------------------------------------------- /device/devmgr/device_tbl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/device/devmgr/device_tbl.c -------------------------------------------------------------------------------- /device/i2c/dev_i2c.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/device/i2c/dev_i2c.h -------------------------------------------------------------------------------- /device/i2c/i2c_rp2040.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/device/i2c/i2c_rp2040.c -------------------------------------------------------------------------------- /device/i2c/i2c_sysdep.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/device/i2c/i2c_sysdep.h -------------------------------------------------------------------------------- /include/apidef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/include/apidef.h -------------------------------------------------------------------------------- /include/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/include/config.h -------------------------------------------------------------------------------- /include/error.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/include/error.h -------------------------------------------------------------------------------- /include/gpio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/include/gpio.h -------------------------------------------------------------------------------- /include/knldef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/include/knldef.h -------------------------------------------------------------------------------- /include/sysdef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/include/sysdef.h -------------------------------------------------------------------------------- /include/syslib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/include/syslib.h -------------------------------------------------------------------------------- /include/trykernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/include/trykernel.h -------------------------------------------------------------------------------- /include/typedef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/include/typedef.h -------------------------------------------------------------------------------- /kernel/context.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/context.c -------------------------------------------------------------------------------- /kernel/dispatch.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/dispatch.S -------------------------------------------------------------------------------- /kernel/eventflag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/eventflag.c -------------------------------------------------------------------------------- /kernel/gpio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/gpio.c -------------------------------------------------------------------------------- /kernel/inittsk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/inittsk.c -------------------------------------------------------------------------------- /kernel/interrupt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/interrupt.c -------------------------------------------------------------------------------- /kernel/messagebuf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/messagebuf.c -------------------------------------------------------------------------------- /kernel/scheduler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/scheduler.c -------------------------------------------------------------------------------- /kernel/semaphore.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/semaphore.c -------------------------------------------------------------------------------- /kernel/syslib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/syslib.c -------------------------------------------------------------------------------- /kernel/systimer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/systimer.c -------------------------------------------------------------------------------- /kernel/task_mange.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/task_mange.c -------------------------------------------------------------------------------- /kernel/task_queue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/task_queue.c -------------------------------------------------------------------------------- /kernel/task_sync.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/kernel/task_sync.c -------------------------------------------------------------------------------- /linker/pico_memmap.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ytoyoyama/trykernel/HEAD/linker/pico_memmap.ld --------------------------------------------------------------------------------