Michal Moskal
21d02d92e3
Save a few us in reception
2021-03-25 16:28:56 -07:00
Michal Moskal
ae04886115
Strip v from version numbers
2021-03-24 16:48:37 -07:00
Michal Moskal
b94b514930
bitbang SPI for G0
2021-03-23 22:36:33 -07:00
James Devine
a940c6ba39
add optional app_process callback to main ( #20 )
2021-03-24 00:54:03 +01:00
James Devine
88a9704813
Merge pull request #19 from microsoft/xac
2021-03-23 11:49:46 +00:00
James Devine
42bc122758
add new pin mappings for pwm and better error message
2021-03-23 08:37:06 +00:00
Michal Moskal
74aa158c83
Fix random lockup in BL
2021-03-22 19:09:47 -07:00
Michal Moskal
ae49371fc3
Script output formatting
2021-03-22 14:56:33 -07:00
Michal Moskal
4fe4020bf3
Fix regex
2021-03-22 14:54:45 -07:00
Michal Moskal
318656ad51
Normalize 'v' in tags
2021-03-22 14:53:10 -07:00
Michal Moskal
82a8ef19eb
Fix build order
2021-03-22 14:48:10 -07:00
Michal Moskal
e592ccb4af
Fix typo
2021-03-22 14:24:41 -07:00
Michal Moskal
c1fa36415d
Add release scripts
2021-03-22 14:18:59 -07:00
Michal Moskal
302b0a7ee7
Better version description
2021-03-22 12:54:16 -07:00
Michal Moskal
2577ffd6e9
Support PWM on PB_8 on G0
2021-03-19 20:08:10 -07:00
Michal Moskal
ef0b010321
Script for git submodule change log generation
2021-03-19 17:04:05 -07:00
Tom Ball
81fe818145
rename
2021-03-19 08:49:07 -07:00
Michal Moskal
399708910e
Add target for bootloader update
2021-03-18 17:46:37 -07:00
Michal Moskal
3d0715ee87
Cleaner module split in bl
2021-03-18 16:05:23 -07:00
Michał Moskal
ef9b3f9f34
Merge pull request #18 from microsoft/rgbled
...
support for RGB LED status
2021-03-18 20:42:41 +01:00
Michal Moskal
a0b7655247
Add G0 PA_6 bl pin
2021-03-18 12:35:43 -07:00
Michal Moskal
74f59bc418
BL uart fix
2021-03-18 11:10:41 -07:00
Michal Moskal
1105326d3e
Have BL answer to firmware_id register
2021-03-18 10:23:03 -07:00
Michal Moskal
092cd43f83
Cleanup
2021-03-17 17:35:03 -07:00
Michal Moskal
ea2e79c89a
Identify in BL is now led off, not on
2021-03-17 17:26:20 -07:00
Michal Moskal
9ce16230e4
wait 1s after programming bootloader
2021-03-17 17:26:06 -07:00
Michal Moskal
71038abb52
merge master
2021-03-17 11:40:20 -07:00
Michal Moskal
0db5cbb5ea
Don't use LL_GPIO_Init()
2021-03-17 11:39:37 -07:00
Michal Moskal
a8ba0f4c01
LED changes for bootloader
2021-03-17 11:39:12 -07:00
Michal Moskal
ac56d865f6
Fix align reqs for g0 flash
2021-03-16 09:05:25 -07:00
Michal Moskal
08c08cb785
fix typo
2021-03-15 21:09:11 -07:00
Michał Moskal
bf65d750c6
Merge pull request #17 from microsoft/low_power_bl
...
run bootloader without PLL (low power)
Main changes:
* uart_start_rx/tx -> uart_rx/tx - blocking
* uart is used to detect initial low pulse (break)
2021-03-16 05:08:33 +01:00
Michal Moskal
0941a5caa5
Fix timing problem; disable logging
2021-03-15 20:33:50 -07:00
Michal Moskal
b6b0f21d86
Use UART for low-line detection
2021-03-15 19:34:31 -07:00
Michal Moskal
9ac558c79c
Switching bootloader to 8MHz
2021-03-15 18:27:52 -07:00
Michal Moskal
cbae1082d7
Fix flash erase on g0
2021-03-15 17:12:03 -07:00
Michal Moskal
637c69f125
Set bootBlockSize to one page
2021-03-15 17:11:56 -07:00
Michal Moskal
9f40f03ee1
Store page size correctly in UF2
2021-03-15 14:06:19 -07:00
Michal Moskal
9d8285164b
Fix clock setting on f0 bl
2021-03-15 11:30:54 -07:00
Michal Moskal
4c1f5e3129
LED handling being moved to jd-c
2021-03-15 08:54:43 -07:00
Michal Moskal
dbc05f57d1
Allow a bit more flexibility in build
2021-03-13 21:37:42 -08:00
Michal Moskal
19307c4a72
Config defines for pins are sometimes used in services
2021-03-12 11:48:18 -08:00
Michal Moskal
d6b17169a5
Remove junk code
2021-03-09 10:07:58 -08:00
Michał Moskal
86de72c8dc
support for STM32G0 series ( #16 )
...
* add submodules and config for g0 port
* Rename FLASH_SIZE to JD_FLASH_SIZE (conflict with HAL)
* Fix a number of peripherals for G0
* Disable PLL switching on USART2 (also on F0)
* Fix RTC for G0
* UART and BL G0 fixes
* Disable namestore (unused) on G0
* Move device id to OTP
* Fix uart in bl
* Fix cpu_mhz init
* Real Time Clock has a Clock on G0!
* Fix temp reading on g0
* Fixup board init code
* Make it build on F0 again
* Adjust start delays
2021-03-09 18:50:43 +01:00
James Devine
48be0d64ef
add stm32f042 ( #15 )
...
* add stm32f042
* neaten up uart clock source code
* remove DMESG debug
* update adc code to use correct temperature calibration
* define TS_CAL2 for F042
* correct flash size
* enable USART2 clock in bootloader
* add ifdef guard around enabling usart2 clock
* also ifdef guard enabling usart1
* fix case of stm32f042x6.mk
2021-02-26 21:12:35 +01:00
Michal Moskal
b23bfb2dc4
Clarify
2021-02-18 10:06:06 -08:00
Michal Moskal
e5caa91356
addon/* support
2021-02-18 09:58:47 -08:00
Michal Moskal
bb67e8d037
Re-org includes
2021-02-18 09:40:43 -08:00
Michal Moskal
e3ce31742b
jacdac-msr-modules is now a template
2021-02-18 08:26:39 -08:00
Michal Moskal
a9d451d94b
Talk about DROP_TARGETS
2021-02-17 17:50:05 -08:00