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
Michal Moskal
a99bad9996
Update readme to match the new repo structure
2021-02-17 17:43:01 -08:00
Michal Moskal
3e07eeb3a8
Fix line endings
2021-02-17 17:26:20 -08:00
Michal Moskal
3470ee2642
Remove dist/ files (now in other repo)
2021-02-17 17:25:37 -08:00
Michał Moskal
897c42b44a
board definitions moved to a separate repo ( #14 )
...
moved to https://github.com/microsoft/jacdac-msr-modules
2021-02-18 02:21:04 +01:00
Tom Ball
7182d3c727
add git submodule instruction
2021-02-17 11:31:25 -08:00
semantic-release-bot
f405b0a884
chore(release): 0.9.0 [skip ci]
...
# [0.9.0](https://github.com/microsoft/jacdac-stm32x0/compare/v0.8.1...v0.9.0 ) (2021-02-17)
### Features
* major udaptes in env services; clicks per turn ([4d25762
](4d2576279b
))
2021-02-17 19:22:28 +00:00
Michal Moskal
4d2576279b
feat: major udaptes in env services; clicks per turn
2021-02-17 11:20:50 -08:00
Tom Ball
b1535ebd12
feat:clicks per turn
2021-02-17 10:47:42 -08:00
Michal Moskal
d9b08e8ed2
Cleanup
2021-02-17 10:42:23 -08:00
Tom Ball
8dbccc6827
add clicks_per_turn for rotary encoder ( #12 )
...
* add clicks_per_turn
* update github repo
* redo subrepo
* remove the old submodule
2021-02-17 00:41:42 -08:00
Tom Ball
4d7d172fe4
remove the submodule link
2021-02-17 00:34:53 -08:00
Tom Ball
b1c6da04f7
update to master
2021-02-16 22:42:00 -08:00
Michal Moskal
af9ef4bf2e
min/max/error for env sensors
2021-02-16 19:02:18 -08:00
Michal Moskal
b26ea1b33a
Add SHTC board
2021-02-16 15:13:33 -08:00
Michal Moskal
44f486820e
more error codes in i2c
2021-02-16 15:13:25 -08:00
Michal Moskal
63e71ef2cf
Fix read i2c bug
2021-02-16 12:14:45 -08:00
Michal Moskal
419fba111d
Add 16-bit register address support in i2c
2021-02-16 10:58:16 -08:00
Michal Moskal
a75f79b9a1
Allow for modyfing servo pulse config
2021-02-12 11:26:15 -08:00