{"id":19065407,"url":"https://github.com/newaetech/naeusb","last_synced_at":"2025-04-28T11:27:51.634Z","repository":{"id":41408089,"uuid":"380892469","full_name":"newaetech/naeusb","owner":"newaetech","description":"USB library for ChipWhisperer devices","archived":false,"fork":false,"pushed_at":"2024-09-16T15:24:42.000Z","size":3506,"stargazers_count":16,"open_issues_count":7,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-20T22:59:42.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newaetech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-28T03:17:14.000Z","updated_at":"2025-04-09T10:18:52.000Z","dependencies_parsed_at":"2024-04-25T03:48:53.885Z","dependency_job_id":null,"html_url":"https://github.com/newaetech/naeusb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newaetech%2Fnaeusb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newaetech%2Fnaeusb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newaetech%2Fnaeusb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newaetech%2Fnaeusb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newaetech","download_url":"https://codeload.github.com/newaetech/naeusb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251303989,"owners_count":21567784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T00:49:49.508Z","updated_at":"2025-04-28T11:27:51.609Z","avatar_url":"https://github.com/newaetech.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# naeusb\nUSB library and build system for ChipWhisperer devices\n\nAlso includes other shared driver code (usart_driver, fpga_program code, etc.)\n\n## Building\n\nTo build, navigate to the directory above this one (i.e. `cd ..`) and run `make`.\n\nThe makefile supports multiple jobs (`-j` flag) and supports the following options:\n\n* `VERBOSE`: If not \"false\", output the full build command for each file. Defaults to \"false\"\n* `GCCCOLOURS`: If \"yes\", force gcc to always output coloured text. If auto, leave it up to gcc. Otherwise, do not print colours. Defaults to \"yes\".\n\n## Programming\n\nRunning `make program` will attempt to erase and program the device with the newly built firmware.\n\n## Using the build system\n\n1. Add this repository as a submodule in the project's firmware directory\n1. Create a makefile in your project's firmware directory with the following lines:\n    1. `TARGET = \u003cX\u003e`, where `\u003cX\u003e` is your target's name (e.g. ChipWhisperer-Husky)\n    1. `SRC += \u003cSRCFILES\u003e` where `\u003cSRCFILES\u003e` are your custom source files (e.g. main.c, others)\n    1. `SRC += \u003cNAEUSBFILES\u003e` where `\u003cNAEUSBFILES\u003e` are any source files you need from this directory\n    1. `LINKERFILE = \u003cLINKERFILE\u003e` where `\u003cLINKERFILE\u003e` is the linker file you need to use\n    1. `OPT=\u003cX\u003e` where `\u003cX\u003e` is the optimization level\n    1. `include naeusb/makefile.cw`\n1. Add a target entry for your target in `makefile.cw`\n1. If you need to need to add a new HAL, create a new folder and put the files in there\n1. The following files are required to be in the project's firmware directory\n    1. conf_board.h\n    1. conf_clock.h\n    1. conf_sleepmgr.h\n    1. conf_uart_serial.h\n    1. conf_usb.h\n    1. naeusb_board_config.h\n\n## REQ_SAM3U_CFG\n\nwValue \u0026 0xFF:\n\n1. 0xFx: Device specific config\n1. 0x4x: MPSSE config","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewaetech%2Fnaeusb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewaetech%2Fnaeusb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewaetech%2Fnaeusb/lists"}