Commit Graph

  • 4a1e646cdb bxcan: can_enable(): fix disabling of standby pin Marc Kleine-Budde 2023-01-16 16:57:17 +01:00
  • b90bc1bf07 feat: add convertdevice xCANFD config info ConvertDevice 2022-12-19 22:34:08 +08:00
  • e2b2ef93c1 gdb_oocd.cmds, openocd.cfg: remove executable flag Marc Kleine-Budde 2022-12-15 11:02:21 +01:00
  • 804e522592 Move define off NUM_CAN_CHANNEL Jonas Martin 2022-12-15 11:07:44 +01:00
  • 2b841dfede Add separated CAN device file for g0 Jonas Martin 2022-12-15 10:40:57 +01:00
  • 70f14fdc31 Uncrustify Jonas Martin 2022-12-15 10:25:32 +01:00
  • ca45de1bf5 Add timestamp back into the CANFD frame Ryan Edwards 2022-11-16 12:40:29 -05:00
  • e5c450b17b Change gs_host_frame to a compiler directive Ryan Edwards 2022-11-16 12:32:37 -05:00
  • 6853f2f0c5 Add the USB defines for the SMTG0 Ryan Edwards 2022-11-16 11:31:27 -05:00
  • f07aed4a5b device: add basic (incomplete) G0 file fenugrec 2022-12-05 14:51:57 -05:00
  • 41e0388273 move system clock config to device_XX.c fenugrec 2022-12-05 14:46:34 -05:00
  • 2d9d1b302c split device-specific can_init() to separate files fenugrec 2022-12-05 14:40:05 -05:00
  • 0c23387317 cmake : remove some duplication in add_XYZ_target fenugrec 2022-12-05 14:08:22 -05:00
  • 537c0860c3 feat: change xCAN01 to xCAN ConvertDevice 2022-12-11 11:56:15 +08:00
  • 09c88d0dec
    Merge 4c473414a0474cb0abfb132f92c1d7b8cb9ed2ca into dfdcb383368e635d4476f3a66efec362b3757345 zhou 2022-12-11 01:38:08 +00:00
  • 4c473414a0 Revert "Merge branch 'candle-usb:master' into master" ConvertDevice 2022-12-11 09:35:28 +08:00
  • 79c1848744 Revert "feat: add canfd board" ConvertDevice 2022-12-11 09:35:00 +08:00
  • 090aa64001 feat: add canfd board ConvertDevice 2022-12-10 22:39:21 +08:00
  • 6880dc74e3
    Merge branch 'candle-usb:master' into master zhou 2022-12-10 21:58:51 +08:00
  • dfdcb38336 ldscripts : move init/fini_array sections to flash fenugrec 2022-11-16 22:05:44 -05:00
  • 94ab1f700b gpio : add _suspend() and _resume() funcs fenugrec 2022-11-23 16:37:28 -05:00
  • bef47ab1bc gpio : make DCDC_EN and nSI86EN pins generic fenugrec 2022-11-23 16:17:37 -05:00
  • 2e2e09c122 override __register_exitproc() fenugrec 2022-11-28 12:24:38 -05:00
  • 83c7df7451 led_update_normal_mode() : pass 'now' as argument fenugrec 2022-11-28 10:52:53 -05:00
  • edc684609b led.c : removed unused last_mode fenugrec 2022-11-25 08:37:53 -05:00
  • 361ab73ddb led : move tx/rx blinking logic to led_update() fenugrec 2022-11-23 15:26:04 -05:00
  • b4ff7497aa led_update : assert on invalid mode fenugrec 2022-11-23 15:36:44 -05:00
  • c2bb46f18f led_update() only every 10ms fenugrec 2022-11-23 15:10:50 -05:00
  • 0b52b4eaf9 queue: remove no longer used queue implementation Marc Kleine-Budde 2022-11-11 22:32:39 +01:00
  • 35d6cb8941 queue: convert to Linux compatible list implementation Marc Kleine-Budde 2022-11-11 22:45:52 +01:00
  • 57d9900f5b queue: don't use global q_from_host, use the one from hGS_CAN instead Marc Kleine-Budde 2022-11-10 22:29:22 +01:00
  • 0a864a3cbc main: replace send_to_host_or_enqueue() by queue_push_back() Marc Kleine-Budde 2022-11-23 09:26:18 +01:00
  • 67b15c19f1 list.h: add new locked variants, remove old ones Marc Kleine-Budde 2022-11-11 15:36:10 +01:00
  • 0612b5017f cmake: switch from -Os to -O2 optimization Marc Kleine-Budde 2022-11-22 15:37:53 +01:00
  • e521e31665 README : add notes on contributing, and profiling v2.1 fenugrec 2022-11-23 10:45:40 -05:00
  • 049e806d7b editorconfig : add info to configure git as well fenugrec 2022-11-23 10:28:32 -05:00
  • b3814f5f12 ldscripts : unmark RAM section as executable fenugrec 2022-11-23 10:23:19 -05:00
  • 1b65daaf05 cmake: switch from -Os to -O2 optimization Marc Kleine-Budde 2022-11-22 15:37:53 +01:00
  • a0a333ae13 ldscripts: remove .jcr sections fenugrec 2022-11-16 22:31:00 -05:00
  • 61baf8ce90 list.h: add locked variants Marc Kleine-Budde 2022-11-11 15:36:10 +01:00
  • 9ea65a1d98 list.h: remove BSD specific STANDALONE support and include compiler.h Marc Kleine-Budde 2022-11-10 21:59:37 +01:00
  • e2173dc60b list.h: uncrustify Marc Kleine-Budde 2022-11-13 14:27:15 +01:00
  • d67381bce3 list.h: import from freebsd Marc Kleine-Budde 2022-11-10 21:37:39 +01:00
  • 9e98f4b49a usbd_gs_can: move struct gs_host_frame msgbuf into USBD_GS_CAN_HandleTypeDef Marc Kleine-Budde 2022-11-10 22:32:44 +01:00
  • 6123dbd115 usbd_gs_can: embed can_data_t in USBD_GS_CAN_HandleTypeDef Marc Kleine-Budde 2022-11-09 22:55:28 +01:00
  • 1c9f2e7384 usbd_gs_can: place USBD_GS_CAN_HandleTypeDef in BSS Marc Kleine-Budde 2022-11-09 21:50:41 +01:00
  • e739f60960 usbd_gs_can: move USBD_GS_CAN_HandleTypeDef to header Marc Kleine-Budde 2022-11-09 21:46:02 +01:00
  • 859b7e3717 usbd_gs_can: USBD_GS_CAN_PrepareReceive(): mark as static Marc Kleine-Budde 2022-11-11 21:51:58 +01:00
  • e27abfe173 treewide: sort includes Marc Kleine-Budde 2022-11-10 21:50:33 +01:00
  • f4f1586dbf can.c: use GPIO_INIT_STATE to set CANSTBY pin fenugrec 2022-11-17 13:05:48 -05:00
  • 718882b354 move GPIO_INIT_STATE macro to gpio.h fenugrec 2022-11-17 13:01:58 -05:00
  • a4f4da79ee
    Merge 1efa7eb46326f6da6ff09e4e38050e4418b476c4 into 59896b65fdd588fed40cc4d9efec00d21f04ad31 Ryan Edwards 2022-11-17 17:55:13 +00:00
  • 59896b65fd startup: get rid of zero table and fix copy_table Marc Kleine-Budde 2022-11-17 11:55:29 +01:00
  • a50414db01
    Fixed to include the SET state to the condition check Ryan Edwards 2022-11-17 12:43:52 -05:00
  • ac24146664 cmake : generate ldscripts automatically fenugrec 2022-11-17 12:33:01 -05:00
  • c5b4660740 startup: get rid of zero table and fix copy_table Marc Kleine-Budde 2022-11-17 11:55:29 +01:00
  • 1efa7eb463 Apply recommended change to storage of bit timing values Ryan Edwards 2022-11-16 20:44:31 -05:00
  • d7bace8689 Removed unneeded rx and tx can buffers Ryan Edwards 2022-11-16 20:29:26 -05:00
  • 40865c2c87 Fix the standby pin set/reset to use the active high/low define Ryan Edwards 2022-11-16 11:48:21 -05:00
  • 6682ebfda7
    Merge branch 'candle-usb:master' into implement-CANFD Ryan Edwards 2022-11-16 17:49:29 -05:00
  • 9ad917700d Uncrustify Ryan Edwards 2022-11-16 16:13:53 -05:00
  • a809d4cb63 Changes to fully support CANFD frames on the bus Ryan Edwards 2022-11-16 16:08:18 -05:00
  • 25bc304424 Uncrustify Ryan Edwards 2022-11-16 14:47:45 -05:00
  • a0b1d0f8b7 Add minimal changes to get ip link "canfd on" to execute Ryan Edwards 2022-11-16 13:42:51 -05:00
  • 6e5b893abe Add timestamp back into the CANFD frame Ryan Edwards 2022-11-16 12:40:29 -05:00
  • 6cd5fb4b5c Change gs_host_frame to a compiler directive Ryan Edwards 2022-11-16 12:32:37 -05:00
  • 052bdec2dd Fix the standby pin set/reset to use the active high/low define Ryan Edwards 2022-11-16 11:48:21 -05:00
  • ed2982b835 Change budgetcan channels back to default and fix sleep pin Ryan Edwards 2022-11-16 11:34:53 -05:00
  • b529ef8868 Add the USB defines for the SMTG0 Ryan Edwards 2022-11-16 11:31:27 -05:00
  • 005e0ae439 Add the base code for CANFD Ryan Edwards 2022-11-16 11:30:56 -05:00
  • ace1dcf934 Change the can_data_t to use the CAN_HandleTypedef Ryan Edwards 2022-11-16 11:05:41 -05:00
  • 3e3358943f
    Fix the issue that device cannot be recognized correctly gerryqd 2022-11-16 13:59:31 +08:00
  • 88bf7f567c usbd_gs_can: don't announce that we support GS_CAN_FEATURE_USER_ID Marc Kleine-Budde 2022-11-14 17:13:58 +01:00
  • 7c88cfd571 usbd_gs_can: don't announce that we support GS_CAN_FEATURE_USER_ID Marc Kleine-Budde 2022-11-14 17:13:58 +01:00
  • 1155a608e0 gs_usb: mark all structures as aligned to 4 bytes Marc Kleine-Budde 2022-11-11 15:55:34 +01:00
  • f5e5a6e16b gs_usb: remove unused struct gs_tx_context Marc Kleine-Budde 2022-11-10 22:07:40 +01:00
  • 048288042f gs_usb: update comment about struct gs_device_config::byte_order Marc Kleine-Budde 2022-11-11 15:54:36 +01:00
  • 84a397731b compiler.h: add more helper macros Marc Kleine-Budde 2022-11-13 15:04:02 +01:00
  • 8ab58a41f7 compiler.h: uncrustify Marc Kleine-Budde 2022-11-13 14:25:09 +01:00
  • ae59fae696 compiler.h: remove unused defines Marc Kleine-Budde 2022-11-13 14:25:48 +01:00
  • eab812d07a compiler.h: import from freebsd Marc Kleine-Budde 2022-11-13 14:17:49 +01:00
  • e0e04ea938 ci: add convertdevice-xcan01 hardware support ConvertDevice 2022-11-12 10:12:08 +08:00
  • a0caf93e50 Remove flash-as-eeprom emulation for USER_ID fenugrec 2022-08-26 22:23:47 -04:00
  • d719705e93 Update flash.c to support the G0 programming Ryan Edwards 2022-11-01 22:25:10 -04:00
  • b24cba3a55 Add config for budgetcan Ryan Edwards 2022-11-01 22:20:57 -04:00
  • 5645f93365 Fix RAM size in linker Ryan Edwards 2022-11-01 22:20:02 -04:00
  • 051006b4e3 Changes to the USB configuration file to support the USB controller on the STM32G0xx Ryan Edwards 2022-11-01 20:09:54 -04:00
  • ef416f8d6a Add the interrupt table to support the STM32G0xx microcontroller Ryan Edwards 2022-11-01 20:07:16 -04:00
  • e8d82ef7ae Add the CMake files to support the STM32G0 Ryan Edwards 2022-10-31 21:51:17 -04:00
  • d0cd8cf0d9 Add STM HAL libraries for the STM32G0xx Ryan Edwards 2022-10-31 21:49:02 -04:00
  • 32fc94118e editorconfig: add minimal editorconfig Marc Kleine-Budde 2022-11-13 14:54:19 +01:00
  • 8842997928 editorconfig: add minimal editorconfig Marc Kleine-Budde 2022-11-13 14:54:19 +01:00
  • 2eb60aecd2 ci: add convertdevice-xcan01 hardware support ConvertDevice 2022-11-12 10:12:08 +08:00
  • 7f97321149 queue: remove unused functionality Marc Kleine-Budde 2022-11-10 21:16:52 +01:00
  • 439d122d52 cmake: add_link_options(): add LINKER:--print-memory-usage Marc Kleine-Budde 2022-11-10 23:13:18 +01:00
  • dcdf5564a4 cmake: add_link_options(): use LINKER: instead of -Xlinker Marc Kleine-Budde 2022-11-10 23:12:31 +01:00
  • 2d11092425 cmake: add_compile_options(), add_link_options(): only 1 option per line and sort them Marc Kleine-Budde 2022-11-10 23:10:56 +01:00
  • 082105c9f8 queue: remove unused functionality Marc Kleine-Budde 2022-11-10 21:16:52 +01:00
  • 8a9cdf1076 config.h: move the CAN_INTERFACE and CAN_CLOCK_SPEED to the config.h Ryan Edwards 2022-10-31 21:51:33 -04:00
  • 8f9fa7788c cmake: add µC series letter to TGT*_LIST variables Ryan Edwards 2022-10-31 21:51:17 -04:00