mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Merged in alinjerpelea/nuttx (pull request #967)
group boards based on chip
* a1x: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* am335x: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* c5471: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* scx56xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* dm320: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* efm32: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* imx6: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* imxrt: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* kinetis: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* kl: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lc823450: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc17xx_40xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc214x: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc2378: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc31xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc43xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc54xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* max326xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* moxart: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nrf52: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nuc1xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam34: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sama5: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* samd2l2: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* samd5e5: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* samv7: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f0l0g0: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f7: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32h7: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32l4: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* str71x: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* tiva: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* tms570: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* xmc4: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* p112: typo fix
this boars is a z80 board and was moved to the wrong arch
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* avr: at32uc3: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* avr: at90usb: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* avr: atmega: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* hc: mcs92s12ne64: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mips: pic32mx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mips: pic32mz: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* misoc: lm32: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* or1k: mor1kx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* renesas: m32262f8: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* renesas: sh7032: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* risk-v: gap8: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* risk-v: nr5m100: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sim: sim: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* x86: qemu: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* xtensa: esp32: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* z16: z16f2811: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* z80: ez80: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* z80: z180: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* z80: z80: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* z80: z8: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* tools: update tools for boards based on chip
This patch updates only the linux tools
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* pcduino-a10: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* beaglebone-black: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* c5471evm: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* spresense: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* ntosd-dm320: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* efm32-g8xx-stk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* efm32gg-stk3700: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-efm32g880f128-stk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sabre-6quad: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* imxrt1050-evk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* imxrt1060-evk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* freedom-k28f: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* freedom-k64f: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* freedom-k66f: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* kwikstik-k40: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* teensy-3.x: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* twr-k60n512: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* twr-k64f120m: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* freedom-kl25z: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* freedom-kl26z: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* teensy-lc: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lc823450: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lincoln60: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4088-devkit: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4088-quickstart: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpcxpresso-lpc1768: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mbed: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mcb1700: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-lpc1766stk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* open1788: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* pnev5180b: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* u-blox-c027: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* zkit-arm-1769: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mcu123-lpc214x: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* zp214xpa: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-lpc2378: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* ea3131: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* ea3152: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-lpc-h3131: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* bambino-200e: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4330-xplorer: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4337-ws: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4337-evb: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4370-link2: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpcxpresso-lpc54628: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* max32660-evsys: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* moxa: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nrf52-generic: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nutiny-nuc120: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arduino-due: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* flipnclick-sam3x: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam3u-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam4cmp-db: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam4e-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam4l-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam4s-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam4s-xplained-pro: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sama5d2-xult: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sama5d3-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sama5d3x-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sama5d4-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* samd20-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* samd21-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* saml21-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* metro-m4: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* same70-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* same71-xult: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* axoloti: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* clicker2-stm32: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* cloudctrl: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* fire-stm32v2: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* hymini-stm32v: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* maple: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mikroe-stm32f4: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f103rb: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f207zg: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f302r8: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f303re: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f303ze: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f334r8: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f410rb: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f446re: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f4x1re: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-1152re: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-e407: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-h405: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-h407: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-p107: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-p207: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-p407: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* omnibusf4: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* photon: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* shenzou: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm3210e-eval: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm3220g-eval: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm3240g-eval: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32_tiny: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32butterfly2: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f103-minimum: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f334-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f3discovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f411e-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f429i-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f4discovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32ldiscovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32vldiscovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* viewtool-stm32f107: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* b-l072z-lrwan1: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f072rb: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f091rc: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f071rg: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-l073rz: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f051-discovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f072-discovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-144: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f746-ws: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f746g-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f746g-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-h743zi: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* b-l475e-iot01a: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-l432kc: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-l432re: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-l476rg: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-l496zg: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32l476-mdk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32l476vg-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32l4r9ai-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-strp711: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* dk-tm4c129x: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* eagle100: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* ekk-lm3s9b96: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* launchxl-cc1310: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* launchxl-cc1312r1: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm3s6432-s2e: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm3s6965-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm3s8962-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm4f120-launchpad: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm4c123g-launchpad: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm4c1294-launchpad: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* launchxl-tms57004: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* tms570ls31x-usb-kit: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* xmc4500-relax: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* zp214xpa: typo fix
add missing tools/oocd.sh
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
committed by
Gregory Nutt
parent
a1f1adb878
commit
1358e829ad
@@ -0,0 +1,4 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||
#
|
||||
@@ -0,0 +1,78 @@
|
||||
Misoc README
|
||||
============
|
||||
|
||||
This README applies to a port to NuttX running on a Qemu LM32 system. You
|
||||
can find the Qemu setup at https://bitbucket.org/key2/qemu
|
||||
|
||||
This initial release supports two UARTs, but does not have a system timer
|
||||
or other peripherals. More to come.
|
||||
|
||||
Buildroot Toolchain
|
||||
===================
|
||||
|
||||
A GNU GCC-based toolchain is assumed. The PATH environment variable should
|
||||
be modified to point to the correct path to the LM32 GCC toolchain (if
|
||||
different from the default in your PATH variable).
|
||||
|
||||
If you have no LM32 toolchain, one can be cloned from the NuttX
|
||||
Bitbucket GIT repository (https://bitbucket.org/nuttx/buildroot).
|
||||
This GNU toolchain builds and executes in the Linux or Cygwin environment.
|
||||
|
||||
1. You must have already configured Nuttx in <some-dir>/nuttx.
|
||||
|
||||
tools/configure.sh misoc:<sub-dir>
|
||||
make oldconfig context
|
||||
|
||||
2. Clone the latest buildroot package into <some-dir>/buildroot
|
||||
|
||||
git clone git@bitbucket.org:nuttx/buildroot.git <some-dir>/buildroot
|
||||
|
||||
or
|
||||
|
||||
git clone https://patacongo@bitbucket.org/nuttx/buildroot.git <some-dir>/buildroot
|
||||
|
||||
3. cd <some-dir>/buildroot
|
||||
|
||||
4. cp lm32-elf-defconfig-6.1.0 .config
|
||||
|
||||
5. make oldconfig
|
||||
|
||||
6. make
|
||||
|
||||
7. By default, the tools will be at the absolute path:
|
||||
|
||||
<some-dir>/buildroot/build_lm32/staging_dir/bin
|
||||
|
||||
Or the NuttX relative path:
|
||||
|
||||
../buildroot/build_lm32/staging_dir/bin
|
||||
|
||||
Make sure that he PATH variable includes the path to the newly built
|
||||
binaries.
|
||||
|
||||
See the file boards/README.txt in the buildroot source tree. That has more
|
||||
detailed PLUS some special instructions that you will need to follow if you
|
||||
are building a LM32 toolchain for Cygwin under Windows. Also included in
|
||||
that README file is a FAQ of frequent build issues that their work-arounds.
|
||||
|
||||
In order to use the buildroot toolchain, you also must set the following
|
||||
in your .config file:
|
||||
|
||||
CONFIG_LM3S_TOOLCHAIN_BUILDROOT=y
|
||||
|
||||
boards/misoc/include/generated
|
||||
===============================
|
||||
|
||||
In order to build this configuration, you must provide the
|
||||
boards/misoc/include/generated directory. It contains the generated
|
||||
Misoc files and may be a symbolic link. The base configurtion will NOT
|
||||
build without this directory!
|
||||
|
||||
There is a sample generated directory at boards/misoc/include/generated-sample.
|
||||
If you want to do a test build without generating the architecture, then
|
||||
you can simply link this sample directory like:
|
||||
|
||||
$ ln -s boards/misoc/include/generated-sample boards/misoc/include/generated
|
||||
|
||||
That should permit a test build.
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
#
|
||||
# This file is autogenerated: PLEASE DO NOT EDIT IT.
|
||||
#
|
||||
# You can use "make menuconfig" to make any modifications to the installed .config file.
|
||||
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
||||
# modifications.
|
||||
#
|
||||
# CONFIG_NSH_TELNET is not set
|
||||
# CONFIG_STANDARD_SERIAL is not set
|
||||
CONFIG_ARCH="misoc"
|
||||
CONFIG_ARCH_BOARD="misoc"
|
||||
CONFIG_ARCH_BOARD_MISOC_QEMU=y
|
||||
CONFIG_ARCH_CHIP_LM32=y
|
||||
CONFIG_ARCH_MISOC=y
|
||||
CONFIG_ARCH_STACKDUMP=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=800
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DISABLE_MOUNTPOINT=y
|
||||
CONFIG_DISABLE_PSEUDOFS_OPERATIONS=y
|
||||
CONFIG_ENDIAN_BIG=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
CONFIG_EXAMPLES_NETTEST=y
|
||||
CONFIG_EXAMPLES_NETTEST_DRIPADDR=0xc0a80101
|
||||
CONFIG_EXAMPLES_NETTEST_INIT=y
|
||||
CONFIG_EXAMPLES_NETTEST_IPADDR=0xc0a80132
|
||||
CONFIG_EXAMPLES_NETTEST_NOMAC=y
|
||||
CONFIG_EXAMPLES_NETTEST_PERFORMANCE=y
|
||||
CONFIG_EXAMPLES_TCPECHO=y
|
||||
CONFIG_EXAMPLES_TELNETD=y
|
||||
CONFIG_EXAMPLES_TELNETD_DRIPADDR=0xc0a80101
|
||||
CONFIG_EXAMPLES_TELNETD_IPADDR=0xc0a80132
|
||||
CONFIG_EXAMPLES_TELNETD_NOMAC=y
|
||||
CONFIG_HAVE_CXX=y
|
||||
CONFIG_IDLETHREAD_STACKSIZE=2048
|
||||
CONFIG_IOB_NBUFFERS=24
|
||||
CONFIG_LIB_HOSTNAME="nuttx"
|
||||
CONFIG_MAX_TASKS=16
|
||||
CONFIG_MAX_WDOGPARMS=2
|
||||
CONFIG_MISOC_ETHERNET=y
|
||||
CONFIG_MISOC_UART1=y
|
||||
CONFIG_NET=y
|
||||
CONFIG_NETDB_DNSCLIENT=y
|
||||
CONFIG_NETDB_DNSSERVER_IPv4ADDR=0x08080808
|
||||
CONFIG_NETINIT_DRIPADDR=0xc0a80101
|
||||
CONFIG_NETINIT_IPADDR=0xc0a80132
|
||||
CONFIG_NETINIT_NOMAC=y
|
||||
CONFIG_NETINIT_THREAD=y
|
||||
CONFIG_NETUTILS_DHCPC=y
|
||||
CONFIG_NETUTILS_DISCOVER=y
|
||||
CONFIG_NETUTILS_TELNETD=y
|
||||
CONFIG_NETUTILS_WEBCLIENT=y
|
||||
CONFIG_NET_ARP_IPIN=y
|
||||
CONFIG_NET_ARP_SEND=y
|
||||
CONFIG_NET_BROADCAST=y
|
||||
CONFIG_NET_ETH_PKTSIZE=1400
|
||||
CONFIG_NET_GUARDSIZE=648
|
||||
CONFIG_NET_ICMP=y
|
||||
CONFIG_NET_ICMP_SOCKET=y
|
||||
CONFIG_NET_MAX_LISTENPORTS=40
|
||||
CONFIG_NET_TCP=y
|
||||
CONFIG_NET_TCP_CONNS=40
|
||||
CONFIG_NET_TCP_WRITE_BUFFERS=y
|
||||
CONFIG_NET_UDP=y
|
||||
CONFIG_NET_UDP_CHECKSUMS=y
|
||||
CONFIG_NFILE_DESCRIPTORS=4
|
||||
CONFIG_NFILE_STREAMS=4
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
CONFIG_PREALLOC_WDOGS=8
|
||||
CONFIG_RAM_SIZE=67108864
|
||||
CONFIG_RAM_START=0x40000000
|
||||
CONFIG_RAW_BINARY=y
|
||||
CONFIG_RR_INTERVAL=200
|
||||
CONFIG_SCHED_HPWORK=y
|
||||
CONFIG_SCHED_WAITPID=y
|
||||
CONFIG_SDCLONE_DISABLE=y
|
||||
CONFIG_START_DAY=16
|
||||
CONFIG_START_MONTH=6
|
||||
CONFIG_START_YEAR=2011
|
||||
CONFIG_SYSTEM_NSH=y
|
||||
CONFIG_SYSTEM_PING=y
|
||||
CONFIG_TASK_NAME_SIZE=0
|
||||
CONFIG_TESTING_OSTEST=y
|
||||
CONFIG_UART1_SERIAL_CONSOLE=y
|
||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
||||
CONFIG_WDOG_INTRESERVE=1
|
||||
@@ -0,0 +1,81 @@
|
||||
#
|
||||
# This file is autogenerated: PLEASE DO NOT EDIT IT.
|
||||
#
|
||||
# You can use "make menuconfig" to make any modifications to the installed .config file.
|
||||
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
||||
# modifications.
|
||||
#
|
||||
# CONFIG_LIBC_LONG_LONG is not set
|
||||
# CONFIG_STANDARD_SERIAL is not set
|
||||
CONFIG_ARCH="misoc"
|
||||
CONFIG_ARCH_BOARD="misoc"
|
||||
CONFIG_ARCH_BOARD_MISOC_VERILATOR=y
|
||||
CONFIG_ARCH_CHIP_MINERVA=y
|
||||
CONFIG_ARCH_MISOC=y
|
||||
CONFIG_ARCH_STACKDUMP=y
|
||||
CONFIG_ARCH_STDARG_H=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=800
|
||||
CONFIG_BOOT_RUNFROMEXTSRAM=y
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_DEBUG_ASSERTIONS=y
|
||||
CONFIG_DEBUG_BINFMT=y
|
||||
CONFIG_DEBUG_BINFMT_ERROR=y
|
||||
CONFIG_DEBUG_BINFMT_WARN=y
|
||||
CONFIG_DEBUG_ERROR=y
|
||||
CONFIG_DEBUG_FEATURES=y
|
||||
CONFIG_DEBUG_FS=y
|
||||
CONFIG_DEBUG_FS_ERROR=y
|
||||
CONFIG_DEBUG_FS_INFO=y
|
||||
CONFIG_DEBUG_FS_WARN=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_DEBUG_LIB=y
|
||||
CONFIG_DEBUG_LIB_ERROR=y
|
||||
CONFIG_DEBUG_LIB_WARN=y
|
||||
CONFIG_DEBUG_MM=y
|
||||
CONFIG_DEBUG_MM_ERROR=y
|
||||
CONFIG_DEBUG_MM_WARN=y
|
||||
CONFIG_DEBUG_SCHED=y
|
||||
CONFIG_DEBUG_SCHED_ERROR=y
|
||||
CONFIG_DEBUG_SCHED_WARN=y
|
||||
CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DEBUG_TIMER=y
|
||||
CONFIG_DEBUG_TIMER_ERROR=y
|
||||
CONFIG_DEBUG_TIMER_WARN=y
|
||||
CONFIG_DEBUG_WARN=y
|
||||
CONFIG_DISABLE_ENVIRON=y
|
||||
CONFIG_DISABLE_MOUNTPOINT=y
|
||||
CONFIG_DISABLE_MQUEUE=y
|
||||
CONFIG_DISABLE_POSIX_TIMERS=y
|
||||
CONFIG_DISABLE_PSEUDOFS_OPERATIONS=y
|
||||
CONFIG_DISABLE_PTHREAD=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_IDLETHREAD_STACKSIZE=4096
|
||||
CONFIG_MAX_TASKS=4
|
||||
CONFIG_MAX_WDOGPARMS=2
|
||||
CONFIG_MISOC_UART1=y
|
||||
CONFIG_NFILE_DESCRIPTORS=4
|
||||
CONFIG_NFILE_STREAMS=4
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_NUNGET_CHARS=0
|
||||
CONFIG_PREALLOC_TIMERS=0
|
||||
CONFIG_PREALLOC_WDOGS=4
|
||||
CONFIG_PTHREAD_STACK_DEFAULT=4096
|
||||
CONFIG_PTHREAD_STACK_MIN=2048
|
||||
CONFIG_RAM_SIZE=33554432
|
||||
CONFIG_RAM_START=0x40000000
|
||||
CONFIG_RAW_BINARY=y
|
||||
CONFIG_SDCLONE_DISABLE=y
|
||||
CONFIG_START_DAY=16
|
||||
CONFIG_START_MONTH=6
|
||||
CONFIG_START_YEAR=2011
|
||||
CONFIG_STDIO_DISABLE_BUFFERING=y
|
||||
CONFIG_SYSTEM_CLE=y
|
||||
CONFIG_SYSTEM_NSH=y
|
||||
CONFIG_TASK_NAME_SIZE=0
|
||||
CONFIG_TESTING_OSTEST=y
|
||||
CONFIG_UART1_SERIAL_CONSOLE=y
|
||||
CONFIG_USERMAIN_STACKSIZE=4096
|
||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
||||
CONFIG_WDOG_INTRESERVE=0
|
||||
@@ -0,0 +1 @@
|
||||
/generated
|
||||
@@ -0,0 +1,100 @@
|
||||
/****************************************************************************
|
||||
* boards/misoc/misoc/include/board.h
|
||||
*
|
||||
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
* Ramtin Amin <keytwo@gmail.com>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __BOARDS_MISOC_AMBER_INCLUDE_BOARD_H
|
||||
#define __BOARDS_MISOC_AMBER_INCLUDE_BOARD_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Clocking *****************************************************************/
|
||||
/* Assume default CLKDIV8 fuse setting is overridden to CLKDIV1 */
|
||||
|
||||
#define BOARD_XTAL_FREQ 14745600 /* 14.7456MHz crystal */
|
||||
#define BOARD_CPU_CLOCK BOARD_XTAL_FREQ /* F_CPU = 14.7456MHz */
|
||||
#define BOARD_TOSCK_CLOCK 32768 /* TOSC = 32.768KHz */
|
||||
|
||||
/* LED definitions **********************************************************/
|
||||
/* The Amber Web Server has a reset switch and four LEDs. The LEDs indicate
|
||||
* the status of power, programming state, Ethernet link status and reset
|
||||
* status (Active). None are available for software use.
|
||||
*/
|
||||
|
||||
#define LED_STARTED 0
|
||||
#define LED_HEAPALLOCATE 1
|
||||
#define LED_IRQSENABLED 2
|
||||
#define LED_STACKCREATED 3
|
||||
#define LED_INIRQ 4
|
||||
#define LED_SIGNAL 5
|
||||
#define LED_ASSERTION 6
|
||||
#define LED_PANIC 7
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
/****************************************************************************
|
||||
* Inline Functions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define EXTERN extern "C"
|
||||
extern "C"
|
||||
{
|
||||
#else
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
#endif /* __BOARDS_MISOC_AMBER_INCLUDE_BOARD_H */
|
||||
@@ -0,0 +1,108 @@
|
||||
############################################################################
|
||||
# boards/misoc/scripts/Make.defs
|
||||
#
|
||||
# Copyright (C) 2016, 2017 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
# Ramtin Amin <keytwo@gmail.com>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in
|
||||
# the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||
# used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
include ${TOPDIR}/.config
|
||||
include ${TOPDIR}/tools/Config.mk
|
||||
|
||||
ifeq ($(CONFIG_ARCH_CHIP_LM32),y)
|
||||
include ${TOPDIR}/arch/misoc/src/lm32/Toolchain.defs
|
||||
LDSCRIPT=lm32.ld
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_CHIP_MINERVA),y)
|
||||
include ${TOPDIR}/arch/misoc/src/minerva/Toolchain.defs
|
||||
LDSCRIPT=minerva.ld
|
||||
endif
|
||||
|
||||
ifeq ($(WINTOOL),y)
|
||||
# Windows-native toolchains
|
||||
DIRLINK = $(TOPDIR)/tools/copydir.sh
|
||||
DIRUNLINK = $(TOPDIR)/tools/unlink.sh
|
||||
MKDEP = $(TOPDIR)/tools/mkwindeps.sh
|
||||
ARCHINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}"
|
||||
ARCHXXINCLUDES = $(ARCHINCLUDES) "${shell cygpath -w $(TOPDIR)/include/cxx}"
|
||||
ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/boards/$(CONFIG_ARCH)/$(CONFIG_ARCH_CHIP)/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}"
|
||||
else
|
||||
# Linux/Cygwin-native toolchain
|
||||
MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT)
|
||||
ARCHINCLUDES = -I. -isystem "$(TOPDIR)/include"
|
||||
ARCHXXINCLUDES = $(ARCHINCLUDES) -isystem "$(TOPDIR)/include/cxx"
|
||||
ARCHSCRIPT = -T$(TOPDIR)/boards/$(CONFIG_ARCH)/$(CONFIG_ARCH_CHIP)/$(CONFIG_ARCH_BOARD_CUSTOM_NAME)/scripts/$(LDSCRIPT)
|
||||
endif
|
||||
|
||||
CC = $(CROSSDEV)gcc
|
||||
CXX = $(CROSSDEV)g++
|
||||
CPP = $(CROSSDEV)gcc -E
|
||||
LD = $(CROSSDEV)ld
|
||||
STRIP = $(CROSSDEV)strip --strip-unneeded
|
||||
AR = $(CROSSDEV)ar rcs
|
||||
NM = $(CROSSDEV)nm
|
||||
OBJCOPY = $(CROSSDEV)objcopy
|
||||
OBJDUMP = $(CROSSDEV)objdump
|
||||
|
||||
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||
ARCHOPTIMIZATION = -g
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_DEBUG_NOOPT),y)
|
||||
ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
||||
endif
|
||||
|
||||
ARCHCFLAGS = -fno-builtin
|
||||
ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fcheck-new
|
||||
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHWARNINGSXX = -Wall -Wshadow -Wundef
|
||||
ARCHDEFINES =
|
||||
|
||||
CFLAGS = $(ARCHCFLAGS) $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) -pipe
|
||||
CXXFLAGS = $(ARCHCXXFLAGS) $(ARCHWARNINGSXX) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(ARCHXXINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES) -pipe
|
||||
CXXPICFLAGS = $(ARCHPICFLAGS) $(CXXFLAGS)
|
||||
CPPFLAGS = $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRADEFINES)
|
||||
AFLAGS = $(CFLAGS) -D__ASSEMBLY__
|
||||
|
||||
NXFLATLDFLAGS1 = -r -d -warn-common
|
||||
NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) -T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat-gotoff.ld -no-check-sections
|
||||
LDNXFLATFLAGS = -e main -s 2048
|
||||
|
||||
ASMEXT = .S
|
||||
OBJEXT = .o
|
||||
LIBEXT = .a
|
||||
EXEEXT =
|
||||
|
||||
HOSTCC = gcc
|
||||
HOSTINCLUDES = -I.
|
||||
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -Wundef -g -pipe
|
||||
HOSTLDFLAGS =
|
||||
|
||||
@@ -0,0 +1,97 @@
|
||||
/****************************************************************************
|
||||
* boards/misoc/misoc/hello/script/ld.script
|
||||
*
|
||||
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
OUTPUT_FORMAT("elf32-lm32")
|
||||
ENTRY(_stext)
|
||||
|
||||
MEMORY
|
||||
{
|
||||
rom : ORIGIN = 0x00000000, LENGTH = 0x00008000
|
||||
sram : ORIGIN = 0x10000000, LENGTH = 0x00001000
|
||||
main_ram : ORIGIN = 0x40000000, LENGTH = 0x02000000
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.text : {
|
||||
_stext = ABSOLUTE(.);
|
||||
*(.vectors)
|
||||
*(.text .text.*)
|
||||
*(.fixup)
|
||||
*(.gnu.warning)
|
||||
*(.rodata .rodata.*)
|
||||
*(.gnu.linkonce.t.*)
|
||||
*(.glue_7)
|
||||
*(.glue_7t)
|
||||
*(.got)
|
||||
*(.gcc_except_table)
|
||||
*(.gnu.linkonce.r.*)
|
||||
_etext = ABSOLUTE(.);
|
||||
} > main_ram
|
||||
|
||||
_eronly = ABSOLUTE(.); /* See below */
|
||||
|
||||
.data : {
|
||||
_sdata = ABSOLUTE(.);
|
||||
*(.data .data.*)
|
||||
*(.gnu.linkonce.d.*)
|
||||
CONSTRUCTORS
|
||||
_edata = ABSOLUTE(.);
|
||||
} > main_ram
|
||||
|
||||
.bss : { /* BSS */
|
||||
_sbss = ABSOLUTE(.);
|
||||
*(.bss .bss.*)
|
||||
*(.gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
_ebss = ABSOLUTE(.);
|
||||
} > main_ram
|
||||
/* Stabs debugging sections. */
|
||||
.stab 0 : { *(.stab) }
|
||||
.stabstr 0 : { *(.stabstr) }
|
||||
.stab.excl 0 : { *(.stab.excl) }
|
||||
.stab.exclstr 0 : { *(.stab.exclstr) }
|
||||
.stab.index 0 : { *(.stab.index) }
|
||||
.stab.indexstr 0 : { *(.stab.indexstr) }
|
||||
.comment 0 : { *(.comment) }
|
||||
.debug_abbrev 0 : { *(.debug_abbrev) }
|
||||
.debug_info 0 : { *(.debug_info) }
|
||||
.debug_line 0 : { *(.debug_line) }
|
||||
.debug_pubnames 0 : { *(.debug_pubnames) }
|
||||
.debug_aranges 0 : { *(.debug_aranges) }
|
||||
}
|
||||
|
||||
PROVIDE(_fstack = ORIGIN(main_ram) + LENGTH(main_ram) - 4);
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
/****************************************************************************
|
||||
* boards/misoc/misoc/scripts/ld.script
|
||||
*
|
||||
* Copyright (C) 2019 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
OUTPUT_FORMAT("elf32-littleriscv")
|
||||
|
||||
ENTRY(_stext)
|
||||
|
||||
MEMORY
|
||||
{
|
||||
rom : ORIGIN = 0x00000000, LENGTH = 0x00008000
|
||||
sram : ORIGIN = 0x10000000, LENGTH = 0x00001000
|
||||
main_ram : ORIGIN = 0x40000000, LENGTH = 0x02000000
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.text : {
|
||||
_stext = ABSOLUTE(.);
|
||||
*(.vectors)
|
||||
*(.text .text.*)
|
||||
*(.fixup)
|
||||
*(.gnu.warning)
|
||||
*(.rodata .rodata.*)
|
||||
*(.gnu.linkonce.t.*)
|
||||
*(.glue_7)
|
||||
*(.glue_7t)
|
||||
*(.got)
|
||||
*(.gcc_except_table)
|
||||
*(.gnu.linkonce.r.*)
|
||||
_etext = ABSOLUTE(.);
|
||||
} > main_ram
|
||||
|
||||
_eronly = ABSOLUTE(.); /* See below */
|
||||
|
||||
.data : {
|
||||
_sdata = ABSOLUTE(.);
|
||||
*(.data .data.*)
|
||||
*(.gnu.linkonce.d.*)
|
||||
*(.sdata .sdata.*)
|
||||
*(.gnu.linkonce.s.*)
|
||||
CONSTRUCTORS
|
||||
_edata = ABSOLUTE(.);
|
||||
} > main_ram
|
||||
|
||||
.bss : { /* BSS */
|
||||
_sbss = ABSOLUTE(.);
|
||||
*(.bss .bss.*)
|
||||
*(.gnu.linkonce.b.*)
|
||||
*(.sbss .sbss.*)
|
||||
*(.gnu.linkonce.sb.*)
|
||||
*(COMMON)
|
||||
_ebss = ABSOLUTE(.);
|
||||
} > main_ram
|
||||
/* Stabs debugging sections. */
|
||||
.stab 0 : { *(.stab) }
|
||||
.stabstr 0 : { *(.stabstr) }
|
||||
.stab.excl 0 : { *(.stab.excl) }
|
||||
.stab.exclstr 0 : { *(.stab.exclstr) }
|
||||
.stab.index 0 : { *(.stab.index) }
|
||||
.stab.indexstr 0 : { *(.stab.indexstr) }
|
||||
.comment 0 : { *(.comment) }
|
||||
.debug_abbrev 0 : { *(.debug_abbrev) }
|
||||
.debug_info 0 : { *(.debug_info) }
|
||||
.debug_line 0 : { *(.debug_line) }
|
||||
.debug_pubnames 0 : { *(.debug_pubnames) }
|
||||
.debug_aranges 0 : { *(.debug_aranges) }
|
||||
}
|
||||
|
||||
PROVIDE(_fstack = ORIGIN(main_ram) + LENGTH(main_ram) - 4);
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
/.depend
|
||||
/Make.dep
|
||||
@@ -0,0 +1,42 @@
|
||||
############################################################################
|
||||
# boards/misoc/src/Makefile
|
||||
#
|
||||
# Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
# Ramtin Amin <keytwo@gmail.com>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in
|
||||
# the documentation and/or other materials provided with the
|
||||
# distribution.
|
||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||
# used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
-include $(TOPDIR)/Make.defs
|
||||
|
||||
ASRCS =
|
||||
CSRCS = lm32_boot.c
|
||||
|
||||
include $(TOPDIR)/boards/Board.mk
|
||||
@@ -0,0 +1,68 @@
|
||||
/************************************************************************************
|
||||
* boards/misoc/misoc/src/lm32_boot.c
|
||||
*
|
||||
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
* Ramtin Amin <keytwo@gmail.com>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
#include <arch/board/board.h>
|
||||
|
||||
/************************************************************************************
|
||||
* Public Functions
|
||||
************************************************************************************/
|
||||
|
||||
/************************************************************************************
|
||||
* Name: lm32_board_initialize
|
||||
*
|
||||
* Description:
|
||||
* All LM32 architectures must provide the following entry point. This entry
|
||||
* point is called early in the initialization -- after all memory has been
|
||||
* configured and mapped but before any devices have been initialized.
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
void lm32_board_initialize(void)
|
||||
{
|
||||
/* Configure SSP chip selects if 1) at least one SSP is enabled, and 2) the weak
|
||||
* function atmega_spidev_initialize() has been brought into the link.
|
||||
*/
|
||||
|
||||
/* Configure on-board LEDs if LED support has been selected. */
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
/****************************************************************************
|
||||
* boards/misoc/misoc/src/misoc.h
|
||||
*
|
||||
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
* Ramtin Amin <keytwo@gmail.com>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __BOARDS_MISOC_MISOC_SRC_MISOC_H
|
||||
#define __BOARDS_MISOC_MISOC_SRC_MISOC_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
/****************************************************************************
|
||||
* Inline Functions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define EXTERN extern "C"
|
||||
extern "C"
|
||||
{
|
||||
#else
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
* Name: lm32_spidev_initialize
|
||||
*
|
||||
* Description:
|
||||
* Called to configure SPI chip select GPIO pins for the Amber Web Server.
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#if defined(CONFIG_AVR_SPI1) || defined(CONFIG_AVR_SPI2)
|
||||
void weak_function lm32_spidev_initialize(void);
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
* Name: lm32_led_initialize
|
||||
*
|
||||
* Description:
|
||||
* Configure on-board LEDs if LED support has been selected.
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
void lm32_led_initialize(void);
|
||||
#endif
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
#endif /* __BOARDS_MISOC_MISOC_SRC_MISOC_H */
|
||||
Reference in New Issue
Block a user